Skip to content

Commit c293d76

Browse files
committed
Change to 5.4
1 parent 400eb86 commit c293d76

110 files changed

Lines changed: 120 additions & 116 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ AZURE_OPENAI_ENDPOINT=https://YOUR-AZURE-OPENAI-SERVICE-NAME.openai.azure.com
55
AZURE_OPENAI_CHAT_DEPLOYMENT=YOUR-AZURE-DEPLOYMENT-NAME
66
# Configure for OpenAI.com:
77
OPENAI_API_KEY=YOUR-OPENAI-KEY
8-
OPENAI_MODEL=gpt-3.5-turbo
8+
OPENAI_MODEL=gpt-5.4
99
# Configure for Redis (used by agent_history_redis.py, defaults to dev container Redis):
1010
REDIS_URL=redis://localhost:6379
1111
# Configure OTLP exporter (not needed in devcontainer, which sets these via docker-compose):

README.md

Lines changed: 1 addition & 1 deletion

examples/agent_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
)
2323
else:
2424
client = OpenAIChatClient(
25-
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-4.1-mini")
25+
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-5.4")
2626
)
2727

2828
agent = Agent(client=client, instructions="You're an informational agent. Answer questions cheerfully.")

examples/agent_evaluation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
)
4747
else:
4848
client = OpenAIChatClient(
49-
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-4.1-mini")
49+
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-5.4")
5050
)
5151
eval_model_config = OpenAIModelConfiguration(
5252
type="openai",
5353
api_key=os.environ["OPENAI_API_KEY"],
54-
model=os.environ.get("OPENAI_MODEL", "gpt-4.1-mini"),
54+
model=os.environ.get("OPENAI_MODEL", "gpt-5.4"),
5555
)
5656

5757

examples/agent_evaluation_batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
model_config = OpenAIModelConfiguration(
4646
type="openai",
4747
api_key=os.environ["OPENAI_API_KEY"],
48-
model=os.environ.get("OPENAI_MODEL", "gpt-4.1-mini"),
48+
model=os.environ.get("OPENAI_MODEL", "gpt-5.4"),
4949
)
5050

5151
# Optional: Set AZURE_AI_PROJECT in .env to log results to Azure AI Foundry.

examples/agent_evaluation_generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
)
4343
else:
4444
client = OpenAIChatClient(
45-
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-4.1-mini")
45+
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-5.4")
4646
)
4747

4848

examples/agent_history_redis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
)
3636
else:
3737
client = OpenAIChatClient(
38-
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-4.1-mini")
38+
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-5.4")
3939
)
4040

4141

examples/agent_history_sqlite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
)
3737
else:
3838
client = OpenAIChatClient(
39-
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-4.1-mini")
39+
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-5.4")
4040
)
4141

4242

examples/agent_knowledge_aisearch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
)
7474
else:
7575
client = OpenAIChatClient(
76-
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-4.1-mini")
76+
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-5.4")
7777
)
7878

7979
# ── Azure AI Search context provider ─────────────────────────────────

examples/agent_knowledge_pg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
embed_model = os.environ.get("AZURE_OPENAI_EMBEDDING_DEPLOYMENT", "text-embedding-3-small")
7878
else:
7979
chat_client = OpenAIChatClient(
80-
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-4.1-mini")
80+
api_key=os.environ["OPENAI_API_KEY"], model=os.environ.get("OPENAI_MODEL", "gpt-5.4")
8181
)
8282
embed_client = OpenAI(api_key=os.environ["OPENAI_API_KEY"])
8383
embed_model = "text-embedding-3-small"

0 commit comments

Comments
 (0)