fix(core,server,web,cli): compaction tolerance, retry parity, and failure classification (#174)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7015fb0153
commit
6f60b242bd
32 files changed
+741
-326
No files matched your search
@@ -103,7 +103,9 @@ export function createDescribeImageTool(
|
||||
if (signal?.aborted) return { stopReason: "aborted" };
|
||||
if (!outcome || outcome.status !== "completed") {
|
||||
const detail =
|
||||
outcome && "message" in outcome && outcome.message ? `: ${outcome.message}` : "";
|
||||
outcome && "errorMessage" in outcome && outcome.errorMessage
|
||||
? `: ${outcome.errorMessage}`
|
||||
: "";
|
||||
yield delta(
|
||||
`${streamedAny ? "\n" : ""}Vision model (${describer.modelId}) request ${outcome?.status ?? "failed"}${detail}`,
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user