Config: align model compat thinking format types
This commit is contained in:
parent
238c036b0d
commit
b9e08a6839
@ -22,13 +22,17 @@ type SupportedOpenAICompatFields = Pick<
|
||||
| "supportsUsageInStreaming"
|
||||
| "supportsStrictMode"
|
||||
| "maxTokensField"
|
||||
| "thinkingFormat"
|
||||
| "requiresToolResultName"
|
||||
| "requiresAssistantAfterToolResult"
|
||||
| "requiresThinkingAsText"
|
||||
>;
|
||||
|
||||
type SupportedThinkingFormat =
|
||||
| NonNullable<OpenAICompletionsCompat["thinkingFormat"]>
|
||||
| "qwen-chat-template";
|
||||
|
||||
export type ModelCompatConfig = SupportedOpenAICompatFields & {
|
||||
thinkingFormat?: SupportedThinkingFormat;
|
||||
supportsTools?: boolean;
|
||||
toolSchemaProfile?: "xai";
|
||||
nativeWebSearchTool?: boolean;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user