Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

small fix code snippet custom_prompt_management.md

Davi S. Zucon9d944b1404ed
diff --git a/docs/my-website/docs/proxy/custom_prompt_management.md b/docs/my-website/docs/proxy/custom_prompt_management.md
index 72a73332768..98e5228af36 100644
--- a/docs/my-website/docs/proxy/custom_prompt_management.md
+++ b/docs/my-website/docs/proxy/custom_prompt_management.md
@@ -127,7 +127,9 @@ client = OpenAI(
response = client.chat.completions.create(
model="gemini-1.5-pro",
messages=[{"role": "user", "content": "hi"}],
- prompt_id="1234"
+ extra_body={
+ "prompt_id": "1234"
+ }
)
print(response.choices[0].message.content)