We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a83d63 commit c85ecc8Copy full SHA for c85ecc8
packages/scout-agent/lib/compaction.ts
@@ -64,7 +64,7 @@ export function isOutOfContextError(error: unknown): boolean {
64
textToTest = JSON.stringify(apiError);
65
} catch {
66
// note: util.inspect returns different values in Bun and Node.js
67
- // in Node.js it includes the error message, in Bun it doesn't
+ // in Node.js it includes the error message, in Bun it ~sometimes~ doesn't.
68
// that's why it's the final fallback
69
textToTest = util.inspect(apiError, { depth: null });
70
}
0 commit comments