pycoze 0.1.207__tar.gz → 0.1.209__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pycoze-0.1.207 → pycoze-0.1.209}/PKG-INFO +1 -1
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/bot/bot.py +3 -2
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze.egg-info/PKG-INFO +1 -1
- {pycoze-0.1.207 → pycoze-0.1.209}/setup.py +1 -1
- {pycoze-0.1.207 → pycoze-0.1.209}/LICENSE +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/README.md +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/ai/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/ai/vram_reserve.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/automation/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/automation/browser/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/automation/browser/edge_driver_manager.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/bot/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/bot/agent/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/bot/agent/agent.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/bot/agent/agent_types/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/bot/agent/agent_types/const.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/bot/agent/agent_types/openai_func_call_agent.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/bot/agent/assistant.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/bot/agent/chat.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/bot/agent_chat.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/reference/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/reference/bot.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/reference/lib.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/reference/tool.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/reference/workflow.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/ui/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/ui/base.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/ui/color.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/ui/typ.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/ui/ui_def.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/utils/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/utils/arg.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/utils/env.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze/utils/text_or_file.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze.egg-info/SOURCES.txt +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze.egg-info/dependency_links.txt +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/pycoze.egg-info/top_level.txt +0 -0
- {pycoze-0.1.207 → pycoze-0.1.209}/setup.cfg +0 -0
@@ -22,8 +22,9 @@ def chat(bot_setting_file: str):
|
|
22
22
|
raise ValueError("Invalid message")
|
23
23
|
message = json.loads(input_text[len(INPUT_MESSAGE) :])
|
24
24
|
history.append(HumanMessage(message["content"]))
|
25
|
-
|
26
|
-
|
25
|
+
should_exit = threading.Event()
|
26
|
+
asyncio.run(agent_chat(bot_setting_file, history, should_exit))
|
27
|
+
history.append(AIMessage(CHAT_DATA["output"]))
|
27
28
|
|
28
29
|
|
29
30
|
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|