Expand agent participant configuration with logging, debugging, and web search #896
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hiya! I found agent participants weren't completing stages as intended and had their responses incorrectly parsed in group chats so have vibe-coded a fix. Code was written by Claude - I did my best to guide it towards making the minimum changes necessary and not introduce any breaking changes.
As part of the PR I've included a way to view agent participant API logs in the UI and have expanded the agent participant config UI component. Here's a video showing the result:
Summary
This PR enhances agent participant functionality with three main improvements:
Changes
Agent Log Viewer
Agent Participant Bug Fixes
Expanded Agent Configuration
agent-participant-configuration-dialogcomponentBackend Changes
useWebSearchtoAgentModelSettingsinterfacegoogleSearchtoolweb_search_20250305tool integrationTesting
I've created a few experiments with 'group chat', 'set your profile', and 'survey' stages, and have tested them against each combination of (Google/Anthropic/OpenAI, w/wo web search), with between one and four agent participants. The parsing errors have disappeared, the API log viewer seems to work, and the new agent participant settings worked as intended.
I haven't included automated tests as the contrib guidelines didn't ask for them, however if you have something in mind please say.
Known Limitations