Merge pull request #15544 from davizucon/main

small fix code snippet  custom_prompt_management.md
This commit is contained in:
Krish Dholakia 2025-10-14 16:23:32 -07:00 committed by GitHub
commit 276c00a7f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)