mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: Fixed Anthropic and GitHub Copilot samples (#4025)
* Fixed Anthropic advanced example * Small improvement * Simplified skills sample * Fixed custom agent sample * Added service_session_id parameter * Added tests * Resolved comments
This commit is contained in:
committed by
GitHub
Unverified
parent
28e3fc308b
commit
f900febb6f
@@ -118,8 +118,8 @@ async def example_with_existing_session_id() -> None:
|
||||
)
|
||||
|
||||
async with agent2:
|
||||
# Create session with existing session ID
|
||||
session = agent2.create_session(service_session_id=existing_session_id)
|
||||
# Get session with existing session ID
|
||||
session = agent2.get_session(service_session_id=existing_session_id)
|
||||
|
||||
query2 = "What was the last city I asked about?"
|
||||
print(f"User: {query2}")
|
||||
|
||||
Reference in New Issue
Block a user