Add optional Hey Jude gateway routing
From the PR description
Summary
- Add optional
HEY_JUDE_ENABLEDrouting for Claude, Gemini, and OpenAI model calls. - Route OpenAI through Hey Jude's
/v1/responsescompatibility endpoint when enabled. - Document the minimal Hey Jude environment settings for local setup.
Notes
- Mike still stores original chat text in its database; Hey Jude pseudonymizes prompts before provider calls.
- Full
/chatcurl testing requires a configured Supabase auth environment and valid user token.
Test Plan
npm run build --prefix backend- Live Gemini provider-adapter request through Mike -> Hey Jude -> downstream capture
- Live Anthropic provider-adapter request through Mike -> Hey Jude -> downstream capture
- Live OpenAI complete and streaming Responses requests through Mike -> Hey Jude -> downstream capture
- Capture log checked for raw test entities; downstream payloads did not contain raw
Nick WatsonorGoogle
Our analysis
Add optional Hey Jude gateway to pseudonymize prompts before LLM calls — read the full analysis →
Think the analysis missed something the PR description covers?
Capture this PR into my fork
Download a Markdown prompt that tells Claude how to port every
commit in this PR into your working tree. Run it via
claude -p < capture-pull-151.md from
inside the repo you want the changes in.