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:
Dmytro Struk
2026-02-18 01:23:35 -05:00
committed by GitHub
Unverified
parent 28e3fc308b
commit f900febb6f
9 changed files with 203 additions and 37 deletions
@@ -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}")