[GH-ISSUE #1899] Unset agent temperature no longer defaults to legacy 0.3 #922

Closed
opened 2026-10-21 05:23:35 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Xelvanis on GitHub (Jun 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1899

Summary

Unset agent temperature appears to have changed from the legacy default of 0.3 to provider/runtime default behavior.

Evidence

Refactor behavior:

  • src/engine/agents-runtime/executor/agent-executor.ts returns undefined when config.settings.temperature is not a number.
  • Built-in default agent settings set maxTokens, but do not appear to set a temperature default for every agent.

Legacy behavior:

  • Legacy agent execution used (config.settings.temperature as number) ?? 0.3.
  • The legacy comment described lower temperature as intentional for agent reliability.

Impact

Agents with no explicit temperature can run at provider or chat defaults instead of the legacy lower reliability-oriented value. That can make structured JSON agents and post-processing agents less deterministic.

Expected

Decide whether the refactor should preserve the legacy default of 0.3 for unset agent temperature. If yes, apply the default in the runtime path or normalize it into agent settings before execution.

Notes

This is a parity finding from static inspection, not a confirmed app-level behavior repro.

Originally created by @Xelvanis on GitHub (Jun 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1899 ### Summary Unset agent temperature appears to have changed from the legacy default of `0.3` to provider/runtime default behavior. ### Evidence Refactor behavior: - `src/engine/agents-runtime/executor/agent-executor.ts` returns `undefined` when `config.settings.temperature` is not a number. - Built-in default agent settings set `maxTokens`, but do not appear to set a temperature default for every agent. Legacy behavior: - Legacy agent execution used `(config.settings.temperature as number) ?? 0.3`. - The legacy comment described lower temperature as intentional for agent reliability. ### Impact Agents with no explicit temperature can run at provider or chat defaults instead of the legacy lower reliability-oriented value. That can make structured JSON agents and post-processing agents less deterministic. ### Expected Decide whether the refactor should preserve the legacy default of `0.3` for unset agent temperature. If yes, apply the default in the runtime path or normalize it into agent settings before execution. ### Notes This is a parity finding from static inspection, not a confirmed app-level behavior repro.
Author
Owner

@SpicyMarinara commented on GitHub (Jun 2, 2026):

This is my change, I did that, please don't burn me on a stake. Since we allow the users to customize parameters now when setting up a connection, I believe this is where they should optionally change it to 0.3. The temperature worked terribly with some agents, especially the writing ones.

<!-- gh-comment-id:4601477312 --> @SpicyMarinara commented on GitHub (Jun 2, 2026): This is my change, I did that, please don't burn me on a stake. Since we allow the users to customize parameters now when setting up a connection, I believe this is where they should optionally change it to 0.3. The temperature worked terribly with some agents, especially the writing ones.
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#922
No description provided.