From 0cd2435aff285c3bb368d1d14e9d759a10968129 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 6 Aug 2024 12:07:21 -0700 Subject: [PATCH] doc forward_headers --- docs/my-website/docs/proxy/pass_through.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/my-website/docs/proxy/pass_through.md b/docs/my-website/docs/proxy/pass_through.md index d557b81bd..4554f8013 100644 --- a/docs/my-website/docs/proxy/pass_through.md +++ b/docs/my-website/docs/proxy/pass_through.md @@ -35,6 +35,7 @@ general_settings: Authorization: "bearer os.environ/COHERE_API_KEY" # (Optional) Auth Header to forward to your Endpoint content-type: application/json # (Optional) Extra Headers to pass to this endpoint accept: application/json + forward_headers: True # (Optional) Forward all headers from the incoming request to the target endpoint ``` **Step 2** Start Proxy Server in detailed_debug mode @@ -220,6 +221,7 @@ general_settings: * `LANGFUSE_PUBLIC_KEY` *string*: Your Langfuse account public key - only set this when forwarding to Langfuse. * `LANGFUSE_SECRET_KEY` *string*: Your Langfuse account secret key - only set this when forwarding to Langfuse. * `` *string*: Pass any custom header key/value pair + * `forward_headers` *Optional(boolean)*: If true, all headers from the incoming request will be forwarded to the target endpoint. Default is `False`. ## Custom Chat Endpoints (Anthropic/Bedrock/Vertex)