Skip to content

[codex] Put VPN and proxy Freebuff users in limited mode#726

Merged
jahooma merged 2 commits into
mainfrom
jahooma/limited-mode-for-vpn-proxy
May 23, 2026
Merged

[codex] Put VPN and proxy Freebuff users in limited mode#726
jahooma merged 2 commits into
mainfrom
jahooma/limited-mode-for-vpn-proxy

Conversation

@brandonkachen
Copy link
Copy Markdown
Collaborator

Summary

  • Stop treating corroborated VPN/proxy/residential-proxy Freebuff privacy detections as a hard block.
  • Let those requests flow through the existing limited-mode path, which restricts access to DeepSeek V4 Flash.
  • Keep Cloudflare Tor country detection as a hard block.
  • Update Freebuff session/chat completion tests and docs to match the new behavior.

Validation

  • bun test web/src/server/__tests__/free-mode-country.test.ts web/src/app/api/v1/freebuff/session/__tests__/session.test.ts web/src/app/api/v1/chat/completions/__tests__/completions.test.ts
  • bun run --cwd common typecheck
  • bun run --cwd web typecheck
  • git diff --check

@jahooma jahooma marked this pull request as ready for review May 23, 2026 05:21
@jahooma jahooma merged commit 83da0c2 into main May 23, 2026
35 checks passed
@jahooma jahooma deleted the jahooma/limited-mode-for-vpn-proxy branch May 23, 2026 05:39
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.

2 participants