pycoze 0.1.53__py3-none-any.whl → 0.1.54__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pycoze/bot/agent/agent.py CHANGED
@@ -28,14 +28,13 @@ async def run_agent(agent, inputs: list):
28
28
  ):
29
29
  content = msg.content
30
30
  if content:
31
- content_list.append(content)
31
+ # content_list.append(content)
32
+ content_list = [content]
32
33
  elif kind == "on_chat_model_stream":
33
34
  content = event["data"]["chunk"].content
34
35
  if content:
35
36
  info("assistant", content)
36
37
  elif kind == "on_chain_start":
37
- print("patch")
38
- content_list = [] # temp
39
38
  data = event["data"]
40
39
  if "input" in data:
41
40
  input_list = (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycoze
3
- Version: 0.1.53
3
+ Version: 0.1.54
4
4
  Summary: Package for pycoze only!
5
5
  Author: Yuan Jie Xiong
6
6
  Author-email: aiqqqqqqq@qq.com
@@ -5,7 +5,7 @@ pycoze/access/tool_for_bot.py,sha256=Nv6XlxcqaLaMVQNDkpcthlqaSxyfHoOfWiTScQXO22Y
5
5
  pycoze/bot/__init__.py,sha256=pciDtfcIXda7iFt9uI5Fpm0JKpGBhdXHmJv4966WTVU,21
6
6
  pycoze/bot/bot.py,sha256=URQYW8mbcsjIsO3pNT-QFzWNwQFtOhUJG62dfxqZTLM,2589
7
7
  pycoze/bot/agent/__init__.py,sha256=IaYqQCJ3uBor92JdOxI_EY4HtYOHgej8lijr3UrN1Vc,161
8
- pycoze/bot/agent/agent.py,sha256=gkW9m-Z085uKe1PeDg36y7bFq4SdxF9B4f07QKrjweo,4440
8
+ pycoze/bot/agent/agent.py,sha256=F-gkRk8syur_wDwAedpcPYzXNw2RcIuj6XiLaAdwpQQ,4430
9
9
  pycoze/bot/agent/assistant.py,sha256=QLeWaPi415P9jruYOm8qcIbC94cXXAhJYmLTkyC9NTQ,1267
10
10
  pycoze/bot/agent/chat.py,sha256=kc0qgcrBSXdiMy49JwThZTV-0PAvzAhiUvbI5ILiSnU,571
11
11
  pycoze/bot/agent/agent_types/__init__.py,sha256=W2jTNMLqUMqgCMG0Tw0d8n7WpsbsnIonqaPR-YLegLU,210
@@ -22,8 +22,8 @@ pycoze/ui/ui_def.py,sha256=CNFYH8NC-WYmbceIPpxsRr9H6O006pMKukx7U-BOE1Q,3744
22
22
  pycoze/utils/__init__.py,sha256=KExBkotf23dr2NfTEouWke5nJB1q2IuDXgHrmuyd95k,73
23
23
  pycoze/utils/arg.py,sha256=rRujm1zKc0XlnNlpIJ6JAAaFiTzDGmL_RliIpSc5OD8,724
24
24
  pycoze/utils/text_or_file.py,sha256=gpxZVWt2DW6YiEg_MnMuwg36VNf3TX383QD_1oZNB0Y,551
25
- pycoze-0.1.53.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
26
- pycoze-0.1.53.dist-info/METADATA,sha256=V8HKZHv06X32YDyCXCkLtIKZ1i_5Mc25SWum7a4fK6Y,719
27
- pycoze-0.1.53.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
28
- pycoze-0.1.53.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
29
- pycoze-0.1.53.dist-info/RECORD,,
25
+ pycoze-0.1.54.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
26
+ pycoze-0.1.54.dist-info/METADATA,sha256=oR-JLgHXur8SCM3nlcGgdVrrGJPumza7F22jJVSl0Gs,719
27
+ pycoze-0.1.54.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
28
+ pycoze-0.1.54.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
29
+ pycoze-0.1.54.dist-info/RECORD,,