Skip to content

Commit a540c05

Browse files
committed
remove typo
1 parent 650abb0 commit a540c05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/azure_openai_fallback.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ def chad_gpt4(messages, max_tokens=4000):
2121
response = try_all(
2222
# first try with azure
2323
lambda: azure_client.chat.completions.create(
24-
model="openai-gpt-4-prod-ca-1-x", # replace with your deployment name
24+
model="openai-gpt-4-prod-ca-1", # replace with your deployment name
2525
messages=messages,
2626
max_tokens=max_tokens,
2727
),
2828
# if that fails (for whatever reason), try with openai
2929
lambda: openai_client.chat.completions.create(
30-
model="gpt-4-x",
30+
model="gpt-4",
3131
messages=messages,
3232
max_tokens=max_tokens,
3333
),

0 commit comments

Comments
 (0)