feat: 新增方案 C 的 Handoff 路由宿主,并让抽城市支持自然语言。

把图 JSON 编译成 CreateHandoffBuilderWith + WithHandoff;Agent 固定 Id 以免交接工具名错位;DeepSeek 关闭 thinking,避免多轮丢掉 reasoning_content 导致 400。
This commit is contained in:
2026-09-01 17:56:41 +08:00
parent 2c5c6fd118
commit b0e89b6092
25 changed files with 960 additions and 27 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"nodes": [
{
"id": "n1",
"type": "fileCity-system",
"title": "抽城市",
"config": { "filePath": "Data/cities.txt" }
},
{
"id": "n2",
"type": "weather-system",
"title": "查天气"
}
],
"edges": [
{
"from": "n1",
"to": "n2",
"when": "hasValidCities"
}
]
}