Normalize real OpenRouter reasoning-only responses #24
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/prolog-rlm!24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/openrouter-reasoning-response"
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?
Follow-up to #5 based on a real post-merge
mainCI failure.The failed live run proved OpenRouter accepted the request and returned HTTP 200, but the dynamically routed free model consumed the tiny output budget in reasoning output and returned no user-facing
contentor tool calls. The adapter incorrectly classified that as an invalid empty response.Fix
message.reasoningandmessage.reasoning_detailsreasoninggeneration optionTests
text_presentandreasoning_present; no response content or reasoning text is loggedNo retries, mocks, fixtures, interception, fake fallback, Python runtime, or credential persistence are introduced.