beswarm 0.2.52__py3-none-any.whl → 0.2.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.

Potentially problematic release.


This version of beswarm might be problematic. Click here for more details.

beswarm/agents/planact.py CHANGED
@@ -123,7 +123,7 @@ class InstructionAgent(BaseAgent):
123
123
  "在 tag <work_agent_conversation_start>...</work_agent_conversation_end> 之前的对话历史都是工作智能体的对话历史。\n\n",
124
124
  "根据以上对话历史和目标,请生成下一步指令。如果任务已完成,指示工作智能体调用task_complete工具。\n\n",
125
125
  ])
126
- if self.last_instruction and 'fetch_gpt_response_stream HTTP Error' not in self.last_instruction:
126
+ if self.last_instruction and "HTTP Error', 'status_code'" not in self.last_instruction:
127
127
  instruction_prompt = (
128
128
  f"{instruction_prompt}\n\n"
129
129
  "你生成的指令格式错误,必须把给assistant的指令放在<instructions>...</instructions>标签内。请重新生成格式正确的指令。"
@@ -137,7 +137,7 @@ class InstructionAgent(BaseAgent):
137
137
 
138
138
  raw_response = await self.agent.ask_async(instruction_prompt)
139
139
 
140
- if "fetch_gpt_response_stream HTTP Error', 'status_code': 404" in raw_response:
140
+ if "HTTP Error', 'status_code': 404" in raw_response:
141
141
  raise Exception(f"Model: {self.config['engine']} not found!")
142
142
  if "'status_code': 413" in raw_response or \
143
143
  "'status_code': 400" in raw_response:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: beswarm
3
- Version: 0.2.52
3
+ Version: 0.2.54
4
4
  Summary: MAS
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -6,7 +6,7 @@ beswarm/prompt.py,sha256=n0a1a6NThIxAYSkisg1sEKjvz2w0tozpKL4BIplaAkI,32286
6
6
  beswarm/taskmanager.py,sha256=ErgZa9_aBeWdmt5neRw6sDVdwSWewxip458gAjeQhS4,12188
7
7
  beswarm/utils.py,sha256=0J-b38P5QGT-A_38co7FjzaUNJykaskI7mbbcQ4w_68,8215
8
8
  beswarm/agents/chatgroup.py,sha256=PzrmRcDKAbB7cxL16nMod_CzPosDV6bfTmXxQVuv-AQ,12012
9
- beswarm/agents/planact.py,sha256=xK9QDob5ONFVgHJJoj4fWlXKPLWufHxnz8vi2soz-aM,19560
9
+ beswarm/agents/planact.py,sha256=jadkGp8uzjjzh5cq0l4IMF2gn1hN6Gx94ICAzabHWpQ,19524
10
10
  beswarm/aient/aient/__init__.py,sha256=SRfF7oDVlOOAi6nGKiJIUK6B_arqYLO9iSMp-2IZZps,21
11
11
  beswarm/aient/aient/core/__init__.py,sha256=NxjebTlku35S4Dzr16rdSqSTWUvvwEeACe8KvHJnjPg,34
12
12
  beswarm/aient/aient/core/log_config.py,sha256=kz2_yJv1p-o3lUQOwA3qh-LSc3wMHv13iCQclw44W9c,274
@@ -116,7 +116,7 @@ beswarm/tools/search_web.py,sha256=NYrb5KL_WUGPm-fOKT8Cyjon04lxBU-gaLdrVjeYgGo,1
116
116
  beswarm/tools/subtasks.py,sha256=mIjA2QrRy9Fos4rYm8fCfu2QrsE_MGnQI9IR8dOxsGs,9885
117
117
  beswarm/tools/worker.py,sha256=_cSkRUKRJMAiZiTfnBze_e9Kc7k7KvbB5hdxdvp4FW4,2009
118
118
  beswarm/tools/write_csv.py,sha256=u0Hq18Ksfheb52MVtyLNCnSDHibITpsYBPs2ub7USYA,1466
119
- beswarm-0.2.52.dist-info/METADATA,sha256=16RWSSO8W0XxMtmqMSL7hAZ9ivR2AQ0ZRgvc1dIoQ8w,3878
120
- beswarm-0.2.52.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
121
- beswarm-0.2.52.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
122
- beswarm-0.2.52.dist-info/RECORD,,
119
+ beswarm-0.2.54.dist-info/METADATA,sha256=JmhKRLbetJWjNWxQObaFQcw1EOZjZgRQm9PzwBkHjaE,3878
120
+ beswarm-0.2.54.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
121
+ beswarm-0.2.54.dist-info/top_level.txt,sha256=pJw4O87wvt5882smuSO6DfByJz7FJ8SxxT8h9fHCmpo,8
122
+ beswarm-0.2.54.dist-info/RECORD,,