mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4315] [Issue]: roll_dice tool appears unavailable to agents #2336
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#2336
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 (Jul 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4315
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The
roll_dicetool appears to be missing from the accepted tools list for agents, potentially preventing agents from generating random rolls for each prompt.Expected behavior
Agents should be able to access and invoke the
roll_dicetool when configured to provide random rolls with prompts.Actual behavior
Based on the accepted tools list in the code,
roll_diceappears not to be available to agents. It is not confirmed whether this is intentional.Steps to reproduce
roll_diceis included as an available agent tool.Environment
Logs, screenshots, or video
No logs, screenshots, or video provided.
Additional context
The requested use case is an agent that supplies every prompt with a set of random rolls. The user noted that GLM often does not invoke tools.
Discord message: Discord message from Bainshie
Discord message link: https://discord.com/channels/1417099416812392641/1495493775617687775/1532497588794818613
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord message transcript (1 message)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jul 30, 2026):
Claimed by @SpicyMarinara in draft PR #4322. The implementation will expose the existing roll_dice tool through the current agent allowlist without introducing a new tool path.
@SpicyMarinara commented on GitHub (Jul 31, 2026):
Investigation on current staging confirmed that
roll_diceis already selectable for agents, is resolved into the agent tool context, and executes through the shared tool executor. PR #4322 adds an end-to-end regression for that exact path so it cannot silently disappear; no redundant production allowlist was needed.@SpicyMarinara commented on GitHub (Jul 31, 2026):
Verified and locked in by #4322, merged into
stagingas9bc60818d. Current staging already exposes and executesroll_dicefor enabled agents; the new runtime regression protects that path from silently disappearing.