Skip to content

fix(ai-gateway): forward LongCat user ID header - #5391

Merged
chrarnoldus merged 1 commit into
mainfrom
fix/longcat-user-id-header
Aug 20, 2026
Merged

fix(ai-gateway): forward LongCat user ID header#5391
chrarnoldus merged 1 commit into
mainfrom
fix/longcat-user-id-header

Conversation

@chrarnoldus

Copy link
Copy Markdown
Contributor

Summary

  • forward the gateway hashed user ID to LongCat via Mt-User-Id
  • add focused coverage for the provider request transform

Verification

  • pnpm --filter web test -- --runInBand src/lib/ai-gateway/providers/provider-definitions.test.ts
  • pnpm --filter web lint
  • git diff --check

@chrarnoldus chrarnoldus self-assigned this Aug 20, 2026
@kilo-code-bot

kilo-code-bot Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • apps/web/src/lib/ai-gateway/providers/provider-definitions.ts
  • apps/web/src/lib/ai-gateway/providers/provider-definitions.test.ts

Reviewed by grok-4.6 · Input: 66.3K · Output: 7.4K · Cached: 260.5K

Review guidance: REVIEW.md from base branch main

@WebReflection WebReflection left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simple fix and well tested, not sure why last CI failed but looks good to me.

@chrarnoldus
chrarnoldus merged commit 262fa34 into main Aug 20, 2026
22 of 23 checks passed
@chrarnoldus
chrarnoldus deleted the fix/longcat-user-id-header branch August 20, 2026 08:25
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.

3 participants