mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
Merge pull request #15544 from davizucon/main
small fix code snippet custom_prompt_management.md
This commit is contained in:
commit
276c00a7f6
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue