mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3337] [MERGED] Fix Grok CLI model selection #5884
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#5884
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/3337
Author: @SpicyMarinara
Created: 7/7/2026
Status: ✅ Merged
Merged: 7/7/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/fix-grok-cli-model-selection📝 Commits (1)
7df3eb2Fix Grok CLI model selection📊 Changes
5 files changed (+302 additions, -144 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+37 -25)📝
packages/server/src/routes/connections.routes.ts(+31 -36)📝
packages/server/src/services/llm/providers/grok-subscription.provider.ts(+229 -69)📝
packages/shared/src/constants/model-lists.ts(+4 -14)📄 Description
Summary
Fix Grok CLI (Subscription) connections so Marinara no longer seeds or sends stale
grok-build-*aliases that local Grok CLI installs can reject. The connection can now leave the model blank to use the CLI default, and model fetching callsgrok modelsso users select IDs their local CLI actually supports.Why
A user reported that the connection fetched models but test requests failed with
unknown model idforgrok-build-latest. That alias came from Marinara's static fallback list, not from the installed CLI account/model surface.Changes
grok-build-*aliases to a blank model field.grok models.Validation
pnpm checkgit diff --checkManual Verification Needed
grokinstalled and authenticated that “Fetch Models from Grok CLI” returns selectable IDs.Notes
Live Grok CLI execution was not available on this machine because
grokis not installed locally.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.