chore: fix eslint warnings

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-05-04 07:08:01 -07:00
parent 52e74d48c9
commit 50eb39fa70
4 changed files with 5 additions and 5 deletions

View File

@@ -348,8 +348,7 @@ export function createEventBridge(
// ToolCall.arguments is typed as Record<string, any> in pi-ai, but we
// intentionally emit a raw string when JSON parse fails completely.
// Pi handles string arguments gracefully at runtime.
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- finalArgs may be a raw string when JSON parse fails; pi-ai handles it at runtime
(contentBlock as any).arguments = finalArgs;
(contentBlock as { arguments: unknown }).arguments = finalArgs;
const toolCall = {
type: "toolCall" as const,
id: block.id,