fix(providers): honor dynamic_models: false in declarative provider configs (#8795)
Signed-off-by: Douwe Osinga <douwe@squareup.com> Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
@@ -4582,6 +4582,7 @@
|
||||
},
|
||||
"dynamic_models": {
|
||||
"type": "boolean",
|
||||
"description": "Controls whether `fetch_supported_models` calls the provider's `/v1/models`\nendpoint or returns the static `models` list directly.\n\n- `Some(false)` + non-empty `models`: return the static list; no API call.\nConstruction fails if `models` is empty.\n- `Some(true)` or `None`: try the API; fall back to `models` on 404.",
|
||||
"nullable": true
|
||||
},
|
||||
"engine": {
|
||||
|
||||
Reference in New Issue
Block a user