mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4359] [MERGED] Validate tool arguments before execution #6348
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#6348
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4359
Author: @Xelvanis
Created: 7/31/2026
Status: ✅ Merged
Merged: 7/31/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/tool-argument-validation📝 Commits (2)
32495d3fix(tools): validate execution arguments and failures07fa949Merge branch 'staging' into fix/tool-argument-validation📊 Changes
9 files changed (+408 additions, -65 deletions)
View changed files
📝
packages/server/package.json(+2 -0)📝
packages/server/src/routes/generate.routes.ts(+2 -2)📝
packages/server/src/routes/generate/retry-agents-route.ts(+9 -9)📝
packages/server/src/services/generation/tool-resolution-runtime.ts(+4 -2)📝
packages/server/src/services/tools/tool-executor.ts(+148 -44)📝
packages/shared/src/features/function-calls/tool-definitions.ts(+1 -1)📝
packages/shared/src/features/function-calls/tools/spotify-play/manifest.ts(+1 -1)📝
pnpm-lock.yaml(+16 -5)📝
scripts/regressions/prompt.regression.ts(+225 -1)📄 Description
Linked issue
Closes #4358
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm checkpassed locally, including localization checks, workspace lint/type checks, and production builds.pnpm regression:promptpassed.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Not applicable; this changes server-side tool validation and result handling without altering the UI.
Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.