Skip to content

Conversation

@saurabhjain1592
Copy link
Member

Summary

  • Replace requireCredentials() with getEffectiveClientId() that returns "community" as default when clientId is not configured
  • Enables zero-config usage for community/self-hosted deployments
  • Gateway Mode methods (getPolicyApprovedContext, auditLLMCall) 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 from 2696058 to 0274e9a Compare January 25, 2026 21:10
Replace requireCredentials() with getEffectiveClientId() that returns
"community" as default when clientId is not configured. This enables
zero-config usage for community/self-hosted deployments while still
supporting enterprise deployments with explicit credentials.

Gateway Mode methods (getPolicyApprovedContext, auditLLMCall) now work
without requiring credentials to be configured.
@saurabhjain1592 saurabhjain1592 force-pushed the fix/gateway-smart-defaults branch from 0274e9a to 74e8a82 Compare January 25, 2026 21:17
@saurabhjain1592 saurabhjain1592 merged commit 938b5dd into main Jan 25, 2026
9 checks passed
@saurabhjain1592 saurabhjain1592 deleted the fix/gateway-smart-defaults branch January 25, 2026 21:19
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