mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 05:00:16 +00:00
feat(ai): add xhigh thinking level support for gpt-5.3 models
This commit is contained in:
parent
c4726e7c05
commit
b07b72ba2b
2 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ export interface AgentLoopConfig extends SimpleStreamOptions {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Thinking/reasoning level for models that support it.
|
* Thinking/reasoning level for models that support it.
|
||||||
* Note: "xhigh" is only supported by OpenAI gpt-5.1-codex-max, gpt-5.2, and gpt-5.2-codex models.
|
* Note: "xhigh" is only supported by OpenAI gpt-5.1-codex-max, gpt-5.2, gpt-5.2-codex, gpt-5.3, and gpt-5.3-codex models.
|
||||||
*/
|
*/
|
||||||
export type ThinkingLevel = "off" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
export type ThinkingLevel = "off" | "minimal" | "low" | "medium" | "high" | "xhigh";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ export function calculateCost<TApi extends Api>(model: Model<TApi>, usage: Usage
|
||||||
* Currently only certain OpenAI Codex models support this.
|
* Currently only certain OpenAI Codex models support this.
|
||||||
*/
|
*/
|
||||||
export function supportsXhigh<TApi extends Api>(model: Model<TApi>): boolean {
|
export function supportsXhigh<TApi extends Api>(model: Model<TApi>): boolean {
|
||||||
return model.id.includes("gpt-5.2");
|
return model.id.includes("gpt-5.2") || model.id.includes("gpt-5.3");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue