mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3995] [Engine] Namespaced tool calls returned as plain XML instead of function_call #1719
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1719
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PizzaTimel on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3995
Environment
/v1/responses)Problem
Function calling works with simple tool names but fails with namespaced tool names.
Reproduction
Use the same tool schema and prompt with
tool_choice: "auto".Results:
exec_command→ structuredfunction_call(PASS)functions_exec_command→ structuredfunction_call(PASS)functions.exec_command→ plain XML inoutput_text(FAIL)functionscontainingexec_command→ plain XML inoutput_text(FAIL)Actual output
Expected output
A structured Responses API
function_callassociated with the declared tool and its namespace, containing:Impact
Codex sometimes displays raw
<tool_call>blocks instead of executing commands. This interrupts multi-step coding tasks and Unreal Engine development workflows.Request
Please check namespace handling in the Qwen tool-call template and Responses API output parser. Tool names containing dots may not be matched correctly against declared tool schemas.
@github-actions[bot] commented on GitHub (Oct 24, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@github-actions[bot] commented on GitHub (Oct 24, 2026):
Thanks, this follows the format now.
@Niko1221 commented on GitHub (Oct 26, 2026):
Thanks for the clear pass/fail list. The failing case is the model writing the bare tool name (exec_command) while Codex declares it under the functions namespace. Pull request #3972 handles exactly that (a bare name that matches one declared tool), so we are tracking the fix there and will close this one when it lands.