Skip to content

Commit fbd057f

Browse files
committed
First
1 parent 848fd39 commit fbd057f

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

articles/ai-services/agents/how-to/tools/azure-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ message = project_client.agents.create_message(
309309
print(f"Created message, message ID: {message.id}")
310310

311311
# Run the agent
312-
run = project_client.agents.create_run(thread_id=thread.id, assistant_id=agent.id)
312+
run = project_client.agents.create_run(thread_id=thread.id, agent_id=agent.id)
313313
# Monitor and process the run status. The function call should be placed on the input queue by the Agent Service for the Azure Function to pick up when requires_action is returned
314314
while run.status in ["queued", "in_progress", "requires_action"]:
315315
time.sleep(1)

articles/ai-services/agents/how-to/tools/bing-grounding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ Create a run and observe that the model uses the Grounding with Bing Search tool
340340

341341
```python
342342
# Create and process agent run in thread with tools
343-
run = project_client.agents.create_and_process_run(thread_id=thread.id, assistant_id=agent.id)
343+
run = project_client.agents.create_and_process_run(thread_id=thread.id, agent_id=agent.id)
344344
print(f"Run finished with status: {run.status}")
345345

346346
# Retrieve run step details to get Bing Search query link

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ message = project_client.agents.create_message(
260260
print(f"Created message, message ID: {message.id}")
261261

262262
# create and execute a run
263-
run = project_client.agents.create_and_process_run(thread_id=thread.id, assistant_id=agent.id)
263+
run = project_client.agents.create_and_process_run(thread_id=thread.id, agent_id=agent.id)
264264
print(f"Run finished with status: {run.status}")
265265

266266
if run.status == "failed":

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ curl $AZURE_AI_AGENTS_ENDPOINT/threads/thread_abc123/messages?api-version=2024-1
369369

370370
```python
371371
# Create and process agent run in thread with tools
372-
run = project_client.agents.create_and_process_run(thread_id=thread.id, assistant_id=agent.id)
372+
run = project_client.agents.create_and_process_run(thread_id=thread.id, agent_id=agent.id)
373373
print(f"Run finished with status: {run.status}")
374374

375375
if run.status == "failed":

articles/ai-services/agents/how-to/tools/openapi-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ Create a run and observe that the model uses the OpenAPI Spec tool to provide a
320320
print(f"Created message, ID: {message.id}")
321321

322322
# Create and process agent run in thread with tools
323-
run = project_client.agents.create_and_process_run(thread_id=thread.id, assistant_id=agent.id)
323+
run = project_client.agents.create_and_process_run(thread_id=thread.id, agent_id=agent.id)
324324
print(f"Run finished with status: {run.status}")
325325

326326
if run.status == "failed":

articles/ai-services/agents/how-to/virtual-networks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ with project_client:
246246
print(f"Created message, message ID: {message.id}")
247247

248248
# Run the agent
249-
run = project_client.agents.create_and_process_run(thread_id=thread.id, assistant_id=agent.id)
249+
run = project_client.agents.create_and_process_run(thread_id=thread.id, agent_id=agent.id)
250250
print(f"Run finished with status: {run.status}")
251251

252252
if run.status == "failed":

articles/ai-services/agents/includes/azure-search/code-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ message = project_client.agents.create_message(
261261
print(f"Created message, message ID: {message.id}")
262262

263263
# Run the agent
264-
run = project_client.agents.create_and_process_run(thread_id=thread.id, assistant_id=agent.id)
264+
run = project_client.agents.create_and_process_run(thread_id=thread.id, agent_id=agent.id)
265265
print(f"Run finished with status: {run.status}")
266266

267267
if run.status == "failed":

articles/ai-services/agents/includes/file-search/azure-blob-storage-code-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ message = project_client.agents.create_message(
7878
)
7979
print(f"Created message, message ID: {message.id}")
8080

81-
run = project_client.agents.create_and_process_run(thread_id=thread.id, assistant_id=agent_1.id)
81+
run = project_client.agents.create_and_process_run(thread_id=thread.id, agent_id=agent_1.id)
8282

8383
project_client.agents.delete_vector_store(vector_store.id)
8484
print("Deleted vector store")

articles/ai-services/agents/includes/file-search/deep-dive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ file_search_tool.remove_vector_store(vector_store.id)
5252
print(f"Removed vector store from file search, vector store ID: {vector_store.id}")
5353

5454
project_client.agents.update_agent(
55-
assistant_id=agent.id, tools=file_search_tool.definitions, tool_resources=file_search_tool.resources
55+
agent_id=agent.id, tools=file_search_tool.definitions, tool_resources=file_search_tool.resources
5656
)
5757
print(f"Updated agent, agent ID: {agent.id}")
5858

articles/ai-services/agents/includes/file-search/upload-files-code-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ curl $AZURE_AI_AGENTS_ENDPOINT/threads/thread_abc123/messages?api-version=2024-1
310310
Create a run and observe that the model uses the file search tool to provide a response to the user's question.
311311
# [Python](#tab/python)
312312
```python
313-
run = project_client.agents.create_and_process_run(thread_id=thread.id, assistant_id=agent.id)
313+
run = project_client.agents.create_and_process_run(thread_id=thread.id, agent_id=agent.id)
314314
print(f"Created run, run ID: {run.id}")
315315

316316
project_client.agents.delete_vector_store(vector_store.id)

0 commit comments

Comments
 (0)