pycoze 0.1.173__tar.gz → 0.1.174__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pycoze-0.1.173 → pycoze-0.1.174}/PKG-INFO +1 -1
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/bot/bot.py +4 -4
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze.egg-info/PKG-INFO +1 -1
- {pycoze-0.1.173 → pycoze-0.1.174}/setup.py +1 -1
- {pycoze-0.1.173 → pycoze-0.1.174}/LICENSE +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/README.md +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/__init__.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/ai/__init__.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/ai/vram_reserve.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/bot/__init__.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/bot/agent/__init__.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/bot/agent/agent.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/bot/agent/agent_types/__init__.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/bot/agent/agent_types/const.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/bot/agent/agent_types/openai_func_call_agent.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/bot/agent/assistant.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/bot/agent/chat.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/bot/agent_chat.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/reference/__init__.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/reference/bot.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/reference/lib.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/reference/tool.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/ui/__init__.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/ui/base.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/ui/color.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/ui/typ.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/ui/ui_def.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/utils/__init__.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/utils/arg.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze/utils/text_or_file.py +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze.egg-info/SOURCES.txt +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze.egg-info/dependency_links.txt +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/pycoze.egg-info/top_level.txt +0 -0
- {pycoze-0.1.173 → pycoze-0.1.174}/setup.cfg +0 -0
@@ -10,10 +10,10 @@ import asyncio
|
|
10
10
|
|
11
11
|
class PeekableQueue(queue.Queue):
|
12
12
|
def peek(self):
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
return
|
13
|
+
try:
|
14
|
+
return self._get()
|
15
|
+
except queue.Empty:
|
16
|
+
return None
|
17
17
|
|
18
18
|
def chat(bot_setting_file: str):
|
19
19
|
history = []
|
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
|