Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
docs(agent-inspector): sync thinking_level comments with no-override semantics (MUL-2339) (#2923)
Bohan Jiangffc0c5ab2e18
diff --git a/packages/core/types/agent.ts b/packages/core/types/agent.tsindex b441590d26..ee1a6c830c 100644--- a/packages/core/types/agent.ts+++ b/packages/core/types/agent.ts@@ -267,7 +267,8 @@ export interface UpdateAgentRequest {/*** Runtime-native reasoning/effort token. Tri-state semantics (MUL-2339):* - field omitted → no change- * - "" → explicit clear (use runtime default)+ * - "" → clear the override; backend omits the effort flag and the+ * local CLI config / built-in default decides what the model runs at* - non-empty → set; validated server-side against the target* runtime's provider enum, rejected with 400 if not recognised*/diff --git a/packages/views/agents/components/inspector/thinking-picker.tsx b/packages/views/agents/components/inspector/thinking-picker.tsxindex 3f127be9fd..ecde79f1df 100644--- a/packages/views/agents/components/inspector/thinking-picker.tsx+++ b/packages/views/agents/components/inspector/thinking-picker.tsx@@ -31,8 +31,10 @@ export function ThinkingPicker({}: {/** Persisted thinking_level — "" means "follow local CLI config". */value: string;- /** Supported levels for the current (runtime, model) pair. Caller has- * already verified the list is non-empty before mounting this picker. */+ /** Supported levels for the current (runtime, model) pair. Usually+ * non-empty when the row is shown, but the stale-orphan clear path+ * in ThinkingPropRow mounts the picker with an empty list plus a+ * persisted value so the user can see and clear the dangling token. */levels: RuntimeModelThinkingLevel[];/** When false, render a static read-only display and skip the popover. */canEdit?: boolean;