-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
core[Component] This issue is related to the core interface and implementation[Component] This issue is related to the core interface and implementation
Description
from dotenv import find_dotenv, load_dotenv
from google.adk import Agent
from google.adk.a2a.utils.agent_to_a2a import to_a2a
load_dotenv(find_dotenv())
Orchestrator agent 정의
orchestrator_agent = Agent(
model='gemini-2.0-flash',
name='SupervisorAgent',
description='사용자의 복잡한 데이터 분석 요청을 이해하고, 하위 전문 에이전트에게 작업을 위임하며 최종 보고서를 생성하는 마스터 에이전트입니다.',
instruction="""""",
global_instruction="{domain_instructions}",
)
root_agent = orchestrator_agent
A2A 서비스로 변환
a2a_app = to_a2a(root_agent, port=8000)
if name == "main":
import uvicorn
uvicorn.run(a2a_app, host="0.0.0.0", port=8000)
해당 코드로 서버에 띄웠을때 동적변수({domain_instructions})에 할당하기 위한 payload가 어떻게 되는거에요?
Metadata
Metadata
Assignees
Labels
core[Component] This issue is related to the core interface and implementation[Component] This issue is related to the core interface and implementation