chore(config): Add _config suffix to all yaml-based agent examples

Also expand agent folder name to full spelling, e.g. ma --> multi_agent

PiperOrigin-RevId: 795926902
This commit is contained in:
Liang Wu
2025-08-16 16:10:43 -07:00
committed by Copybara-Service
parent ecaa7b4c98
commit 43f302ce1a
46 changed files with 26 additions and 26 deletions
@@ -19,25 +19,25 @@ instruction: |
You should always perform the previous 3 steps when asking for a roll and checking prime numbers.
You should not rely on the previous history on prime results.
tools:
- name: core_callback.tools.roll_die
- name: core_callback.tools.check_prime
- name: core_callback_config.tools.roll_die
- name: core_callback_config.tools.check_prime
before_agent_callbacks:
- name: core_callback.callbacks.before_agent_callback1
- name: core_callback.callbacks.before_agent_callback2
- name: core_callback.callbacks.before_agent_callback3
- name: core_callback_config.callbacks.before_agent_callback1
- name: core_callback_config.callbacks.before_agent_callback2
- name: core_callback_config.callbacks.before_agent_callback3
after_agent_callbacks:
- name: core_callback.callbacks.after_agent_callback1
- name: core_callback.callbacks.after_agent_callback2
- name: core_callback.callbacks.after_agent_callback3
- name: core_callback_config.callbacks.after_agent_callback1
- name: core_callback_config.callbacks.after_agent_callback2
- name: core_callback_config.callbacks.after_agent_callback3
before_model_callbacks:
- name: core_callback.callbacks.before_model_callback
- name: core_callback_config.callbacks.before_model_callback
after_model_callbacks:
- name: core_callback.callbacks.after_model_callback
- name: core_callback_config.callbacks.after_model_callback
before_tool_callbacks:
- name: core_callback.callbacks.before_tool_callback1
- name: core_callback.callbacks.before_tool_callback2
- name: core_callback.callbacks.before_tool_callback3
- name: core_callback_config.callbacks.before_tool_callback1
- name: core_callback_config.callbacks.before_tool_callback2
- name: core_callback_config.callbacks.before_tool_callback3
after_tool_callbacks:
- name: core_callback.callbacks.after_tool_callback1
- name: core_callback.callbacks.after_tool_callback2
- name: core_callback.callbacks.after_tool_callback3
- name: core_callback_config.callbacks.after_tool_callback1
- name: core_callback_config.callbacks.after_tool_callback2
- name: core_callback_config.callbacks.after_tool_callback3
@@ -34,7 +34,7 @@ class MyCustomAgentConfig(BaseAgentConfig):
model_config = ConfigDict(
extra="forbid",
)
agent_class: str = "core_cutom_agent.my_agents.MyCustomAgent"
agent_class: str = "core_cutom_agent_config.my_agents.MyCustomAgent"
my_field: str = ""
@@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/google/adk-python/refs/heads/main/src/google/adk/agents/config_schemas/AgentConfig.json
name: working_agent
agent_class: core_custom_agent.my_agents.MyCustomAgent
agent_class: core_custom_agent_config.my_agents.MyCustomAgent
description: Handles all the work.
my_field: my_field_value
@@ -9,4 +9,4 @@ instruction: |
Never attempt to determine prime numbers manually.
Return the prime number results to the root agent.
tools:
- name: ma_llm.check_prime
- name: multi_agent_llm_config.check_prime
@@ -8,4 +8,4 @@ instruction: |
When asked to roll a die, you must call the roll_die tool with the number of sides as an integer.
tools:
- name: ma_llm.roll_die
- name: multi_agent_llm_config.roll_die
@@ -19,7 +19,7 @@ sub_agents:
- config_path: roll_agent.yaml
- config_path: prime_agent.yaml
tools:
- name: ma_llm.example_tool
- name: multi_agent_llm_config.example_tool
generate_content_config:
safety_settings:
- category: HARM_CATEGORY_DANGEROUS_CONTENT

Some files were not shown because too many files have changed in this diff Show More