[GH-ISSUE #6038] [Issue]: Some Tools don't work when no model is set for local instance #3345

Closed
opened 2026-10-21 06:02:11 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kirk56k on GitHub (Sep 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6038

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Agent Re-Run and Out of Turn illustrator don't work with local model definition when no model is set. If you setup a local AI inference engine and don't specify a model, these tools refuse to run, stating that no model is set. However, the basic chat itself works fine with whatever model is currently loaded.

Expected behavior

Tools and chat should both use whatever model is currently loaded in the specified connection if no model is directly specified.

Actual behavior

Only the chat works, most extra tools don't seem to work. Strangely, the agents work fine if they are called as part of creating a new chat entry, but if you call them separately, they fail.

Steps to reproduce

  1. Setup a Local Open AI Compatable Inference Engine (LLama.cpp in my case)
  2. Do not specify a model when setting up the connection (leave it blank)
  3. Setup a chat to use that connection, enable several agents (trackers in particular) for this chat
  4. Initiate a chat instance (type something for your Persona to say/do)
  5. Note that the chat itself as well as all agents run correctly without issue
  6. Then click the Agent button and select Re-Run Agents
  7. Note that this action fails stating that the connection does not have a model specified

Environment

  • Marinara Engine version: Latest
  • Install type: Source
  • OS + version: Windows 11
  • Browser or app shell: Browser (Firefox)

Logs, screenshots, or video

Additional context

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @kirk56k on GitHub (Sep 10, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6038 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Agent Re-Run and Out of Turn illustrator don't work with local model definition when no model is set. If you setup a local AI inference engine and don't specify a model, these tools refuse to run, stating that no model is set. However, the basic chat itself works fine with whatever model is currently loaded. ## Expected behavior Tools and chat should both use whatever model is currently loaded in the specified connection if no model is directly specified. ## Actual behavior Only the chat works, most extra tools don't seem to work. Strangely, the agents work fine if they are called as part of creating a new chat entry, but if you call them separately, they fail. ## Steps to reproduce 1. Setup a Local Open AI Compatable Inference Engine (LLama.cpp in my case) 2. Do not specify a model when setting up the connection (leave it blank) 3. Setup a chat to use that connection, enable several agents (trackers in particular) for this chat 4. Initiate a chat instance (type something for your Persona to say/do) 5. Note that the chat itself as well as all agents run correctly without issue 6. Then click the Agent button and select Re-Run Agents 7. Note that this action fails stating that the connection does not have a model specified ## Environment - Marinara Engine version: Latest - Install type: Source - OS + version: Windows 11 - Browser or app shell: Browser (Firefox) ## Logs, screenshots, or video <!-- Paste relevant logs and add screenshots when possible --> ## Additional context <!-- Optional: related issue links, temporary workaround, etc. --> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:02:11 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 12, 2026):

Owner: @SpicyMarinara (Codex). The maintainer has requested that this issue be completed in the assigned issue sweep, tracked in draft PR #6072. Existing contributor patches and previously completed translations will be reviewed and reused with attribution; the final PR will document the implementation and verification before this issue is closed.

<!-- gh-comment-id:5644875630 --> @SpicyMarinara commented on GitHub (Sep 12, 2026): Owner: @SpicyMarinara (Codex). The maintainer has requested that this issue be completed in the assigned issue sweep, tracked in draft PR #6072. Existing contributor patches and previously completed translations will be reviewed and reused with attribution; the final PR will document the implementation and verification before this issue is closed.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 12, 2026):

Fixed in #6072, merged into staging.

The existing local-connection classification now allows an empty/default model for agent reruns, manual Illustrator, captioning, and auxiliary text calls, matching normal chat. Cloud connections still require a model. Provider fixtures verified agent reruns and manual Illustrator requests carrying the blank model.

<!-- gh-comment-id:5645731973 --> @SpicyMarinara commented on GitHub (Sep 12, 2026): Fixed in #6072, merged into `staging`. The existing local-connection classification now allows an empty/default model for agent reruns, manual Illustrator, captioning, and auxiliary text calls, matching normal chat. Cloud connections still require a model. Provider fixtures verified agent reruns and manual Illustrator requests carrying the blank model.
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#3345
No description provided.