Skip to content

Commit d8eccc4

Browse files
Merge pull request #1856 from aahill/agents
updating model
2 parents ed09ad7 + bf1865c commit d8eccc4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

articles/ai-services/agents/how-to/tools/code-interpreter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ code_interpreter = CodeInterpreterTool(file_ids=[file.id])
121121

122122
# create agent with code interpreter tool and tools_resources
123123
agent = project_client.agents.create_agent(
124-
model="gpt-4-1106-preview",
124+
model="gpt-4o-mini",
125125
name="my-agent",
126126
instructions="You are helpful agent",
127127
tools=code_interpreter.definitions,

articles/ai-services/agents/how-to/tools/file-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ fileSearchToolResource.VectorStoreIds.Add(vectorStore.Id);
203203

204204
// Create an agent with toolResources and process assistant run
205205
Response<Agent> agentResponse = await client.CreateAgentAsync(
206-
model: "gpt-4-1106-preview",
206+
model: "gpt-4o-mini",
207207
name: "SDK Test Agent - Retrieval",
208208
instructions: "You are a helpful agent that can help fetch data from files you know about.",
209209
tools: new List<ToolDefinition> { new FileSearchToolDefinition() },

articles/ai-services/agents/how-to/tools/function-calling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ print(f"Created agent, ID: {agent.id}")
183183
```csharp
184184
// note: parallel function calling is only supported with newer models like gpt-4-1106-preview
185185
Response<Agent> agentResponse = await client.CreateAgentAsync(
186-
model: "gpt-4-1106-preview",
186+
model: "gpt-4o-mini",
187187
name: "SDK Test Agent - Functions",
188188
instructions: "You are a weather bot. Use the provided functions to help answer questions. "
189189
+ "Customize your responses to the user's preferences as much as possible and use friendly "

0 commit comments

Comments
 (0)