mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7965] [MERGED] feat(review): let a Dottore model use the OpenAI Responses endpoint #8029
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8029
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7965
Author: @Promansis
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @Promansis
Base:
staging← Head:feature(review)/7961-dottore-responses-api📝 Commits (10+)
e6ece4bfeat(review): let a Dottore model use the OpenAI Responses endpoint26ae54cMerge remote-tracking branch 'upstream/staging' into feature(review)/7961-dottore-responses-apied9f20ffix(review): treat cut-off Responses replies as capped and retry only transient failures48b3f76Merge remote-tracking branch 'upstream/staging' into feature(review)/7961-dottore-responses-api8b3f88aMerge branch 'staging' into feature(review)/7961-dottore-responses-apia775470fix(review): retry a capped keep reply instead of returning an empty list9b62e00Merge remote-tracking branch 'upstream/staging' into feature(review)/7961-dottore-responses-api8a7815eMerge branch 'staging' into feature(review)/7961-dottore-responses-api9e8a961Merge branch 'staging' into feature(review)/7961-dottore-responses-api5fb58acMerge branch 'staging' into feature(review)/7961-dottore-responses-api📊 Changes
2 files changed (+146 additions, -21 deletions)
View changed files
📝
.github/dottore-review/README.md(+10 -6)📝
.github/dottore-review/dottore_review.py(+136 -15)📄 Description
Linked issue
Closes #7961
Why this change
/v1/responses), or accept tool calls with reasoning only there. On those providers a GPT model cannot be Dottore's small or large model at all, and the team wants to use GPT models there.What changed
DOTTORE_SMALL_APIandDOTTORE_LARGE_APIaccept a third value,responses. A model set to it is called through OpenAI's Responses format, with the same key and base URL settings asopenai.openaiandanthropicsettings behave as before.Validation
pnpm checkpasses locallyCONTRIBUTING.mdCommands run on
9b62e002d(the pushed head), except the first offline proof and the live probe. Those ran oned9f20fd2, and the Responses provider code has not changed since apart from one log message:pnpm checkpython -m py_compile .github/dottore-review/dottore_review.pygit diff --check upstream/staging...HEADALL PASSALL PASS(7 cases); 5 of them fail on8b3f88a5d, before the repairPASS, under $0.00001model_slotacceptingresponses, and the input conversion: item order, matchingcall_ids, resent reasoning and system text asinstructions. It checks the request shape:store=False,include, effort,prompt_cache_key, tools only when present, andauto,requiredand named tool choice. It also covers the completed and incomplete final events, the usage mapping, failed responses backing off 15 s then 45 s, stalls and timeouts, and the stream counters. After Dottore's review it also checks that an incomplete response drops its tool call and setscapped, and thatinvalid_promptfails at once whilerate_limit_exceeded,server_errorand a codeless failure retry.run_agentthroughchatand the Responses provider with a stubbed stream and the pinned SDKs. A scout reply cut off mid-call retries once at the next lower effort and returns the retried places, including when the submit tool was forced. A second cap raises when nothing was kept, and returns the earlier places when some were. A scout already at the lowest effort raises at once. A real empty submission still returns an empty list without a retry, and the non-scout path is unchanged. A failure without a message readsthe response failed: the provider gave no message.https://linkapi.ai/v1,gpt-6-luna, efforthigh). Turn 1 made a forced tool call. Turn 2 answered from the tool result with reasoning. Turn 3 resent turn 2's encrypted reasoning item, and the provider accepted it and answered correctly.26ae54c19: one Medium and one Low, both repaired ined9f20fd2(see the threads), and a README nitpick about/v1, also fixed.48b3f7699: one Medium, a capped scout reply returned as an empty list, repaired ina77547087. Of its two nitpicks, the failure message is fixed. The retryable codes stay inline, where the comment beside them explains each one.Manual verification notes
DOTTORE_<SLOT>_API=responses. TheDottore roles:log line should showresponses, the review should complete, and the cost line should be non-zero.responses, if one will be used. Every request asks forreasoning.encrypted_content, and only reasoning models were tested.Known limits:
DOTTORE_SMALL_API=anthropic.Merge Danger
Door: two-way
The Responses provider changes nothing until a repository sets
responses. The cap change in the agent loop applies to every provider: a scout reply cut off at its output cap now retries once at a lower effort instead of returning no places. Reverting the commits restores the old behavior.Blast Radius: Dottore-only
Only the Dottore review tooling under
.github/dottore-review/changes. Marinara-Agents pins its wrapper to an Engine commit, so it picks this up only after a separate pin PR.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)The only doc change is
.github/dottore-review/README.md, which is not underdocs/, so no translated pack follows it.UI evidence (if applicable)
Not applicable: no UI change.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.