feat: organize tools and enable qwen realtime calls
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user