Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure AI Projects: Streaming with eventhandler fails with AttributeError: 'MyEventHandler' object has no attribute 'buffer' #38897

Closed
jhakulin opened this issue Dec 16, 2024 · 3 comments
Assignees
Labels
AI Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@jhakulin
Copy link
Member

Describe the bug
When I run https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/ai/azure-ai-projects/samples/agents/sample_agents_stream_eventhandler_with_functions.py sample, I get AttributeError: 'MyEventHandler' object has no attribute 'buffer'

To Reproduce
Steps to reproduce the behavior:

  1. Run the sample

Expected behavior
Sample would work

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
If I add super initialization into MyEventHandler, the issue goes away and sample works.

@github-actions github-actions bot added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Dec 16, 2024
@pvaneck pvaneck added Service Attention Workflow: This issue is responsible by Azure service team. AI labels Dec 17, 2024
@github-actions github-actions bot removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Dec 17, 2024
Copy link

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @achauhan-scc @kingernupur @luigiw @needuv @paulshealy1 @singankit.

@jhakulin
Copy link
Member Author

This will be fixed in 1.0.0b4 version soon.

@jhakulin
Copy link
Member Author

released in released in https://pypi.org/project/azure-ai-projects/1.0.0b4/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants