Uh oh!
There was an error while loading. Please reload this page.
chore: sync model metadata - #1158
Merged
Merged
Conversation
AlemTuzlak
approved these changes
Aug 20, 2026
Uh oh!
There was an error while loading. Please reload this page.
tombeckenham added a commit
that referenced
this pull request
Aug 20, 2026
…ELS from the catalog The model sync (#1158) dropped the hand-maintained set. Instead of restoring it by hand, derive it in convert-openrouter-models.ts from each chat model's supported_parameters (structured_outputs + tools + tool_choice), so every sync regenerates it and nothing is curated. Closes#1163
tombeckenham added a commit
that referenced
this pull request
Aug 20, 2026
…ELS from the catalog The model sync (#1158) dropped the hand-maintained set from the generated model-meta.ts. Derive it in convert-openrouter-models.ts from each chat model's supported_parameters (structured_outputs + tools + tool_choice) so every sync regenerates it and nothing is curated. Also stamp model-meta.ts with an AUTO-GENERATED banner. Closes#1163
AlemTuzlak added a commit
to kolaworld/ai
that referenced
this pull request
Aug 20, 2026
The model-sync script overwrites model-meta.ts and deleted OPENROUTER_COMBINED_TOOLS_AND_SCHEMA_MODELS (TanStack#1158). Move the handmade set to its own file and re-export it from the generated file.
tombeckenham added a commit
that referenced
this pull request
Aug 20, 2026
… the catalog (#1164) fix(ai-openrouter): generate OPENROUTER_COMBINED_TOOLS_AND_SCHEMA_MODELS from the catalog The model sync (#1158) dropped the hand-maintained set from the generated model-meta.ts. Derive it in convert-openrouter-models.ts from each chat model's supported_parameters (structured_outputs + tools + tool_choice) so every sync regenerates it and nothing is curated. Also stamp model-meta.ts with an AUTO-GENERATED banner. Closes#1163
Merged
AlemTuzlak added a commit
that referenced
this pull request
Aug 20, 2026
* fix(ai): persist structured output in message history Closes#1072 * docs: document structured output lifecycle Refs #1072 * fix(ai): preserve middleware transcript additions Append terminal assistant messages to the middleware-visible transcript so chunk observers do not lose messages they recorded before persistence runs.\n\nRefs #1072 * fix(ai-persistence): persist harness structured output Keep event-source prose and structured-output as two messages. Add tests for that path. Drop structured-output parts whose raw is not a string. Document reload hydration and harness persistence. * fix(ai): keep same-id harness structured output on one message Codex, OpenCode, ACP, and grok-build reuse the last text messageId. Split the transcript only when the complete event uses a new id. Read that id from complete when start omits it. * ci: apply automated fixes * docs: isolate harness persistence snippet for kiira Kiira concatenates snippets that share a group. The persist example now uses its own group so it does not clash with the existing POST handler. * fix(ai-openrouter): keep combined-models export off the generated file The model-sync script overwrites model-meta.ts and deleted OPENROUTER_COMBINED_TOOLS_AND_SCHEMA_MODELS (#1158). Move the handmade set to its own file and re-export it from the generated file. --------- Co-authored-by: Alem Tuzlak <t.zlak@hotmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated daily sync of model metadata from OpenRouter and Vercel AI Gateway.
GET /api/v1/videos/models)