Skip to content

Python: Sample not working #4491

Description

@lisngt

Hi everyone,

This sample is not working

https://github.com/microsoft/agent-framework/blob/main/python/samples/02-agents/chat_client/chat_response_cancellation.py

Please fix it. Line 31 doesn't work.

Suggestion:

task = asyncio.create_task(client.get_response(messages=[Message(role="user", text="Tell me a fantasy story.")]))

Thank you.
Regard

Metadata

Metadata

Assignees

Labels

pythonUsage: [Issues, PRs], Target: Python

Type

No type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions