Previously the data tool caught all errors and returned them as normal tool results with error info in the JSON content. This meant pi-agent-core never saw an exception and always set isError=false in the run-log, even for rate limit errors (errCode 9001) and other API failures. Now errors propagate to pi-agent-core which sets isError=true and formats the error message for the LLM automatically. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||