We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 536e881 commit a7d409dCopy full SHA for a7d409d
articles/ai-services/agents/how-to/tools/bing-grounding.md
@@ -254,6 +254,11 @@ Create a run and observe that the model uses the Grounding with Bing Search tool
254
run = project_client.agents.create_and_process_run(thread_id=thread.id, assistant_id=agent.id)
255
print(f"Run finished with status: {run.status}")
256
257
+# Retrieve run step details to get Bing Search query link
258
+run_steps = project_client.agents.list_run_steps(run_id=run.id, thread_id=thread.id)
259
+run_steps_data = run_steps['data']
260
+print(f"Last run step detail: {run_steps_data}")
261
+
262
if run.status == "failed":
263
print(f"Run failed: {run.last_error}")
264
0 commit comments