Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(claude): say when Claude Code runs a Fast request at standard speed #30108

ClosedECuteri(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromrefs/pull/30108/headopened View on GitHub

Showing 5 changed files with 182 additions and 0 deletions (loading 4).

x
0 of 5 viewed, 5 left
182 additions and 0 deletionsapps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.tsModified
View file
@@ -8416,6 +8416,188 @@
+ it.effect("tells the user once when Claude Code runs a Fast turn at standard speed", () =>
+ Effect.gen(function* () {
+ const harness = yield* makeWakeHarness;
+ const now = yield* DateTime.now;
+ const notices = () =>
+ harness.events.flatMap((event) =>
+ event.type === "turn_item.updated" && event.turnItem.type === "system_notice"
+ ? [event.turnItem.message]
+ : [],
+ );
+ const runTurn = (ordinal: number, fastMode: boolean) =>
+ Effect.gen(function* () {
+ yield* harness.runtime.startTurn(
+ makeClaudeTestTurnInput({
+ threadId: harness.threadId,
+ providerThread: harness.providerThread,
+ now,
+ attemptId: RunAttemptId.make(`claude-fast-mode-off-attempt:${ordinal}`),
+ text: `Request ${ordinal}`,
+ attachments: [],
+ providerTurnOrdinal: ordinal,
+ modelSelection: {
+ instanceId: ClaudeAdapterV2.CLAUDE_DEFAULT_INSTANCE_ID,
+ model: "claude-opus-5-5",
+ options: [{ id: "fastMode", value: fastMode }],
+ },