[GH-ISSUE #324] [Issue]: Advanced Parameters not sent to connection #136

Closed
opened 2026-10-20 17:25:32 +07:00 by bsakaguchi · 3 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

"Advanced Parameters" settings are not sent to the Oobabooga (OAI-Compatible) server.

What should have happened?

The parameters are sent with the request.

Steps to reproduce

  1. Create a connection to a Oobabooga server with custom parameters (temperature, top p, etc.)
  2. Start a chat with that connection and parameters
  3. Send a message
  4. Check the Oobabooga server logs

Environment

  • Marinara Engine version: v1.5.6 Build: 87940ed
  • Install type: Docker
  • OS + version: Windows 10
  • Browser or app shell: Chromium

Logs, screenshots, or video

Here are the chat settings. Temperature=0.8 and Top-P=0.95

Image

Here are the parameters in Oobabooga logs. Note temperature=1.0 and top_p=1.0.

GENERATE_PARAMS=                                       
{   'temperature': 1.0,
    'dynatemp_range': 0,
    'dynatemp_exponent': 1,
    'top_k': 0,
    'top_p': 1.0,
    'min_p': 0,
    'top_n_sigma': -1,
    'typical_p': 1,
    'repeat_penalty': 1,
    'repeat_last_n': 1024,
    'presence_penalty': 0,
    'frequency_penalty': 0,
    'dry_multiplier': 0,
    'dry_base': 1.75,
    'dry_allowed_length': 2,
    'dry_penalty_last_n': 1024,
    'xtc_probability': 0,
    'xtc_threshold': 0.1,
    'mirostat': 0,
    'mirostat_tau': 5,
    'mirostat_eta': 0.1,
    'grammar': '',
    'seed': 1668644719,
    'ignore_eos': False,
    'dry_sequence_breakers': ['\n', ':', '"', '*'],
    'n_predict': 4096,
    'stream': True,
    'cache_prompt': True}

Additional context

I don't know how to examine the Marinara Engine http request, so I have to rely on the Oobabooga logs.

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 @rgwb10 on GitHub (Apr 30, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/324 Originally assigned to: @SpicyMarinara on GitHub. ## Summary <!-- What is wrong in one or two sentences? --> "Advanced Parameters" settings are not sent to the Oobabooga (OAI-Compatible) server. ### What should have happened? The parameters are sent with the request. <!-- What happened instead? --> ## Steps to reproduce 1. Create a connection to a Oobabooga server with custom parameters (temperature, top p, etc.) 2. Start a chat with that connection and parameters 3. Send a message 4. Check the Oobabooga server logs ## Environment - Marinara Engine version: v1.5.6 Build: 87940ed - Install type: Docker - OS + version: Windows 10 - Browser or app shell: Chromium ## Logs, screenshots, or video Here are the chat settings. Temperature=0.8 and Top-P=0.95 <img width="320" height="554" alt="Image" src="https://github.com/user-attachments/assets/a995b74d-44c9-489d-ab31-b761cd132383" /> Here are the parameters in Oobabooga logs. Note `temperature=1.0` and `top_p=1.0`. ``` GENERATE_PARAMS= { 'temperature': 1.0, 'dynatemp_range': 0, 'dynatemp_exponent': 1, 'top_k': 0, 'top_p': 1.0, 'min_p': 0, 'top_n_sigma': -1, 'typical_p': 1, 'repeat_penalty': 1, 'repeat_last_n': 1024, 'presence_penalty': 0, 'frequency_penalty': 0, 'dry_multiplier': 0, 'dry_base': 1.75, 'dry_allowed_length': 2, 'dry_penalty_last_n': 1024, 'xtc_probability': 0, 'xtc_threshold': 0.1, 'mirostat': 0, 'mirostat_tau': 5, 'mirostat_eta': 0.1, 'grammar': '', 'seed': 1668644719, 'ignore_eos': False, 'dry_sequence_breakers': ['\n', ':', '"', '*'], 'n_predict': 4096, 'stream': True, 'cache_prompt': True} ``` ## Additional context I don't know how to examine the Marinara Engine http request, so I have to rely on the Oobabooga logs. ## 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-20 17:25:32 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@somesillyusername commented on GitHub (Apr 30, 2026):

Can confirm similar behavior with llamacpp

<!-- gh-comment-id:4355952743 --> @somesillyusername commented on GitHub (Apr 30, 2026): Can confirm similar behavior with llamacpp
Author
Owner

@rgwb10 commented on GitHub (May 1, 2026):

Did some debugging. It looks like it checks if the chat has Advanced Parameters. If the chat doesn't override the Connection's parameters, then the chat won't have its own Advanced Parameters. In that case it defaults to these values in generate.routes.ts

      let temperature = 1;
      let maxTokens = 4096;
      let topP: number | undefined = 1;
      let topK = 0;
      let frequencyPenalty = 0;
      let presencePenalty = 0;
      let showThoughts = true;
      let reasoningEffort: "low" | "medium" | "high" | "maximum" | null = null;
      let verbosity: "low" | "medium" | "high" | null = null;
      let wrapFormat: "xml" | "markdown" | "none" = "xml";

It's not falling back to the connection's parameters if the chat parameters are not set.

You can test this by changing any of the connection parameters in the chat, then try generating. It will then show the connection parameters that the chat uses.

<!-- gh-comment-id:4357346425 --> @rgwb10 commented on GitHub (May 1, 2026): Did some debugging. It looks like it checks if the chat has Advanced Parameters. If the chat doesn't override the Connection's parameters, then the chat won't have its own Advanced Parameters. In that case it defaults to these values in `generate.routes.ts` ```ts let temperature = 1; let maxTokens = 4096; let topP: number | undefined = 1; let topK = 0; let frequencyPenalty = 0; let presencePenalty = 0; let showThoughts = true; let reasoningEffort: "low" | "medium" | "high" | "maximum" | null = null; let verbosity: "low" | "medium" | "high" | null = null; let wrapFormat: "xml" | "markdown" | "none" = "xml"; ``` It's not falling back to the connection's parameters if the chat parameters are not set. You can test this by changing any of the connection parameters in the chat, then try generating. It will then show the connection parameters that the chat uses.
Author
Owner

@SpicyMarinara commented on GitHub (May 3, 2026):

v1.5.7

<!-- gh-comment-id:4366493166 --> @SpicyMarinara commented on GitHub (May 3, 2026): v1.5.7
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#136
No description provided.