mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3339] [MERGED] Fix Grok CLI roleplay context handling #5886
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#5886
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/3339
Author: @SpicyMarinara
Created: 7/7/2026
Status: ✅ Merged
Merged: 7/7/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/fix-grok-cli-roleplay-models📝 Commits (2)
dbee8b5Fix Grok CLI roleplay context handling38dfe13Address Grok CLI review feedback📊 Changes
3 files changed (+68 additions, -11 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+22 -6)📝
packages/server/src/services/llm/providers/grok-subscription.provider.ts(+45 -5)📄 Description
Linked issue
No linked issue. User-reported Grok CLI subscription regression during roleplay testing.
Why this change
Grok CLI subscription connections could expose model IDs that the user's local CLI login could not actually run, and large roleplay prompts could make the local CLI fail with
max turns reached. The test message path was small enough to pass, which made the roleplay-only failure confusing.What changed
grok-composer-2.5-fastfrom fetched Grok CLI models when available, and filter obviously unavailable model rows.max turns reacheddiagnostic that points users toward lowering context or using the Composer model/default CLI model.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm checklocally; it passed.git diff --check; it passed.grokis not installed on PATH.Docs and release impact
CHANGELOG.md was updated for v2.1.1. No version bump or user-facing docs change was needed.
UI evidence (if applicable)
N/A. This is connection behavior and helper copy only.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.