R2R icon indicating copy to clipboard operation
R2R copied to clipboard

add tool result call

Open dheerajiiitv opened this issue 6 months ago • 0 comments

[!IMPORTANT] Sequentially execute tool calls and emit tool result events in sse_generator of base.py, with added error handling.

  • Behavior:
    • Modify sse_generator in base.py to execute tool calls sequentially instead of in parallel.
    • Add handling for tool result events by emitting them as SSE events.
    • Implement error handling for tool execution, logging errors, and emitting error events.
  • Misc:
    • Add comments to clarify the new behavior in sse_generator.

This description was created by Ellipsis for e1e2a6bd193e6940c945604f22f65e72ec60615a. It will automatically update as commits are pushed.

dheerajiiitv avatar Apr 06 '25 18:04 dheerajiiitv