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

Enable ToolResult Type in Core/AgentChat #4725

Open
victordibia opened this issue Dec 16, 2024 · 0 comments
Open

Enable ToolResult Type in Core/AgentChat #4725

victordibia opened this issue Dec 16, 2024 · 0 comments

Comments

@victordibia
Copy link
Collaborator

Currently, in Core/AgentChat the result of tool execution is mostly cast to a string ...
It would be good to standardize on some type e.g,

  • content
  • attachments
  • mime
  • byte ..

Several benefits

  • We can cast strucutred responses into messages that other agents/teams can "see" .e.g, inform them of artifacts created from tool call.
  • Interfaces like AGS can display such artifacts

How

  • Add toolresult type
  • Update core infra for tool call execution to check for structured output and honor them
  • Update things like AssistantAgent to parse structured output into inner_messages etc?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant