mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4] [CLOSED] Fix /retry-agents route failing when connectionId === "random" #4383
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#4383
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/4
Author: @Copilot
Created: 3/9/2026
Status: ❌ Closed
Base:
release/1.2.0← Head:copilot/sub-pr-1-another-one📝 Commits (2)
fdf0ac7Initial planbdde288Fix /retry-agents route to handle connectionId === "random"📊 Changes
1 file changed (+7 additions, -1 deletions)
View changed files
📝
packages/server/src/routes/generate.routes.ts(+7 -1)📄 Description
The
/retry-agentsroute passedchat.connectionIddirectly togetWithKey(), causing a "No connection configured" error for chats using the random connection pool (connectionId === "random").Changes
generate.routes.ts—/retry-agentsconnection resolution: Added the same random-pool resolution logic already present in the main/generateroute. Before callinggetWithKey(), resolve"random"to a concrete connection ID by sampling fromconns.listRandomPool().💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.