Skip to content

Conversation

@saurabhjain1592
Copy link
Member

Summary

  • Replace _require_credentials() with _get_effective_client_id() that returns "community" as default when client_id is not configured
  • Enables zero-config usage for community/self-hosted deployments
  • Gateway Mode methods (get_policy_approved_context, audit_llm_call) now work without requiring credentials

Test plan

  • Verify Gateway Mode methods work without credentials configured (uses "community" default)
  • Verify Gateway Mode methods work with explicit credentials configured
  • Run existing tests to ensure no regressions

@saurabhjain1592 saurabhjain1592 force-pushed the fix/gateway-smart-defaults branch 2 times, most recently from fe869ec to f20c64d Compare January 25, 2026 21:15
Replace _require_credentials() with _get_effective_client_id() that returns
"community" as default when client_id is not configured. This enables
zero-config usage for community/self-hosted deployments while still
supporting enterprise deployments with explicit credentials.

Gateway Mode methods (get_policy_approved_context, audit_llm_call) now work
without requiring credentials to be configured.
@saurabhjain1592 saurabhjain1592 force-pushed the fix/gateway-smart-defaults branch from f20c64d to 5a999ce Compare January 25, 2026 21:18
@saurabhjain1592 saurabhjain1592 merged commit e830f3e into main Jan 25, 2026
13 checks passed
@saurabhjain1592 saurabhjain1592 deleted the fix/gateway-smart-defaults branch January 25, 2026 21:20
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