mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6945] [Issue]: Function Calling tools are not exposed or handled in Roleplay #3893
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3893
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 @SpicyMarinara on GitHub (Oct 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6945
Originally assigned to: @SpicyMarinara on GitHub.
Summary
In Roleplay, adding a tool such as
roll_diceunder Function Calling does not appear to make it available to the model or let Marinara Engine receive its call. The same tool works when configured under Agents > Commands.Expected behavior
When Function Calling is enabled and a function is added, the tool should be made available to the model and valid tool calls should be received by Marinara Engine.
Actual behavior
With only Function Calling enabled,
roll_diceis not provided in the prompt, and Marinara Engine does not receive the call even when the model is forced to output the expected format.Steps to reproduce
roll_diceunder Agents > Commands, enable the Commands toggle, and confirm the tool call is accepted by Marinara Engine.roll_diceunder Add Function.roll_dice; observe that it is not provided in the prompt and that Marinara Engine does not receive a forced tool call.Environment
12a0acd5b7)Logs, screenshots, or video
An image is attached showing the tool-call format. The reporter notes it uses
</tool_call>rather than<|tool_call>.Additional context
Active connection: KoboldCPP (Gemma Custom); provider: custom. The reporter says the issue may affect custom agents or other modes, but this is unconfirmed. Agent version was not provided.
Discord thread: Redundant Tool Call Options Bug Custom Agent Tools
Discord thread link: https://discord.com/channels/1417099416812392641/1555238394421059644
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (3 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: