feat(config): Adds CustomAgentConfig to support user-defined agents in config

PiperOrigin-RevId: 787148485
This commit is contained in:
Wei Sun (Jack)
2025-07-25 09:56:10 -07:00
committed by Copybara-Service
parent 1778490e64
commit a3ff21eb0b
10 changed files with 331 additions and 111 deletions
@@ -555,8 +555,7 @@ class TestAgentLoader:
# Create invalid YAML content with wrong field name
invalid_yaml_content = dedent("""
agent_type: LlmAgent
name: invalid_yaml_test_agent
not_exist_field: invalid_yaml_test_agent
model: gemini-2.0-flash
instruction: You are a test agent with invalid YAML
""")