[GH-ISSUE #292] [Issue]: Claude Subscription connection fails from /scene in DMs #119

Closed
opened 2026-10-20 17:25:20 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Morgul on GitHub (Apr 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/292

Summary

Calling /scene from a DM with the Claude Subscription connection selected fails. The route attempts to resolve a normal base URL for the connection, and after that is fixed the Claude Agent SDK request can still fail because it is limited to one turn.

Expected behavior

The Claude Subscription connection should work with /scene from a DM, using the local Claude Agent SDK path instead of requiring a configured HTTP base URL. Scene generation should be allowed to complete normally.

Actual behavior

Scene creation fails when Claude Subscription is selected.

Observed errors include:

No base URL configured for this connection
[commands] Scene creation failed
Claude (Subscription) request failed (error_max_turns) — Reached maximum number of turns (1)

Steps to reproduce

  1. Configure Claude Subscription as the active connection.
  2. Open or start a DM conversation.
  3. Run /scene.
  4. Observe that scene creation fails.

Environment

  • Marinara Engine version: 1.5.5 / current source checkout
  • Install type: source
  • OS + version: macOS 15.7.4
  • Browser or app shell: local web app
  • Connection: Claude Subscription

Logs, screenshots, or video

Relevant local logs:

{"level":50,"err":{"type":"Error","message":"No base URL configured for this connection"},"msg":"No base URL configured for this connection"}
{"level":50,"err":{"type":"Error","message":"Scene plan failed"},"msg":"[commands] Scene creation failed"}
{"level":50,"err":{"type":"Error","message":"Claude (Subscription) request failed (error_max_turns) — Reached maximum number of turns (1)"},"msg":"Claude Agent SDK query failed for model claude-sonnet-4-6"}

Additional context

The failure was first encountered via /scene from a DM while Claude Subscription was selected. The local fix treats Claude Subscription as a local SDK-backed connection for helper routes and avoids forcing maxTurns: 1.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Morgul on GitHub (Apr 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/292 ## Summary Calling `/scene` from a DM with the Claude Subscription connection selected fails. The route attempts to resolve a normal base URL for the connection, and after that is fixed the Claude Agent SDK request can still fail because it is limited to one turn. ## Expected behavior The Claude Subscription connection should work with `/scene` from a DM, using the local Claude Agent SDK path instead of requiring a configured HTTP base URL. Scene generation should be allowed to complete normally. ## Actual behavior Scene creation fails when Claude Subscription is selected. Observed errors include: ```text No base URL configured for this connection [commands] Scene creation failed Claude (Subscription) request failed (error_max_turns) — Reached maximum number of turns (1) ``` ## Steps to reproduce 1. Configure Claude Subscription as the active connection. 2. Open or start a DM conversation. 3. Run `/scene`. 4. Observe that scene creation fails. ## Environment - Marinara Engine version: 1.5.5 / current source checkout - Install type: source - OS + version: macOS 15.7.4 - Browser or app shell: local web app - Connection: Claude Subscription ## Logs, screenshots, or video Relevant local logs: ```text {"level":50,"err":{"type":"Error","message":"No base URL configured for this connection"},"msg":"No base URL configured for this connection"} {"level":50,"err":{"type":"Error","message":"Scene plan failed"},"msg":"[commands] Scene creation failed"} {"level":50,"err":{"type":"Error","message":"Claude (Subscription) request failed (error_max_turns) — Reached maximum number of turns (1)"},"msg":"Claude Agent SDK query failed for model claude-sonnet-4-6"} ``` ## Additional context The failure was first encountered via `/scene` from a DM while Claude Subscription was selected. The local fix treats Claude Subscription as a local SDK-backed connection for helper routes and avoids forcing `maxTurns: 1`. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@SpicyMarinara commented on GitHub (Apr 28, 2026):

Thank you for the PR!

<!-- gh-comment-id:4337052424 --> @SpicyMarinara commented on GitHub (Apr 28, 2026): Thank you for the PR!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#119
No description provided.