You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use smart defaults for Gateway Mode clientId (#67)
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.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [2.7.1] - 2026-01-25
9
9
10
+
### Changed
11
+
12
+
-**Gateway Mode smart defaults**: `getPolicyApprovedContext()` and `auditLLMCall()` now use `"community"` as default clientId when not configured, enabling zero-config usage for community/self-hosted deployments
13
+
10
14
### Fixed
11
15
12
-
-**Gateway Mode credential enforcement**: `getPolicyApprovedContext()` and `auditLLMCall()` now require credentials (clientId), matching Go/Python SDK behavior for consistency across all SDKs
13
16
-**PolicyCategory enum**: Added `PII_SINGAPORE("pii-singapore")` value for Singapore PII detection policies (NRIC, FIN, UEN patterns)
14
17
-**proxyLLMCall clientId auto-injection**: Auto-populate `clientId` from config when not explicitly set in `ClientRequest`, matching Go/Python/TypeScript SDK behavior
0 commit comments