mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1887] [Issue]: Custom endpoints receive invalid response_format.type during setup #1804
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1804
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?
Originally created by @SpicyMarinara on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1887
Originally assigned to: @SpicyMarinara on GitHub.
Summary
When setting up an Otome Hearth connection using a custom OpenAI-compatible endpoint, Marinara sends an unsupported response_format.type value. The endpoint rejects the request with HTTP 400.
Expected behavior
Marinara should send a response_format.type value supported by the custom endpoint, such as json_schema or text, or omit the field when unsupported.
Actual behavior
The custom endpoint returns HTTP 400 because response_format.type is not json_schema or text. A similar issue may occur when requesting a premise.
Steps to reproduce
Environment
Logs, screenshots, or video
Attached text log: otomehearthsetuperror.txt. Relevant error: LLMHttpError: Custom OpenAI-compatible endpoint error 400: 'response_format.type' must be 'json_schema' or 'text'.
Additional context
Connection provider: custom. Active connection: Gutenberg Heretic. LLM model: gemma4-gutenberg-31b-i1. The reporter noted that requesting a premise may produce the same error, but worked around it by creating one manually. Server GPU: NVIDIA GeForce RTX 3090; client GPU: NVIDIA GeForce GTX 980 or similar.
Discord thread: [Otome Hearth] setup sending wrong response_format.type to custom endpoints
Discord thread link: https://discord.com/channels/1417099416812392641/1565451844547903548
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 29, 2026):
Owner: @SpicyMarinara (Codex). I am tracing Otome Hearth setup/premise structured-output requests through the existing Engine provider boundary. I will reproduce the reported custom-endpoint 400 and fix the owning layer while preserving JSON validation and existing output-token budgets.
@SpicyMarinara commented on GitHub (Oct 29, 2026):
Implemented, merged to staging and published as Otome Hearth 0.1.12. Delivery and validation receipt: https://github.com/Pasta-Devs/Marinara-Agents/pull/1888#issuecomment-6508294824. Required pre-merge gates passed; post-merge and optional workflow states are recorded separately in that receipt.