mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #246] [MERGED] fix(connections): allow Claude (Subscription) chats past the baseUrl gate #4529
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#4529
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/246
Author: @LukaTheHero
Created: 4/26/2026
Status: ✅ Merged
Merged: 4/26/2026
Merged by: @LukaTheHero
Base:
main← Head:fix/claude-subscription-base-url-gate📝 Commits (1)
bf379e8fix(connections): allow Claude (Subscription) chats past the baseUrl gate📊 Changes
2 files changed (+7 additions, -0 deletions)
View changed files
📝
packages/server/src/routes/conversation.routes.ts(+3 -0)📝
packages/server/src/routes/generate/generate-route-utils.ts(+4 -0)📄 Description
Summary
No base URL configured for this connection, even though the connection test and test-message both succeeded.claude logincredentials), so itsdefaultBaseUrlis"".resolveBaseUrl()therefore returned"", and the chat paths ingenerate.routes.tsandconversation.routes.tsboth reject empty baseUrls. The test-message endpoint had an inline exemption; the chat paths did not.resolveBaseUrl()(both copies) so a sentinel is returned forclaude_subscription. TheClaudeSubscriptionProviderignoresbaseUrlentirely, so the sentinel is harmless — it just clears the precondition.Test plan
pnpm checkpasses (typecheck + lint + build).claude_subscriptionconnection still works.claude_subscriptionconnection → no longer errors with "No base URL configured…".claude_subscriptionconnection no longer errors at the baseUrl gate.Notes
A few non-chat features (character-maker, lorebook-maker, encounter, scene, persona-maker, translate, prompt-reviewer, game) build their baseUrl inline with the same gate. They are not affected by user reports yet but would hit the same wall if pointed at a
claude_subscriptionconnection — worth a follow-up if we want full coverage.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.