Skip to content

Commit

Permalink
Fix demo gradio being stuck bug
Browse files Browse the repository at this point in the history
  • Loading branch information
VRSEN committed Apr 27, 2024
1 parent 3afc5a5 commit 57524ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Agency Swarm started as a desire and effort of Arsenii Shatokhin (aka VRSEN) to
## Installation

```bash
pip install agency-swarm
pip install -U agency-swarm
```

## Getting Started
Expand Down
3 changes: 3 additions & 0 deletions agency_swarm/threads/thread.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ def get_completion(self,

continue

if event_handler:
event_handler.on_all_streams_end()

return full_message

def _create_run(self, recipient_agent, additional_instructions, event_handler, tool_choice):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='agency-swarm',
version='0.2.0',
version='0.2.1',
author='VRSEN',
author_email='[email protected]',
description='An opensource agent orchestration framework built on top of the latest OpenAI Assistants API.',
Expand Down

0 comments on commit 57524ba

Please sign in to comment.