CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.
Python agent-frameworkagent-harnessagent-runtimeagentic-aiai-agentsai-frameworkanthropicharnessharness-engineeringharness-frameworklanggraphlanggraph-alternativellmmcpopenaipi-agentpi-agent-corepythonpython-agent
feat(deferred): hint model to emit tool_name before arguments
xf gong915783c48862
diff --git a/cubepi/deferred/_dispatch_tool.py b/cubepi/deferred/_dispatch_tool.pyindex fd699d8..937e2b5 100644--- a/cubepi/deferred/_dispatch_tool.py+++ b/cubepi/deferred/_dispatch_tool.py@@ -64,8 +64,11 @@ def _make_deferred_tool_call(return AgentTool(name=DISPATCH_TOOL_NAME,description=(- "Invoke a deferred tool by name. Use schemas from load_tools "- "results to shape `arguments`. Tools load on demand if needed."+ "Invoke a deferred tool by name. Place `tool_name` before "+ "`arguments` in the call's JSON so streaming clients can resolve "+ "the target tool before its args finish arriving. Use schemas "+ "from load_tools results to shape `arguments`. Tools load on "+ "demand if needed."),parameters=DeferredToolCallInput,execute=_execute,