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
Copy file name to clipboardExpand all lines: .github/workflows/scripts/schemasync/main.go
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -90,6 +90,10 @@ var ignoreGoFields = map[string]string{
90
90
// provider_key_id is the internal DB column resolved from provider_key_name at config load time;
91
91
// schema documents only the human-readable provider_key_name alias.
92
92
"/properties/governance/properties/pricing_overrides/items|provider_key_id": "internal DB column; config uses provider_key_name alias instead",
93
+
// oauth_client_id / oauth_client_secret are response-only fields on MCPClientConfig:
94
+
// populated on GET from the oauth_configs table, never accepted as config.json input.
95
+
"/properties/mcp/properties/client_configs/items|oauth_client_id": "response-only; populated on GET from oauth_configs, not user-configurable via config.json",
96
+
"/properties/mcp/properties/client_configs/items|oauth_client_secret": "response-only; populated on GET from oauth_configs, not user-configurable via config.json",
93
97
}
94
98
95
99
// ignoreGoFieldNames are field names (regardless of parent path) that are
BifrostContextKeyIsAzureUserAgentBifrostContextKey="bifrost-is-azure-user-agent"// bool (set by bifrost - DO NOT SET THIS MANUALLY)) - whether the request is an Azure user agent (only used in gateway)
BifrostContextKeyValidateKeysBifrostContextKey="bifrost-validate-keys"// bool (triggers additional key validation during provider add/update)
265
+
BifrostContextKeyValidateKeysBifrostContextKey="bifrost-validate-keys"// bool (triggers additional key validation during provider add/update)
266
266
BifrostContextKeyProviderResponseHeadersBifrostContextKey="bifrost-provider-response-headers"// map[string]string (set by provider handlers for response header forwarding)
267
267
BifrostContextKeyMCPAddedToolsBifrostContextKey="bifrost-mcp-added-tools"// []string (set by bifrost - DO NOT SET THIS MANUALLY)) - list of tools added to the request by MCP, all the tool are in the format "clientName-toolName"
268
268
BifrostContextKeyLargePayloadModeBifrostContextKey="bifrost-large-payload-mode"// bool (set by bifrost - DO NOT SET THIS MANUALLY)) indicates large payload streaming mode is active
BifrostContextKeySessionIDBifrostContextKey="bifrost-session-id"// string session ID for the request (session stickiness)
287
287
BifrostContextKeySessionTTLBifrostContextKey="bifrost-session-ttl"// time.Duration session TTL for the request (session stickiness)
288
288
BifrostContextKeyMCPExtraHeadersBifrostContextKey="bifrost-mcp-extra-headers"// map[string][]string (these headers are forwarded only to the MCP while tool execution if they are in the allowlist of the MCP client)
289
-
BifrostContextKeyMCPLogIDBifrostContextKey="bifrost-mcp-log-id"// string (unique UUID for each MCP tool log entry - set per goroutine by agent executor - DO NOT SET THIS MANUALLY)
289
+
BifrostContextKeyMCPLogIDBifrostContextKey="bifrost-mcp-log-id"// string (unique UUID for each MCP tool log entry - set per goroutine by agent executor - DO NOT SET THIS MANUALLY)
290
290
BifrostContextKeyCompatConvertTextToChatBifrostContextKey="bifrost-compat-convert-text-to-chat"// bool (per-request override from x-bf-compat header)
291
291
BifrostContextKeyCompatConvertChatToResponsesBifrostContextKey="bifrost-compat-convert-chat-to-responses"// bool (per-request override from x-bf-compat header)
292
292
BifrostContextKeyCompatShouldDropParamsBifrostContextKey="bifrost-compat-should-drop-params"// bool (per-request override from x-bf-compat header)
BifrostContextKeyDimensionsBifrostContextKey="bifrost-dimensions"// map[string]string (set by HTTP transport from x-bf-dim-* headers) BifrostContextKeyDimensions holds per-request key/value dimensions supplied via x-bf-dim-<key> request headers. These dimensions are forwarded to internal logs (as metadata)
296
296
BifrostContextKeySkipModelCatalogProviderSelectionBifrostContextKey="bifrost-skip-model-catalog-provider-selection"// bool (set by bifrost - DO NOT SET THIS MANUALLY)) - skip model catalog provider selection
IsLocalAdminContextKeyBifrostContextKey="is_local_admin"// bool (set by auth middleware when password-based auth succeeds - local admin user bypasses RBAC)
298
+
IsLocalAdminContextKeyBifrostContextKey="is_local_admin"// bool (set by auth middleware when password-based auth succeeds - local admin user bypasses RBAC)
299
+
BifrostContextKeyPassthroughOverridesPresentBifrostContextKey="passthrough_overrides_present"// bool (set by HTTP transport) - passthrough raw request requested
0 commit comments