Files
homelab/k8s/argocd/secrets
Story Crater Bot 6fb9b7cf1e fix(agent-pod): send Kong apikey via provider-level headers, not compat.customHeaders
pi's openai-completions handler (pi-ai/dist/api/openai-completions.js)
reads model.headers (populated from a provider-level "headers" field
in the config), not compat.customHeaders -- that field only gets read
by the Bedrock handler. Without it, pi used the openai SDK's default
Authorization: Bearer <apiKey>, which Kong's key-auth plugin rejects
(verified via direct fetch: apikey header -> 200, Bearer -> 401,
plugin does not strip the Bearer prefix). Moved the apikey header to
the correct provider-level "headers" field.
2026-08-16 06:47:33 -07:00
..