Skip to content

Conversation

@saurabhjain1592
Copy link
Member

Summary

  • Gateway Mode methods (getPolicyApprovedContext, auditLLMCall) now require credentials (clientId), matching Go/Python SDK behavior for consistency across all SDKs
  • The requireCredentials() method was previously defined but never called - this fix activates it for Gateway Mode operations

Test plan

  • Verify getPolicyApprovedContext() throws AuthenticationException when clientId is not configured
  • Verify auditLLMCall() throws AuthenticationException when clientId is not configured
  • Verify both methods work normally when clientId is configured
  • Run existing tests: mvn test

Gateway Mode methods (getPolicyApprovedContext, auditLLMCall) now
require credentials (clientId), matching Go/Python SDK behavior
for consistency across all SDKs.

The requireCredentials() method was previously defined but never
called - this fix activates it for Gateway Mode operations.
@saurabhjain1592 saurabhjain1592 merged commit b287934 into main Jan 25, 2026
9 checks passed
@saurabhjain1592 saurabhjain1592 deleted the fix/gateway-require-credentials branch January 27, 2026 10:45
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