Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
307683d
fix(server): proxied usage limits keep a safe reset time
Bil0000 Nov 6, 2026
0c94651
fix(web): a direct login's failed reading no longer shows an unrelate…
Bil0000 Nov 6, 2026
a4073d1
fix(server): an empty Codex TZ reads reset times as UTC
Bil0000 Nov 6, 2026
ef61c02
fix(server): hub limits follow the accounts that serve the thread's m…
Bil0000 Nov 7, 2026
8b2304f
fix(web): the hub pool card keeps workspaces apart and shows every ro…
Bil0000 Nov 7, 2026
18f8c43
fix(shared): hub routing counts accounts with unread model lists and …
Bil0000 Nov 7, 2026
8a76c9a
fix(shared): only a custom-endpoint instance follows the hub's model …
Bil0000 Nov 7, 2026
e225159
fix(server): a hub reset follows the failing run's model, not a later…
Bil0000 Nov 7, 2026
f60fc3c
fix(web): the thread usage card shows the hub account that served the…
Bil0000 Nov 7, 2026
d18bde0
fix(server): a hub account with no routed models serves none
Bil0000 Nov 7, 2026
c09e21d
Merge remote-tracking branch 'origin/main' into t3/fix-account-limits…
Bil0000 Nov 7, 2026
8ad336b
docs: drop the hub account note from usage limits
Bil0000 Nov 7, 2026
886fa33
Merge remote-tracking branch 'origin/main' into t3/fix-account-limits…
Bil0000 Nov 7, 2026
11659f4
Merge remote-tracking branch 'github/main' into t3/fix-account-limits…
maria-rcks Nov 10, 2026
f16f5d7
Merge origin/main into t3/fix-account-limits-workspace-cards
juliusmarminge Nov 11, 2026
4c07d99
test(web): drop thread usage cases covered elsewhere
juliusmarminge Nov 11, 2026
15d591b
fix(server): a Codex custom model provider follows the hub's model ro…
juliusmarminge Nov 11, 2026
15f7ca6
Merge origin/main into t3/fix-account-limits-workspace-cards
Bil0000 Nov 12, 2026
6f72d9c
fix(server): a hub's limits apply only to instances sent to its address
Bil0000 Nov 12, 2026
efb91aa
fix(server): hub routing and resets ignore quota that cannot serve th…
Bil0000 Nov 12, 2026
df19659
Merge remote-tracking branch 'origin/main' into rv/30778
Bil0000 Nov 13, 2026
c909f45
fix(server): Codex custom providers keep their reported auth type
Bil0000 Nov 13, 2026
2a228db
fix(server): hub limits show the routed pool, not a guessed last-serv…
Bil0000 Nov 13, 2026
f37fb7d
fix(server): usage-limit failures read the hub's last reading instead…
Bil0000 Nov 13, 2026
2ffd864
test: keep only the regression cases for proxied usage limits
Bil0000 Nov 13, 2026
84e1e4c
fix(shared): a hub account with no models stays out of an alias's fal…
Bil0000 Nov 13, 2026
d8e5ec8
wip: replay recorders and codex usage_limit recording
Bil0000 Nov 17, 2026
649516e
Merge origin/main into t3/fix-account-limits-workspace-cards
Bil0000 Nov 17, 2026
f843f15
test(server): replay a real usage-limited Claude turn through a CLIPr…
Bil0000 Nov 17, 2026
7af159f
Merge remote-tracking branch 'origin/main' into t3/fix-account-limits…
juliusmarminge Nov 21, 2026
f29130d
fix(web): localize the hub pool rows on the thread card
juliusmarminge Nov 21, 2026
3bf538f
fix: hub card splits Antigravity quotas, direct logins keep hub accou…
juliusmarminge Nov 21, 2026
76b8727
fix: hub routing follows thinking suffixes and model prefixes, lent r…
juliusmarminge Nov 21, 2026
93562f2
fix: hub reset credits stay on the thread's hub, slow model lookups d…
juliusmarminge Nov 21, 2026
2973c1d
fix(server): hub model lookups don't take quota read slots, unread mo…
juliusmarminge Nov 21, 2026
ab2f5a6
fix: Antigravity Argon and Carbon quotas only block their own models
juliusmarminge Nov 21, 2026
3491e39
fix(shared): an own-driver hub account with an unread model list keep…
juliusmarminge Nov 21, 2026
e8eea76
test(server): hub routing rows list the models their other accounts s…
juliusmarminge Nov 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/mobile/src/features/threads/ThreadComposer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ export const ThreadComposer = function ThreadComposer(props: ThreadComposerProps
props.serverConfig?.providers ?? [],
props.serverConfig?.usageLimitSources ?? [],
Date.now(),
currentModelSelection.model,
);
onShowUsageLimits(report);
if (!report) {
Expand Down
1 change: 1 addition & 0 deletions apps/mobile/src/features/threads/ThreadDetailScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,7 @@ function ThreadDetailBody(
props.serverConfig?.providers ?? [],
props.serverConfig?.usageLimitSources ?? [],
usageLimitsPanel.now,
props.selectedThread.modelSelection.model,
)
: null;
const showUsageLimits = (report: UsageLimitsReport | null) =>
Expand Down
7 changes: 7 additions & 0 deletions apps/server/scripts/record-claude-agent-sdk-replay-fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ const CLAUDE_RECORDINGS = {
queryMode: "streaming",
enableTools: true,
},
// Record with ANTHROPIC_BASE_URL at a CLIProxyAPI hub whose upstream accounts answer 429.
usage_limit: {
prompts: [SIMPLE_PROMPT],
defaultTranscriptFile: "fixtures/usage_limit/claude_transcript.ndjson",
queryMode: "streaming",
enableTools: true,
},
multi_turn: {
prompts: [MULTI_TURN_FIRST_PROMPT, MULTI_TURN_SECOND_PROMPT],
defaultTranscriptFile: "fixtures/multi_turn/claude_transcript.ndjson",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@ import {
MessageId,
ProviderDriverKind,
type ProviderReplayEntry,
type ServerProvider,
UsageLimitSourceId,
type UsageLimitSourceSnapshot,
} from "@t3tools/contracts";
import * as Effect from "effect/Effect";
import * as Layer from "effect/Layer";

import { ClaudeOrchestratorReplayHarness } from "../Adapters/ClaudeAdapterV2.testkit.ts";
import * as IdAllocator from "@t3tools/provider-core/server/IdAllocator";
import * as Orchestrator from "../Orchestrator.ts";
import { userFacingDispatchErrorMessage } from "../UserFacingErrors.ts";
import * as UsageLimitSources from "../../usage/UsageLimitSources.ts";
import { claudeUsageLimitFailure } from "./fixtures/usage_limit/claude_output.ts";
import { provideDeterministicTestRuntime } from "./DeterministicRuntime.ts";
import { subagentInput } from "./fixtures/subagent/input.ts";
import { runOrchestratorV2Scenario } from "./OrchestratorScenario.ts";
Expand Down Expand Up @@ -122,6 +128,77 @@ describe("Claude Agent SDK replay fixtures", () => {
}),
);

it.effect("takes the reset of the hub accounts that serve the model the hub refused", () =>
Effect.gen(function* () {
const fixture = findReplayFixture("usage_limit")!;
const driver = fixture.providers[0]!;
const endpoint = "http://127.0.0.1:18319";
const account = (id: string, model: string, usedPercent: number, resetsAt: string) => ({
id,
driver: ProviderDriverKind.make("claudeAgent"),
models: [model],
usageLimits: {
checkedAt: resetsAt,
windows: [
{ id: "five_hour", kind: "session" as const, label: "Session", usedPercent, resetsAt },
],
},
});
const hub = (id: string, origin: string, accounts: ReadonlyArray<object>) =>
({
id: UsageLimitSourceId.make(id),
kind: "cliproxy",
label: id,
origin,
checkedAt: "",
accounts,
}) as UsageLimitSourceSnapshot;
yield* runReplayFixture({
fixtureName: fixture.name,
buildInput: fixture.buildInput,
driver: {
...driver,
assertOutput: (result, transcript) =>
assert.equal(
claudeUsageLimitFailure(result, transcript).resetAt,
"2033-05-19T07:20:00.000Z",
),
},
harness: ClaudeOrchestratorReplayHarness,
providerInstances: {
getInstance: () =>
Effect.succeed({
snapshot: {
getSnapshot: Effect.succeed({
auth: { status: "unknown", type: "customEndpoint", endpoint },
} as ServerProvider),
},
} as never),
},
}).pipe(
Effect.provide(
UsageLimitSources.layerResetFallback.pipe(
Layer.provide(
Layer.mock(UsageLimitSources.UsageLimitSources)({
current: Effect.succeed([
hub("home", endpoint, [
account("sonnet", driver.modelSelection.model, 100, "2033-05-19T07:20:00.000Z"),
// regression: #30778 an account the hub does not route the model to has no say
account("opus", "claude-opus-4-8", 10, "2033-05-19T05:00:00.000Z"),
]),
hub("elsewhere", "http://127.0.0.1:9999", [
account("other", driver.modelSelection.model, 100, "2033-05-18T00:00:00.000Z"),
]),
]),
refresh: Effect.void,
}),
),
),
),
);
}),
);

const afterRootFixture = findReplayFixture("claude_background_subagent_after_root");
const afterRootProvider = afterRootFixture?.providers[0];
if (afterRootFixture !== undefined && afterRootProvider !== undefined) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import * as Path from "effect/Path";
import * as IdAllocator from "@t3tools/provider-core/server/IdAllocator";
import { checkpointWorkspace } from "@t3tools/provider-testing/replayWorkspace";
import { readProviderReplayTranscript } from "@t3tools/provider-testing/replayTranscript";
import type { ProviderInstanceRegistry } from "../../provider/ProviderInstanceRegistry.ts";
import { provideDeterministicTestRuntime } from "./DeterministicRuntime.ts";
import { ORCHESTRATOR_REPLAY_FIXTURES } from "./fixtures/index.ts";
import {
Expand Down Expand Up @@ -94,6 +95,8 @@ export interface ReplayFixtureCase {
readonly buildInput: () => OrchestratorFixtureInput;
readonly driver: ProviderOrchestratorReplayVariant;
readonly transformTranscript?: (transcript: ProviderReplayTranscript) => ProviderReplayTranscript;
/** The instances the ingestor reads snapshots from, such as an endpoint behind a hub. */
readonly providerInstances?: Partial<ProviderInstanceRegistry["Service"]>;
}

export interface ReplayFixtureRun<
Expand Down Expand Up @@ -145,11 +148,12 @@ const runFixtureProvider = Effect.fn("runOrchestratorReplayFixture")(function* <
},
};

const result = yield* runOrchestratorV2ProviderReplayScenario(
scenario,
input.harness,
input.driver.runContinuationWorker === true ? { runContinuationWorker: true } : {},
).pipe(provideDeterministicTestRuntime);
const result = yield* runOrchestratorV2ProviderReplayScenario(scenario, input.harness, {
...(input.driver.runContinuationWorker === true ? { runContinuationWorker: true } : {}),
...(input.providerInstances === undefined
? {}
: { providerInstances: input.providerInstances }),
}).pipe(provideDeterministicTestRuntime);
input.driver.assertOutput(result, transcript);
assertProviderNativeSubagentRootTurns(result);
const expectedAbsentWorkspacePaths = input.driver.expectedAbsentWorkspacePaths;
Expand Down
16 changes: 13 additions & 3 deletions apps/server/src/orchestration-v2/testkit/ProviderReplayHarness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ export function runOrchestratorV2ProviderReplayScenario<
readonly recoverOnStartup?: boolean;
readonly continueThreadsAfterServerUpdate?: boolean;
readonly managedPolicy?: ManagedPolicyDocument;
readonly providerInstances?: Partial<
ProviderInstanceRegistry.ProviderInstanceRegistry["Service"]
>;
} = {},
): Effect.Effect<
OrchestratorV2ScenarioResult,
Expand Down Expand Up @@ -252,6 +255,9 @@ export function layerProviderReplay<Transcript extends ProviderReplayTranscript,
readonly continueThreadsAfterServerUpdate?: boolean;
readonly managedPolicy?: ManagedPolicyDocument;
readonly replayGate?: ProviderReplayGate;
readonly providerInstances?: Partial<
ProviderInstanceRegistry.ProviderInstanceRegistry["Service"]
>;
} = {},
): Layer.Layer<
| Orchestrator.OrchestratorV2
Expand Down Expand Up @@ -289,6 +295,10 @@ export function layerWithRegistry<Error>(
store: ProjectionStore.ProjectionStoreV2Shape,
) => ProjectionStore.ProjectionStoreV2Shape;
readonly managedPolicy?: ManagedPolicyDocument;
/** The instances the ingestor reads snapshots from, such as an endpoint behind a hub. */
readonly providerInstances?: Partial<
ProviderInstanceRegistry.ProviderInstanceRegistry["Service"]
>;
} = {},
): Layer.Layer<
| Orchestrator.OrchestratorV2
Expand Down Expand Up @@ -361,9 +371,9 @@ export function layerWithRegistry<Error>(
const layerProviderEventIngestorProvided = ProviderEventIngestor.layer.pipe(
Layer.provide(
Layer.mergeAll(
Layer.mock(ProviderInstanceRegistry.ProviderInstanceRegistry)({
getInstance: () => Effect.undefined,
}),
Layer.mock(ProviderInstanceRegistry.ProviderInstanceRegistry)(
options.providerInstances ?? { getInstance: () => Effect.undefined },
),
layerStores,
layerEventSinkProvided,
IdAllocator.layer,
Expand Down
13 changes: 13 additions & 0 deletions apps/server/src/orchestration-v2/testkit/fixtures/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import { claudeMcpToolPresentationInput } from "./claude_mcp_tool_presentation/i
import { assertClaudeMcpToolPresentationOutput } from "./claude_mcp_tool_presentation/output.ts";
import { claudeResultIsErrorInput } from "./claude_result_is_error/input.ts";
import { assertClaudeResultIsErrorOutput } from "./claude_result_is_error/output.ts";
import { assertClaudeUsageLimitOutput } from "./usage_limit/claude_output.ts";
import { grokAutoBlockedCommandInput } from "./grok_auto_blocked_command/input.ts";
import { kiroCompactionInput } from "./kiro_compaction/input.ts";
import { kiroForkFromTurnInput } from "./kiro_fork_from_turn/input.ts";
Expand Down Expand Up @@ -513,6 +514,18 @@ export const ORCHESTRATOR_REPLAY_FIXTURES: ReadonlyArray<OrchestratorReplayFixtu
},
],
},
{
name: "usage_limit",
buildInput: simpleInput,
providers: [
{
driver: ProviderDriverKind.make("claudeAgent"),
transcriptFile: new URL("./usage_limit/claude_transcript.ndjson", import.meta.url),
modelSelection: CLAUDE_MODEL_SELECTION,
assertOutput: assertClaudeUsageLimitOutput,
},
],
},
{
name: "claude_result_is_error",
buildInput: claudeResultIsErrorInput,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { assert } from "@effect/vitest";
import type { ProviderReplayTranscript } from "@t3tools/contracts";

import type { OrchestratorV2ScenarioResult } from "../../OrchestratorScenario.ts";
import { assertBaseProjection, projectionFor } from "../shared.ts";

/** The usage-limit failure Claude reports through a CLIProxyAPI hub with every account spent. */
export function claudeUsageLimitFailure(
result: OrchestratorV2ScenarioResult,
transcript: ProviderReplayTranscript,
) {
assertBaseProjection({ result, transcript, runCount: 1, runStatuses: ["failed"] });
const error = projectionFor(result, transcript.scenario).turnItems.find(
(item) => item.type === "error",
);
if (error?.type !== "error") throw new Error("expected an error turn item");
assert.equal(error.failure.class, "usage_limit");
assert.equal(error.failure.code, "api_error_429");
return error.failure;
}

export function assertClaudeUsageLimitOutput(
result: OrchestratorV2ScenarioResult,
transcript: ProviderReplayTranscript,
) {
// The hub drops the upstream rate-limit headers, so the CLI reports no reset time.
assert.isNull(claudeUsageLimitFailure(result, transcript).resetAt);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{"type":"transcript_start","provider":"claudeAgent","protocol":"claude-agent-sdk.query","version":"0.2.111","scenario":"usage_limit","metadata":{"prompts":["Respond with the following text: fixture simple ok"],"model":"claude-sonnet-4-6","nativeSessionId":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","queryMode":"streaming","tools":"claude_code","permissionMode":"bypassPermissions","generatedBy":"recordClaudeAgentSdkReplayTranscript","recordedThrough":"CLIProxyAPI 7.2.130 at ANTHROPIC_BASE_URL with ANTHROPIC_AUTH_TOKEN; its one Claude API key upstream answered 429 rate_limit_error with anthropic-ratelimit-unified-reset, which the hub does not forward. Claude Code 2.1.326."}}
{"type":"expect_outbound","label":"query.open","frame":{"type":"query.open","options":{"model":"claude-sonnet-4-6","tools":{"type":"preset","preset":"claude_code"},"permissionMode":"bypassPermissions","settings":{"showThinkingSummaries":true},"allowDangerouslySkipPermissions":true,"sessionId":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117"}}}
{"type":"expect_outbound","label":"prompt.offer:1","frame":{"type":"prompt.offer","message":{"type":"user","message":{"role":"user","content":"Respond with the following text: fixture simple ok"},"parent_tool_use_id":null,"uuid":"301cffa7-d83e-49db-bbd8-1312e0e79c4e"}}}
{"type":"emit_inbound","label":"command_lifecycle","frame":{"type":"command_lifecycle","command_uuid":"301cffa7-d83e-49db-bbd8-1312e0e79c4e","state":"queued","uuid":"683f753d-e44d-418b-81be-fe1635105ee0","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117"}}
{"type":"emit_inbound","label":"command_lifecycle","frame":{"type":"command_lifecycle","command_uuid":"301cffa7-d83e-49db-bbd8-1312e0e79c4e","state":"started","uuid":"b00be524-44da-49bf-8d43-a4e060e6ed2f","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117"}}
{"type":"emit_inbound","label":"system","frame":{"type":"system","subtype":"init","agents":[],"apiKeySource":"none","claude_code_version":"2.1.326","cwd":"/tmp/claude-replay-usage_limit","tools":[],"mcp_servers":[],"model":"claude-sonnet-4-6","permissionMode":"bypassPermissions","slash_commands":[],"output_style":"default","skills":[],"plugins":[],"fast_mode_state":"off","uuid":"ad82e0c8-db2d-4309-af62-5e1072c2d771","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117"}}
{"type":"emit_inbound","label":"system","frame":{"type":"system","subtype":"status","status":"requesting","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","uuid":"7d799f81-c12e-4f47-8cd9-273fef1b30a3","user_message_uuids":["301cffa7-d83e-49db-bbd8-1312e0e79c4e"]}}
{"type":"emit_inbound","label":"system","frame":{"type":"system","subtype":"api_retry","attempt":1,"max_retries":10,"retry_delay_ms":526,"error_status":429,"error":"rate_limit","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","uuid":"593bcdde-73d4-42c5-857a-49bc8054f108"}}
{"type":"emit_inbound","label":"system","frame":{"type":"system","subtype":"api_retry","attempt":2,"max_retries":10,"retry_delay_ms":1084,"error_status":429,"error":"rate_limit","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","uuid":"78b8707b-2945-4a47-a417-865211f63165"}}
{"type":"emit_inbound","label":"system","frame":{"type":"system","subtype":"api_retry","attempt":3,"max_retries":10,"retry_delay_ms":2101,"error_status":429,"error":"rate_limit","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","uuid":"e5a2272c-ac69-40dc-afc1-74b8664dd394"}}
{"type":"emit_inbound","label":"system","frame":{"type":"system","subtype":"api_retry","attempt":4,"max_retries":10,"retry_delay_ms":4924,"error_status":429,"error":"rate_limit","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","uuid":"e88d160e-9ed6-4075-91a8-c46c5df070fc"}}
{"type":"emit_inbound","label":"system","frame":{"type":"system","subtype":"api_retry","attempt":5,"max_retries":10,"retry_delay_ms":8012,"error_status":429,"error":"rate_limit","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","uuid":"67cb3f4c-35dd-47b8-a484-fb4341403e3e"}}
{"type":"emit_inbound","label":"system","frame":{"type":"system","subtype":"api_retry","attempt":6,"max_retries":10,"retry_delay_ms":19519,"error_status":429,"error":"rate_limit","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","uuid":"8d70cb4a-6c32-4956-ac87-37cc1af2757a"}}
{"type":"emit_inbound","label":"system","frame":{"type":"system","subtype":"api_retry","attempt":7,"max_retries":10,"retry_delay_ms":39008,"error_status":429,"error":"rate_limit","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","uuid":"62a2c80e-71dd-433d-be92-9cbc4a122dc1"}}
{"type":"emit_inbound","label":"system","frame":{"type":"system","subtype":"api_retry","attempt":8,"max_retries":10,"retry_delay_ms":39524,"error_status":429,"error":"rate_limit","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","uuid":"6c828da7-7f7d-492b-82f5-394b3eaab75b"}}
{"type":"emit_inbound","label":"system","frame":{"type":"system","subtype":"api_retry","attempt":9,"max_retries":10,"retry_delay_ms":33452,"error_status":429,"error":"rate_limit","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","uuid":"293b9b2f-4c97-4790-b28f-9c8c0d80827a"}}
{"type":"emit_inbound","label":"system","frame":{"type":"system","subtype":"api_retry","attempt":10,"max_retries":10,"retry_delay_ms":35131,"error_status":429,"error":"rate_limit","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","uuid":"7d3b9d7a-587b-4a07-a4fe-d67b5dbfa7e9"}}
{"type":"emit_inbound","label":"assistant","frame":{"type":"assistant","message":{"diagnostics":null,"id":"815983ba-9182-4ae4-a656-8158541615e4","container":null,"model":"<synthetic>","role":"assistant","stop_details":null,"stop_reason":"stop_sequence","stop_sequence":"","type":"message","usage":{"output_tokens_details":null,"input_tokens":0,"output_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":null,"cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"inference_geo":null,"iterations":null,"speed":null,"fallback_credit":null},"content":[{"type":"text","text":"API Error: Request rejected (429) · All credentials for model claude-sonnet-4-6 are cooling down via provider claude"}],"context_management":null},"parent_tool_use_id":null,"session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","uuid":"c56a86ab-b7cf-4ca5-b9fe-2a44ff5f7adc","timestamp":"2026-11-17T18:47:23.739Z","error":"rate_limit","is_api_error_message":true,"api_error_status":429,"api_error_type":"rate_limit_error","user_message_uuid":"301cffa7-d83e-49db-bbd8-1312e0e79c4e","user_message_uuids":["301cffa7-d83e-49db-bbd8-1312e0e79c4e"]}}
{"type":"emit_inbound","label":"result","frame":{"duration_api_ms":0,"stop_reason":"stop_sequence","session_id":"b8eed9d2-ed85-48fb-a4f2-316f6a0b1117","total_cost_usd":0,"usage":{"output_tokens_details":{"thinking_tokens":0},"input_tokens":0,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":0,"server_tool_use":{"web_search_requests":0,"web_fetch_requests":0},"service_tier":"standard","cache_creation":{"ephemeral_1h_input_tokens":0,"ephemeral_5m_input_tokens":0},"inference_geo":"","iterations":[],"speed":"standard","fallback_credit":null},"modelUsage":{},"permission_denials":[],"terminal_reason":"api_error","fast_mode_state":"off","fast_mode_disabled_reason":"sdk_opt_in_required","subagent_stats":{"spawned":0,"requested":{"background":0,"foreground":0,"unset":0},"started_in_background":0,"max_depth":0,"spawned_by_subagents":0,"completed":0,"failed":0,"killed":{"parent":0,"user":0,"system":0},"refused":{"depth_limit":0,"concurrency_limit":0,"budget":0},"by_type":{}},"safety_stops":0,"is_error":true,"num_turns":1,"subtype":"success","api_error_status":429,"api_error_type":"rate_limit_error","result":"API Error: Request rejected (429) · All credentials for model claude-sonnet-4-6 are cooling down via provider claude","type":"result","duration_ms":185616,"uuid":"ec685404-a730-46d8-a867-3b40e87cdc94","user_message_uuid":"301cffa7-d83e-49db-bbd8-1312e0e79c4e","user_message_uuids":["301cffa7-d83e-49db-bbd8-1312e0e79c4e"],"queued_turn_count":0,"result_index":0,"model_usage_since_last_result":{}}}
{"type":"runtime_exit","status":"success"}
Loading
Loading