pycoze 0.1.153__tar.gz → 0.1.154__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pycoze-0.1.153 → pycoze-0.1.154}/PKG-INFO +1 -1
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/bot/bot.py +3 -2
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze.egg-info/PKG-INFO +1 -1
- {pycoze-0.1.153 → pycoze-0.1.154}/setup.py +1 -1
- {pycoze-0.1.153 → pycoze-0.1.154}/LICENSE +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/README.md +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/__init__.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/ai/__init__.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/ai/vram_reserve.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/bot/__init__.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/bot/agent/__init__.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/bot/agent/agent.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/bot/agent/agent_types/__init__.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/bot/agent/agent_types/const.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/bot/agent/agent_types/openai_func_call_agent.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/bot/agent/assistant.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/bot/agent/chat.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/bot/agent_chat.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/reference/__init__.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/reference/bot.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/reference/lib.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/reference/tool.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/ui/__init__.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/ui/base.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/ui/color.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/ui/typ.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/ui/ui_def.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/utils/__init__.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/utils/arg.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze/utils/text_or_file.py +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze.egg-info/SOURCES.txt +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze.egg-info/dependency_links.txt +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/pycoze.egg-info/top_level.txt +0 -0
- {pycoze-0.1.153 → pycoze-0.1.154}/setup.cfg +0 -0
@@ -16,8 +16,9 @@ def chat(bot_setting_file: str):
|
|
16
16
|
history.append(HumanMessage(message["content"]))
|
17
17
|
result_queue = queue.Queue()
|
18
18
|
agent_chat_thread = threading.Thread(target=agent_chat, args=(bot_setting_file, history, result_queue))
|
19
|
-
|
20
|
-
|
19
|
+
agent_chat_thread.start()
|
20
|
+
agent_chat_thread.join()
|
21
|
+
result = result_queue.get()
|
21
22
|
history.append(output("assistant", result))
|
22
23
|
|
23
24
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|