pycoze 0.1.207__tar.gz → 0.1.208__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.208}/PKG-INFO +1 -1
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/bot/bot.py +2 -1
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze.egg-info/PKG-INFO +1 -1
- {pycoze-0.1.207 → pycoze-0.1.208}/setup.py +1 -1
- {pycoze-0.1.207 → pycoze-0.1.208}/LICENSE +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/README.md +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/ai/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/ai/vram_reserve.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/automation/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/automation/browser/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/automation/browser/edge_driver_manager.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/bot/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/bot/agent/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/bot/agent/agent.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/bot/agent/agent_types/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/bot/agent/agent_types/const.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/bot/agent/agent_types/openai_func_call_agent.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/bot/agent/assistant.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/bot/agent/chat.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/bot/agent_chat.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/reference/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/reference/bot.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/reference/lib.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/reference/tool.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/reference/workflow.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/ui/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/ui/base.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/ui/color.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/ui/typ.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/ui/ui_def.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/utils/__init__.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/utils/arg.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/utils/env.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze/utils/text_or_file.py +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze.egg-info/SOURCES.txt +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze.egg-info/dependency_links.txt +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/pycoze.egg-info/top_level.txt +0 -0
- {pycoze-0.1.207 → pycoze-0.1.208}/setup.cfg +0 -0
@@ -22,7 +22,8 @@ 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
|
-
|
25
|
+
should_exit = threading.Event()
|
26
|
+
result = agent_chat(bot_setting_file, history, should_exit)
|
26
27
|
history.append(AIMessage(result["output"]))
|
27
28
|
|
28
29
|
|
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
|