fix(m12): correct environment dependencies and package imports

This commit is contained in:
Annyfee
2025-12-22 11:04:33 +08:00
parent 620a59b17a
commit e1cb01c407
4 changed files with 14 additions and 19 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
from agents.mcp import MCPServerStdio, MCPServerStdioParams
from openai import AsyncOpenAI
from agents import Agent, OpenAIChatCompletionsModel
from agents.agent import Agent
from agents.models.openai_chatcompletions import OpenAIChatCompletionsModel
from config import OPENAI_API_KEY
from m12_agents_sdk_swarm.tools import execute_refund, check_seat
from config import AMAP_MAPS_API_KEY
@@ -102,4 +103,4 @@ triage_agent.handoffs = [refund_agent, change_agent]
# 专员之间也可互相转接,并能回退到前台
refund_agent.handoffs = [change_agent, triage_agent]
change_agent.handoffs = [refund_agent, triage_agent]
change_agent.handoffs = [refund_agent, triage_agent]