Does the gateway change my requests?
Only where it has to. The gateway forwards the native provider request body with these changes:
- It removes the
<credential>:prefix frommodel. - It replaces the authentication headers with your organization's provider credential, and doesn't forward
langfuse-*headers or yourx-request-id. - On streamed Chat Completions requests, it asks the provider for usage. See streaming usage.
The response is relayed unchanged. The gateway reads the request and response to record the generation.
Was this page helpful?
Last updated on