Skip to content

feat(config): Adds BaseAgent.config_type field to indicate the config for the current agent and removes if-else branches against LlmAgent/LoopAgent/... in config_agent_utils::from_config #2187

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

Merged
merged 1 commit into from
Aug 1, 2025

Conversation

copybara-service[bot]
Copy link

feat(config): Adds BaseAgent.config_type field to indicate the config for the current agent and removes if-else branches against LlmAgent/LoopAgent/... in config_agent_utils::from_config

This makes the logic work with any user-defined agent with user-defined XxxAgentConfig.

@copybara-service copybara-service bot added the google-contributor [Bot] This PR is created by Google label Jul 25, 2025
…ig for the current agent and removes if-else branches against LlmAgent/LoopAgent/... in `config_agent_utils::from_config`

This makes the logic work with any user-defined agent with user-defined XxxAgentConfig.

PiperOrigin-RevId: 789845354
@copybara-service copybara-service bot merged commit 2bb2041 into main Aug 1, 2025
@copybara-service copybara-service bot deleted the copybara/787243829 branch August 1, 2025 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
google-contributor [Bot] This PR is created by Google
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant