The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 13:15 UTC
fix(web): Antigravity effort no longer shows a speedometer in the composer (#26929)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Theo Browne committed
Oct 29, 2026 at 05:08 UTC
4453f537ffb662f03a64ed63d62d9ecc8d86921c
4 files changed
+25
-4
apps/mobile/src/features/threads/threadAgentsPresentation.ts
+2
-3
@@ -8,6 +8,7 @@ import {
8
type RuntimeSubagent,
9
type SubagentWorkflowGroup,
10
} from "@t3tools/client-runtime/state/subagentRuntime";
11
+import { REASONING_EFFORT_OPTION_IDS } from "@t3tools/client-runtime/state/thread-execution";
12
import type {
13
EnvironmentId,
14
OrchestrationV2Subagent,
@@ -166,8 +167,6 @@ export function nextWorkflowSelection(
167
);
168
}
169
169
-const EFFORT_OPTION_IDS = new Set(["reasoningEffort", "effort", "reasoning", "variant"]);
170
-
170
function capitalize(value: string): string {
171
return value.charAt(0).toUpperCase() + value.slice(1);
172
}
@@ -185,7 +184,7 @@ export function workflowMemberMetadata(
184
const effortChoice = provider?.models
185
.find((candidate) => candidate.slug === slug)
186
?.capabilities?.optionDescriptors?.flatMap((descriptor) =>
188
- descriptor.type === "select" && EFFORT_OPTION_IDS.has(descriptor.id)
187
+ descriptor.type === "select" && REASONING_EFFORT_OPTION_IDS.includes(descriptor.id)
188
? descriptor.options
189
: [],
190
)
apps/web/src/components/chat/TraitsPicker.tsx
+13
-1
@@ -616,9 +616,12 @@ export const TraitsPicker = memo(function TraitsPicker({
616
)
617
: null;
618
// Workflow levels such as Ultracode always show their name; the setting names every level.
619
+ // Traits the bars cannot show, such as an agent mode, appear as words in the composer.
620
const effortWord = effortGlyph
621
? (effortGlyph.special ?? (effortDisplay === "label" ? effortGlyph.label : null))
621
- : null;
622
+ : isComposerOwned
623
+ ? triggerLabel
624
+ : null;
625
626
return (
627
<Menu
@@ -697,6 +700,15 @@ export const TraitsPicker = memo(function TraitsPicker({
700
</span>
701
) : null}
702
</span>
703
+ ) : effortWord !== null ? (
704
+ <>
705
+ <span data-composer-control-label>{effortWord}</span>
706
+ <GaugeIcon
707
+ aria-hidden="true"
708
+ data-composer-control-compact-icon
709
+ className="invisible absolute size-3.5"
710
+ />
711
+ </>
712
) : isCodexStyle ? (
713
<span
714
className={cn(
apps/web/src/components/chat/composerProviderState.test.tsx
+9
@@ -315,6 +315,15 @@ describe("getComposerReasoningStep", () => {
315
}
316
});
317
318
+ it("steps Antigravity's thinking_level like other effort controls", () => {
319
+ expect(
320
+ step({
321
+ provider: ProviderDriverKind.make("antigravity"),
322
+ models: modelWith([selectDescriptor("thinking_level", LEVELS)]),
323
+ })?.modelOptions,
324
+ ).toStrictEqual(selections(["thinking_level", "high"]));
325
+ });
326
+
327
it("adds and strips the Ultrathink prefix while the caret stays on the same character", () => {
328
for (const { prompt, modelOptions, direction, expected } of [
329
{
packages/client-runtime/src/state/threadExecution.ts
+1
@@ -151,6 +151,7 @@ export const REASONING_EFFORT_OPTION_IDS: ReadonlyArray<string> = [
151
"reasoning",
152
"variant",
153
"reasoning_effort",
154
+ "thinking_level",
155
];
156
157
export function formatModelSelectionEffort(