@@ -630,6 +630,15 @@ export type ModelCompatibility = {
630630 supportsEffortUpdates ?: boolean
631631}
632632
633+ export type ProviderCompatibility = {
634+ reasoningField ?: ModelReasoningField
635+ requireReasoning ?: boolean
636+ maxTokensField ?: ModelMaxTokensField
637+ requireFinishReason ?: boolean
638+ requireAssistantAfterTool ?: boolean
639+ supportsPromptCacheKey ?: boolean
640+ }
641+
633642export type ModelCost = {
634643 tier ?: { type : "context" ; size : number }
635644 input : MoneyUSDPerMillionTokens
@@ -887,18 +896,6 @@ export type ProviderRequest = {
887896 body : { [ x : string ] : any }
888897}
889898
890- export type ProviderInfo = {
891- id : ProviderID
892- canonical ?: ProviderID
893- integrationID ?: IntegrationID
894- name : string
895- activation : "auto" | "enabled" | "disabled"
896- package : string
897- settings ?: ProviderSettings
898- headers ?: { [ x : string ] : string }
899- body ?: { [ x : string ] : any }
900- }
901-
902899export type PermissionRuleset = Array < PermissionRule >
903900
904901export type SessionMessageUser = {
@@ -1912,6 +1909,19 @@ export type CredentialKey = {
19121909 configuration ?: FormAnswer
19131910}
19141911
1912+ export type ProviderInfo = {
1913+ id : ProviderID
1914+ canonical ?: ProviderID
1915+ integrationID ?: IntegrationID
1916+ name : string
1917+ activation : "auto" | "enabled" | "disabled"
1918+ package : string
1919+ compatibility ?: ProviderCompatibility
1920+ settings ?: ProviderSettings
1921+ headers ?: { [ x : string ] : string }
1922+ body ?: { [ x : string ] : any }
1923+ }
1924+
19151925export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo
19161926
19171927export type PtyCreated = {
@@ -2241,6 +2251,7 @@ export type ConfigEntry =
22412251 name ?: string
22422252 env ?: Array < string >
22432253 package ?: string
2254+ compatibility ?: ProviderCompatibility
22442255 settings ?: ConfigProviderSettings
22452256 headers ?: { [ x : string ] : string }
22462257 body ?: { [ x : string ] : JsonValue }
0 commit comments