feat(models): declare provider APIs and simplify preset configuration
This commit is contained in:
1 parent
592f0559a9
commit
994ce51502
26 files changed
+444
-123
No files matched your search
@@ -717,6 +717,10 @@ export interface SettingsPayload {
|
||||
model_selectable?: boolean;
|
||||
model_catalog?: ProviderModelsPayload["catalog_kind"];
|
||||
model_api_configurable?: boolean;
|
||||
/** Request formats implemented by the host's provider adapter. */
|
||||
request_apis?: Array<
|
||||
"chat_completions" | "responses" | "anthropic_messages" | "bedrock_converse" | "transcription"
|
||||
>;
|
||||
api_type?: "auto" | "chat_completions" | "responses";
|
||||
oauth_account?: string | null;
|
||||
oauth_expires_at?: number | null;
|
||||
|
||||
Reference in new issue
Block a user