From 0cde099c7f479f235190c8c5854c5f06b167d1ad Mon Sep 17 00:00:00 2001 From: Maurice Date: Tue, 3 Nov 2026 22:39:24 +0100 Subject: [PATCH] style(assistant): format the blind-call hint --- server/src/nest/assistant/assistant-tools.service.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/server/src/nest/assistant/assistant-tools.service.ts b/server/src/nest/assistant/assistant-tools.service.ts index f2b9a3ea8..598d28f3e 100644 --- a/server/src/nest/assistant/assistant-tools.service.ts +++ b/server/src/nest/assistant/assistant-tools.service.ts @@ -364,8 +364,11 @@ export class AssistantToolSession { const blind = this.calledBlind.get(name); if (!run.ok && blind) { const hint = `${name} was called before the "${blind}" tools were loaded in this turn, so its arguments were written without its schema. They are loaded now and the schema is in your tools: send the call again with the arguments exactly as it describes them.`; - return { ok: false, value: `${typeof run.value === 'string' ? run.value : JSON.stringify(run.value)} -${hint}` }; + return { + ok: false, + value: `${typeof run.value === 'string' ? run.value : JSON.stringify(run.value)} +${hint}`, + }; } if (name === TRANSIT_SEARCH_TOOL && run.ok) this.itineraries.keep(run.value); return run;