Skip to content

Python: Sample not working #4491

@lisngt

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

pythonsamplesIssue relates to the samples

Type

No type

Projects

Status

Planned

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions