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

Fix registration of async functions #1201

Merged
merged 7 commits into from
Jan 11, 2024

Conversation

davorrunje
Copy link
Collaborator

Why are these changes needed?

Fixes registration of async functions.

Related issue number

Closes #1191

Checks

@codecov-commenter
Copy link

codecov-commenter commented Jan 10, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (fba7cae) 30.51% compared to head (fc47d09) 61.28%.

Files Patch % Lines
autogen/function_utils.py 87.50% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1201       +/-   ##
===========================================
+ Coverage   30.51%   61.28%   +30.76%     
===========================================
  Files          32       32               
  Lines        4355     4365       +10     
  Branches     1012     1070       +58     
===========================================
+ Hits         1329     2675     +1346     
+ Misses       2931     1397     -1534     
- Partials       95      293      +198     
Flag Coverage Δ
unittests 61.19% <88.23%> (+30.72%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

autogen/agentchat/conversable_agent.py Outdated Show resolved Hide resolved
autogen/function_utils.py Show resolved Hide resolved
autogen/function_utils.py Show resolved Hide resolved
test/agentchat/test_conversable_agent.py Show resolved Hide resolved
test/agentchat/test_conversable_agent.py Show resolved Hide resolved
test/agentchat/test_conversable_agent.py Outdated Show resolved Hide resolved
test/test_function_utils.py Show resolved Hide resolved
@davorrunje davorrunje requested review from ekzhu and yenif January 10, 2024 19:01
@sonichi sonichi requested a review from AaronWard January 11, 2024 04:38
@sonichi sonichi added this pull request to the merge queue Jan 11, 2024
Merged via the queue into main with commit 2e519b0 Jan 11, 2024
87 checks passed
@sonichi sonichi deleted the 1191-bug-async-functions-are-not-awaited branch January 11, 2024 09:09
joshkyh pushed a commit that referenced this pull request Jan 17, 2024
* bug fix for async functions

* Update test_conversable_agent.py

Co-authored-by: Chi Wang <[email protected]>

* Update test/agentchat/test_conversable_agent.py

Co-authored-by: Chi Wang <[email protected]>

* commented out cell in a notebook until issue #1205 is not fixed

---------

Co-authored-by: Chi Wang <[email protected]>
whiskyboy pushed a commit to whiskyboy/autogen that referenced this pull request Apr 17, 2024
* bug fix for async functions

* Update test_conversable_agent.py

Co-authored-by: Chi Wang <[email protected]>

* Update test/agentchat/test_conversable_agent.py

Co-authored-by: Chi Wang <[email protected]>

* commented out cell in a notebook until issue microsoft#1205 is not fixed

---------

Co-authored-by: Chi Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Async functions are not awaited
4 participants