feat(agent): extend Codex reasoning effort options to include 'max' and 'ultra', and update related logging and UI components

This commit is contained in:
HouYunFei
2026-07-31 11:12:03 +08:00
parent 9330bdb318
commit 576f7485bf
6 changed files with 52 additions and 57 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ export type AgentChatItem = { id: string; role: AgentChatRole; title?: string; t
export type AgentEventLog = { id: string; time: string; title: string; text: string; raw?: unknown };
export type AgentPendingToolCall = { requestId: string; name: string; input?: { ops?: CanvasAgentOp[]; path?: string } & Record<string, unknown> };
export type AgentPermissionMode = "request" | "automatic" | "full";
export type AgentReasoningEffort = "minimal" | "low" | "medium" | "high" | "xhigh";
export type AgentReasoningEffort = "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | "ultra";
export type AgentModel = {
id: string;
model: string;