refactor(config)!: retire the old OpenAI API selector (#6615)
Co-authored-by: chengyongru <chengyongru.ai@gmail.com>
This commit is contained in:
1 parent
e3a1af2ed3
commit
5c1083df7f
14 files changed
+112
-141
No files matched your search
+1
-1
@@ -74,7 +74,7 @@ Replace `OpenAICompatProvider(api_type=...)` with `OpenAICompatProvider(model_ap
|
||||
ModelAPICapabilities(supported_apis=("responses",), preferred_api="responses")
|
||||
```
|
||||
|
||||
API types and automatic selection rules are defined in `nanobot.providers.model_api`. The registry owns `ProviderSpec`, model metadata, and provider declarations; it also re-exports the API types. The temporary `apiType` configuration migration applies to JSON configuration and Settings inputs; it does not preserve the old Python constructor arguments.
|
||||
API types and automatic selection rules are defined in `nanobot.providers.model_api`. The registry owns `ProviderSpec`, model metadata, and provider declarations; it also re-exports the API types. JSON configuration and Settings inputs use the `api` object; the old `apiType` field no longer selects a request API.
|
||||
|
||||
## Adding a Transcription Provider
|
||||
|
||||
|
||||
Reference in new issue
Block a user