mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8463] [CLOSED] Connections: agents say which model they need, and docs for the account-first flow #8618
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#8618
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/8463
Author: @Promansis
Created: 10/29/2026
Status: ❌ Closed
Base:
feat/connections-accounts← Head:soup-connections📝 Commits (5)
db3f27fAgents say which model they need and offer to set it up5014ec1Add window: drop the unread first-run state and the unused FirstRunIntro1b4fc6dSet up opens the job's model picker; the chat toast opens the Connections sidebar74c29beDocs: Connections guides describe accounts, the Jobs box and starred models54d6907Review fixes: package schema accepts requiresConnection, chip edge cases📊 Changes
26 files changed (+419 additions, -261 deletions)
View changed files
📝
docs/chats/chat-settings.md(+1 -1)📝
docs/connections/connecting-to-a-provider.md(+49 -53)📝
docs/connections/organizing-connections.md(+45 -57)📝
docs/settings/settings-overview.md(+1 -1)📝
packages/client/src/components/agents/AgentEditor.tsx(+2 -0)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+17 -21)📝
packages/client/src/components/connections/ConnectionDefaults.tsx(+23 -1)📝
packages/client/src/components/connections/JobRow.tsx(+16 -6)📝
packages/client/src/components/connections/ModelRow.tsx(+3 -1)➕
packages/client/src/components/connections/NeedsModelChip.tsx(+108 -0)📝
packages/client/src/components/game/GameSetupWizard.tsx(+4 -19)📝
packages/client/src/components/modals/create-connection/CreateConnectionModalContent.tsx(+0 -6)📝
packages/client/src/components/modals/create-connection/shared.tsx(+0 -24)📝
packages/client/src/components/panels/AgentsPanel.tsx(+32 -20)📝
packages/client/src/components/ui/AvatarGenerationModal.tsx(+2 -3)📝
packages/client/src/components/ui/SpriteGenerationModal.tsx(+2 -5)📝
packages/client/src/hooks/use-generate.ts(+34 -24)📝
packages/client/src/localization/locales/en.json(+5 -10)📝
packages/server/src/routes/generate.routes.ts(+3 -2)📝
packages/server/src/routes/generate/retry-agents-route.ts(+2 -1)...and 6 more files
📄 Description
Linked issue
No issue yet: one should be opened for "agents don't say they need an image model". Follow-up to #8456. Package side: Pasta-Devs/Marinara-Agents#1883.
Why this change
A new user who wants pictures in chat adds Illustrator and nothing tells them it needs an image model. The messages that do exist point at "Settings → Connections" or "Settings → Agents", which are sidebars, not Settings pages. The Add-agent window never checks at all.
What changed
NeedsModelChip("Needs an image model" + Set up, opening the same Model for window as the Jobs box, where any catalog model can be picked or Add account used; #8456's Add window no longer assigns jobs). It shows on Agents panel cards, Chat Settings custom-agent rows, the Add-agent window, the Illustrator image field and the Agent editor, and hides once the agent's own model or the job default exists (same order the server uses).requiresConnectionon agent manifests and the packaged-agent schema;agentRequiredConnection()infers it for Illustrator and custom agents withtrigger_image_generationuntil packages declare it (ponytail:marked). Regression:agent-required-connection.en.json.code: "image_connection_missing"; the chat toast then offers Set up (opens the Connections sidebar) instead of a retry that would fail again.firstRunstate and unusedFirstRunIntro.connecting-to-a-provider.mdandorganizing-connections.mdrewritten for accounts, the Jobs box and starred models; two inbound anchors fixed. Translations: #8464.ModelRow.tsx: one line reformatted sopnpm checkpasses (format drift already on the base branch).Not included: the planned "Pick your main model" box, held back so the Connections panel layout stays as in #8456.
Validation
pnpm checkpasses locallypnpm regression:node -- --filter agent-required-connectionCONTRIBUTING.mdManual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (#8464) (see CONTRIBUTING.md § Translated documentation)Local review
CodeRabbit CLI is not installed on this machine, so it was not run. A Claude code review (high) of the branch raised 8 findings; 6 fixed in
54d690799(schema, drawer own-model, picker unmount, built-in Main, drag bubbling, lazy picker). Not changed: Set up in game setup / sprite / avatar windows sets the global job default rather than a per-window pick (those windows inherit that default, so this is intended); the toast offers Set up instead of Try again for a missing image model (a retry fails until one is set). Known gaps: the chip reads row flags only, so an audio chip ignores the TTS card connection and a default on a blocked account still counts as set.UI evidence (if applicable)
To add.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.