Update getting started samples to reflect AF. Update a unit test. (#1093)

This commit is contained in:
Evan Mattson
2025-10-02 01:20:12 +00:00
committed by GitHub
parent 6d0f28eb9b
commit 4f4890cf6a
7 changed files with 17 additions and 13 deletions
@@ -62,7 +62,7 @@ async def main() -> None:
print(f"{agent.name}: {result1}\n")
print("\n=======================================\n")
# Second query
query2 = "What is Microsoft Semantic Kernel?"
query2 = "What is Microsoft Agent Framework?"
print(f"User: {query2}")
result2 = await handle_approvals_with_thread(query2, agent, thread)
print(f"{agent.name}: {result2}\n")
@@ -40,7 +40,7 @@ async def mcp_tools_on_run_level() -> None:
print(f"{agent.name}: {result1}\n")
print("\n=======================================\n")
# Second query
query2 = "What is Microsoft Semantic Kernel?"
query2 = "What is Microsoft Agent Framework?"
print(f"User: {query2}")
result2 = await agent.run(query2, tools=mcp_server)
print(f"{agent.name}: {result2}\n")
@@ -71,7 +71,7 @@ async def mcp_tools_on_agent_level() -> None:
print(f"{agent.name}: {result1}\n")
print("\n=======================================\n")
# Second query
query2 = "What is Microsoft Semantic Kernel?"
query2 = "What is Microsoft Agent Framework?"
print(f"User: {query2}")
result2 = await agent.run(query2)
print(f"{agent.name}: {result2}\n")
@@ -79,7 +79,7 @@ async def main() -> None:
print(f"{agent.name}: {result1}\n")
print("\n=======================================\n")
# Second query
query2 = "What is Microsoft Semantic Kernel and use a web search to see what is Reddit saying about it?"
query2 = "What is Microsoft Agent Framework and use a web search to see what is Reddit saying about it?"
print(f"User: {query2}")
result2 = await handle_approvals_with_thread(query2, agent, thread)
print(f"{agent.name}: {result2}\n")