feat: organize tools and enable qwen realtime calls

This commit is contained in:
Xin Wang
2026-08-14 00:15:00 +08:00
parent eb111a3890
commit 5be21f5ccc
71 changed files with 5771 additions and 2026 deletions
+3 -1
View File
@@ -10,7 +10,7 @@ from time import monotonic
from typing import Any
from uuid import uuid4
from models import RuntimeTool
from models import RuntimeTool, RuntimeToolBinding
from services.tool_executor import ToolExecutionError, ToolExecutor
@@ -101,6 +101,7 @@ class ActionRunner:
tool: RuntimeTool | None,
arguments: dict[str, Any] | None = None,
*,
binding: RuntimeToolBinding | None = None,
result_assignments: dict[str, str] | None = None,
invocation_id: str | None = None,
) -> ActionOutcome:
@@ -120,6 +121,7 @@ class ActionRunner:
result = await self._executor.execute(
tool,
rendered_arguments,
binding=binding,
result_assignments=result_assignments,
)
if result.get("status") != "ok":