mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-06 06:24:16 +00:00
Merge pull request #15544 from davizucon/main
small fix code snippet custom_prompt_management.md
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user