- 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 |
||
|---|---|---|
| .. | ||
| context.rs | ||
| mod.rs | ||
| service.rs | ||