feat: add realtime workflow vision tools
This commit is contained in:
@@ -438,8 +438,6 @@ def validate_graph(graph: dict[str, Any]) -> list[str]:
|
||||
"defaultRealtimeResourceId"
|
||||
):
|
||||
errors.append("Realtime 工作流必须选择 Realtime 模型")
|
||||
if runtime_mode == "realtime" and settings.get("visionEnabled"):
|
||||
errors.append("Realtime 工作流暂不支持视觉能力")
|
||||
if (
|
||||
runtime_mode == "realtime"
|
||||
and settings.get("knowledgeBaseId")
|
||||
@@ -488,10 +486,6 @@ def validate_graph(graph: dict[str, Any]) -> list[str]:
|
||||
f"Realtime Agent 节点 {node_id} 不支持节点级模型、语音或交互策略覆盖"
|
||||
)
|
||||
source = settings if data.get("inheritGlobalConfig", True) else data
|
||||
if source.get("visionEnabled"):
|
||||
errors.append(
|
||||
f"Realtime Agent 节点 {node_id} 暂不支持视觉能力"
|
||||
)
|
||||
if (
|
||||
source.get("knowledgeBaseId")
|
||||
and source.get("knowledgeMode") != "on_demand"
|
||||
|
||||
Reference in New Issue
Block a user