- Streaming path: on tool_call execution error, emit an [Observation] chunk so the model sees the failure and can retry/adapt - Non-streaming path: inject error as a user message so the loop continues with error context, not silently stop |
||
|---|---|---|
| .. | ||
| chat | ||
| compact | ||
| embed | ||
| perception | ||
| react | ||
| task | ||
| tool | ||
| Cargo.toml | ||
| client.rs | ||
| error.rs | ||
| lib.rs | ||
| tokent.rs | ||