Repository navigation
docs: document Impact Relay OpenAI-compatible gateway setup - #3418
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Yeachan-Heo
left a comment
There was a problem hiding this comment.
✅ PR #3418 Technical Review: Impact Relay Gateway Documentation
Verification Summary
All technical claims have been verified against rust/crates/api/src/providers/mod.rs:
Routing & Transport Claims (All Verified ✅)
-
local/prefix routes to OpenAI-compatible transport: CORRECT- Code: Line 265-272,
local/→ ProviderKind::OpenAi - Prefix stripping verified at Line 310-313
- Code: Line 265-272,
-
Bare model routing without
local/prefix:claude-*→ Anthropic native route ✅ (Line 236-237)grok-*→ xAI ✅ (Line 243-250)kimi-*→ DashScope ✅ (Line 288-298)
-
Default max output tokens: 64,000 ✅
- Code: Line 625-630, heuristic default is 64_000
- Verified in test suite: Lines 1342, 1350
-
Impact Relay model limit handling: Accurate
- Claw requests 64,000, server enforces model limit
- Standard OpenAI-compatible API behavior
Style & Consistency
✅ Format matches TrustedRouter precedent section exactly
✅ Examples, curl patterns, and documentation links aligned
✅ Disclosure of vendor affiliation appropriate
Marketing Language Review
✅ Description "pay-per-token OpenAI-compatible gateway with one key and one prepaid balance" is factually descriptive
✅ Pricing info (free model IDs) is informational, helpful
✅ Consistent with style in Straitly, TeamoRouter, TrustedRouter sections
Recommendation
APPROVE — All technical claims verified correct. No problematic language. Ready to merge once CI passes.
Summary
docs/local-openai-compatible-providers.md, after the TrustedRouter section. Docs only, one file.local/hatch for Impact Relay's bare model ids (gpt-6.2-sol,claude-sonnet-5-5,grok-4.7), the 64,000-token default against each model's output limit, and the keyless public catalog command.Anti-slop triage
deepseek-v4.1-flash-freeat 32,000 max output tokens and zero price. A raw/v1/chat/completionsrequest for that model withmax_tokens: 64000returnedHELLO_WORLD_123, so the gateway does not reject the larger value. Thelocal/,claude-,grok-andkimi-routing statements matchmetadata_for_modelinrust/crates/api/src/providers/mod.rs. I did not run a liveclaw ... promptfor this PR.Verification
python3 .github/scripts/check_doc_source_of_truth.pyandcheck_release_readiness.pypass. No Rust code changed, socargo testwasn't run.)git diff --checkpasses.Resolution gate
Disclosure: I'm with the Impact Relay team.
🤖 Generated with Claude Code