Skip to content

Commit b260273

Browse files
fix: use generic gpt-4o model for Azure example, remove leftover shutdown
1 parent b1ff4ed commit b260273

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

examples/example-ai-azure-openai/chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
)
3030

3131
response = client.chat.completions.create(
32-
model="grok-4-20-non-reasoning",
32+
model="gpt-4o",
3333
max_completion_tokens=1024,
3434
messages=[
3535
{"role": "user", "content": "Tell me a fun fact about hedgehogs."},

examples/example-ai-openai/transcription.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
if not os.path.exists(audio_path):
3131
print(f"Skipping: audio file not found at '{audio_path}'")
3232
print("Set AUDIO_PATH to a valid audio file (mp3, wav, m4a, etc.)")
33-
provider.shutdown()
3433
sys.exit(0)
3534

3635
with open(audio_path, "rb") as audio_file:

0 commit comments

Comments
 (0)