Skip to content

docs(errors): the debug field is redacted, not raw upstream text - #96

Merged
VickyXAI merged 1 commit into
mainfrom
docs/debug-field-is-redacted
Sep 10, 2026
Merged

VickyXAI merged 1 commit into
mainfrom
docs/debug-field-is-redacted

Conversation

@VickyXAI

Copy link
Copy Markdown
Contributor

The doc promised debug "carries the raw upstream text". Raw was the bug.

Reproduced unauthenticated against production on 2026-09-10:

POST /v1/chat/completions  {"model":"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning", …}
→ "debug": "404 No endpoints found … visit: https://openrouter.ai/docs/guides/routing/provider-selection"

That model's owned_by is deliberately rewritten away from the conduit. The debug string undid it in the same response.

Gateway fix in BlockRunAI/blockrun. This just makes the documented contract match: credentials, URLs and routing infrastructure are stripped; the status code and the upstream's description of the fault survive, so the field still supports a bug report.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GJ6wG4k5TgeUgYneCMz1oc

It promised "raw upstream text", and raw was the bug. Reproduced unauthenticated
against production on 2026-09-10: requesting nvidia/nemotron-3-nano-omni-30b-a3b-reasoning
returned a debug string linking to openrouter.ai, for a model whose owned_by is
deliberately rewritten to nvidia. Gateway fix in BlockRunAI/blockrun.

Credentials, URLs and routing infrastructure are now stripped before the
response is sent. The status code and the upstream's description of the fault
survive, so the field still supports a bug report.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GJ6wG4k5TgeUgYneCMz1oc
@VickyXAI
VickyXAI merged commit 20cfd0b into main Sep 10, 2026
1 check passed
@VickyXAI
VickyXAI deleted the docs/debug-field-is-redacted branch September 10, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant