Skip to content

Commit 659afe0

Browse files
committed
style(coding-agent): biome-format the hint-timeout block
1 parent 9ca2954 commit 659afe0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

packages/coding-agent/src/tools/fast-context.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -997,11 +997,11 @@ export class FastContextTool implements AgentTool<typeof fastContextSchema, Fast
997997
];
998998
let rawText: string;
999999
try {
1000-
// Cloud/reasoning models (registry backend) need a longer budget than the
1001-
// 30s hint timeout tuned for a fast local model — otherwise the single
1002-
// query-expansion turn times out before the model emits a plan.
1003-
const hintTimeout = backend.kind === "registry" ? REQUEST_TIMEOUT_MS : HINT_REQUEST_TIMEOUT_MS;
1004-
const response = await this.#chat(backend, hintMessages, signal, 2048, null, hintTimeout);
1000+
// Cloud/reasoning models (registry backend) need a longer budget than the
1001+
// 30s hint timeout tuned for a fast local model — otherwise the single
1002+
// query-expansion turn times out before the model emits a plan.
1003+
const hintTimeout = backend.kind === "registry" ? REQUEST_TIMEOUT_MS : HINT_REQUEST_TIMEOUT_MS;
1004+
const response = await this.#chat(backend, hintMessages, signal, 2048, null, hintTimeout);
10051005
rawText = response.message.content ?? "";
10061006
} catch (err) {
10071007
const errorMsg = err instanceof Error ? err.message : String(err);

0 commit comments

Comments
 (0)