-
Notifications
You must be signed in to change notification settings - Fork 264
Use mcp tools for filter chain #621
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
Conversation
- Update request.rs to handle new MessageContent enum structure from main - MessageContent can now be Text(String) or Items(Vec<InputContent>) - Handle new InputItem variants (ItemReference, FunctionCallOutput) - Fixes compilation error after merging latest main (#632)
| "--agent", | ||
| "agent", | ||
| required=True, | ||
| help="Agent name: query_rewriter, context_builder, or response_generator", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we mixing agents and filters in the MCP server. That will be confusing for the reader, because we want to drive a distinction between an agent that does "work" and filters are intended to "mutate" requests. Plus in our config they are separate things, and in this example they are combinned.
salmanap
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have a few comments. Feel free to call me so that we can start resolving these. Major themes
- Trace building isn't ideal. Don't understand the diff between MCP spans and others.
- We are re-building alot of the sse parsing logic by hand again
- We don't seem to be getting the agent description via MCP (i couldn't tell if we were).
- Config suggestions.
|
going to merge this change since same tests are broken in main |
* agents framework demo * more changes * add more changes * pending changes * fix tests * fix more * rebase with main and better handle error from mcp * add trace for filters * add test for client error, server error and for mcp error * update schema validate code and rename kind => type in agent_filter * fix agent description and pre-commit * fix tests * add provider specific request parsing in agents chat * fix precommit and tests * cleanup demo * update readme * fix pre-commit * refactor tracing * fix fmt * fix: handle MessageContent enum in responses API conversion - Update request.rs to handle new MessageContent enum structure from main - MessageContent can now be Text(String) or Items(Vec<InputContent>) - Handle new InputItem variants (ItemReference, FunctionCallOutput) - Fixes compilation error after merging latest main (#632) * address pr feedback * fix span * fix build * update openai version
No description provided.