Skip to content

Commit

Permalink
Merge pull request #116 from ag2ai/bump-version
Browse files Browse the repository at this point in the history
bump version
  • Loading branch information
qingyun-wu authored Nov 30, 2024
2 parents 14be8f2 + 6b3acf5 commit 2815a4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion autogen/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
#
# Portions derived from https://github.com/microsoft/autogen are under the MIT License.
# SPDX-License-Identifier: MIT
__version__ = "0.4"
__version__ = "0.4.1"
4 changes: 2 additions & 2 deletions test/agentchat/test_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ async def add_data_reply(recipient, messages, sender, config):
result.clear()
return (
True,
f"Just got some latest market news. Merge your new suggestion with previous ones.\n{news_str}",
f"Just got some latest news. Update the summary.\n{news_str}",
)
return False, None

user_proxy.register_reply(autogen.AssistantAgent, add_data_reply, position=2, config={"news_stream": data})

chat_res = await user_proxy.a_initiate_chat(
assistant, message="""Give me investment suggestion in 3 bullet points.""", summary_method="reflection_with_llm"
assistant, message="""Summarize market dynamics in 3 bullet points.""", summary_method="reflection_with_llm"
)

print("Chat summary:", chat_res.summary)
Expand Down

0 comments on commit 2815a4b

Please sign in to comment.