Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: update inputs in ToolCallingAgentComponent and add astream_events setup #4240

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Oct 25, 2024

  1. Configuration menu
    Copy the full SHA
    b9d5b1f View commit details
    Browse the repository at this point in the history
  2. Add async event processing for agent execution in agent.py

    - Introduced `process_agent_events` method to handle asynchronous event processing for agent execution.
    - Added individual async handlers for different event types: `handle_chain_start`, `handle_chain_end`, `handle_chat_model_stream`, `handle_tool_start`, and `handle_tool_end`.
    - Updated agent execution to use `astream_events` for improved event handling.
    - Enhanced logging for better traceability of agent and tool execution events.
    ogabrielluiz committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    f38f27a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a2a7983 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    984257b View commit details
    Browse the repository at this point in the history