解决下拉插件的问题哦

This commit is contained in:
w_xiaolizu
2023-04-28 18:17:54 +08:00
parent 26c20ed2f5
commit c1aebca6a3
8 changed files with 32 additions and 27 deletions

View File

@ -212,8 +212,8 @@ def agent_main(name, role, goals, budget,
_start = obj['start'].update(visible=False)
_next = obj['next'].update(visible=True)
_text = obj['text'].update(visible=True, interactive=True)
chat, his = func_box.chat_history(logger.output_content)
yield from update_stream_ui(user='Auto-GPT Start!', gpt=chat, _start=_start, _next=_next, _text=_text)
# chat, his = func_box.chat_history(logger.output_content)
# yield from update_stream_ui(user='Auto-GPT Start!', gpt=chat, _start=_start, _next=_next, _text=_text)
agent.start_interaction_loop()
chat, his = func_box.chat_history(logger.output_content)
yield from update_stream_ui(user='Auto-GPT Start!', gpt=chat, _start=_start, _next=_next, _text=_text)