Skip to content

Commit

Permalink
Adjust go back to not use asyncio
Browse files Browse the repository at this point in the history
  • Loading branch information
bonadio committed Oct 28, 2023
1 parent 21053d7 commit 01581fd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/agentchat/test_async_get_human_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ async def test_async_get_human_input():
llm_config={"request_timeout": 600, "seed": 41, "config_list": config_list, "temperature": 0},
)

user_proxy = autogen.UserProxyAgent(
name="user", human_input_mode="ALWAYS", code_execution_config=False
)
user_proxy = autogen.UserProxyAgent(name="user", human_input_mode="ALWAYS", code_execution_config=False)

async def custom_a_get_human_input(prompt):
return "This is a test"
Expand All @@ -34,4 +32,4 @@ async def custom_a_get_human_input(prompt):


if __name__ == "__main__":
asyncio.run(test_async_get_human_input())
test_async_get_human_input()

0 comments on commit 01581fd

Please sign in to comment.