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

Restore agent compatibility with external loops #580

Open
2 tasks done
Archento opened this issue Nov 19, 2024 · 0 comments
Open
2 tasks done

Restore agent compatibility with external loops #580

Archento opened this issue Nov 19, 2024 · 0 comments
Assignees
Labels
c-bug Category: Something isn't working p-low Priority: Low Priority task

Comments

@Archento
Copy link
Member

Prerequisites

  • I checked the documentation and found no answer to my problem
  • I checked the existing issues and made sure there are no similar bug reports

Category

Bug (unexpected behavior)

Expected Behavior

Agents are able to be started with an external loop, i.e. having programs running that have their own asynchronous loop which then start and house an agent.

Observed Behavior

Agents can still be started as expected but once you stop an agent it will actually try to stop all running asyncio tasks.
This means that if tasks are not shielded by the original application this agent will also try to tear down the host application.

To Reproduce

No response

Version

v0.17.1

Environment Details (Optional)

No response

Failure Logs (Optional)

No response

Additional Information (Optional)

No response

@Archento Archento added c-bug Category: Something isn't working p-low Priority: Low Priority task labels Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-bug Category: Something isn't working p-low Priority: Low Priority task
Projects
None yet
Development

No branches or pull requests

2 participants