feat: discover models from live provider catalogs (#112412)

* feat: discover models from live provider catalogs

* fix(provider-catalog): satisfy current catalog contracts

* fix(deps): update fast-uri past new advisory

* fix(deps): refresh fast-uri shrinkwraps

* fix(openrouter): satisfy provider catalog lint

* fix(agents): preserve refreshable catalog metadata

* test(agents): keep catalog fallback proof within lint budget

* fix(provider-catalog): honor live model contracts

* fix(minimax): type discovery headers explicitly

* docs(plugin-sdk): define live model discovery contract
This commit is contained in:
Jason (Json)
2026-07-21 19:29:57 -06:00
committed by GitHub
parent 0f066eec81
commit 55cf9523e0
88 changed files with 2031 additions and 144 deletions
+1
View File
@@ -39,6 +39,7 @@ export default defineSingleProviderPluginEntry({
catalog: {
buildProvider: buildMetaProvider,
buildStaticProvider: buildMetaProvider,
liveModelDiscovery: true,
},
...buildProviderReplayFamilyHooks({ family: "openai-compatible" }),
wrapStreamFn: wrapMetaProviderStream,
+1 -1
View File
@@ -61,7 +61,7 @@
}
},
"discovery": {
"meta": "static"
"meta": "refreshable"
}
},
"setup": {