Skip to content

Conversation

@yaozheng-fang
Copy link
Collaborator

@yaozheng-fang yaozheng-fang commented Jan 6, 2026

Create config when create:

image

In cloud:

image

Ask his name:

image

Change his name to Personal Assistant:

image image

Ask him again:

image

Happy dynamic config & hot fix!


Demo:

import asyncio
from contextlib import asynccontextmanager

from google.adk.a2a.utils.agent_to_a2a import to_a2a
from starlette.applications import Starlette
from veadk import Agent
from veadk.configs.dynamic_config_manager import DynamicConfigManager
from veadk.tools.demo_tools import get_city_weather

root_agent = Agent(
    id="1",
    name="weather_agent",
    description="An agent that can get the weather of a city",
    tools=[get_city_weather],
)

loop = asyncio.get_running_loop()
print(loop)

config_mgr = DynamicConfigManager(agents=root_agent)

if loop and loop.is_running():
    loop.create_task(config_mgr.create_config())

@yaozheng-fang yaozheng-fang marked this pull request as ready for review January 6, 2026 11:33
@yaozheng-fang yaozheng-fang merged commit 5fce720 into main Jan 7, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants