AI Core/debug Logging

Pluggable, category-toggleable debug logging for TanStack AI activities. Toggle with `debug: true | false | DebugConfig` on chat(), summarize(), generateImage(), generateSpeech(), generateTranscription(), generateVideo(). Categories: request, provider, output, middleware, tools, agentLoop, config, errors. Pipe into pino/winston/etc via `debug: { logger }`. Errors log by default even when `debug` is omitted; silence with `debug: false`.

TanStack 9219b2e 10.4 KB Updated

File contents

tanstack/ai/tree/main/packages/ai/skills/ai-core/debug-logging commit 9219b2e3e0

Frequently asked questions

npx skillmds@latest add tanstack/ai-core-debug-logging