这是indexloc提供的服务,不要输入任何密码
Skip to content

Callback manager in LLM Agent #988

@elisalimli

Description

@elisalimli

⚠️ Please check that this feature request hasn't been suggested before.

  • I searched previous Ideas in Discussions didn't find any similar feature requests.
  • I searched previous Issues didn't find any similar feature requests.

🔖 Feature description

We should create a callback manager that has functions like on_agent_start, on_agent_end, on_tool_end, on_tool_error etc.

This callback manager should play a dispatcher role for other callbacks (Memory, streaming, logging). We should only call this callback manager on each of those actions that listed above.

Acknowledgements

  • My issue title is concise and descriptive.
  • I have searched the existing issues to make sure this feature has not been requested yet.
  • I have provided enough information for the maintainers to understand and evaluate this request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions