agentx-dev 2.3.2__py3-none-any.whl → 2.3.4__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.
@@ -45,7 +45,6 @@ class StandardParser(BaseModel):
45
45
 
46
46
 
47
47
 
48
-
49
48
  import importlib.resources as pkg_resources
50
49
  from agentx_dev import resources
51
50
 
@@ -217,7 +217,7 @@ class AgentRunner:
217
217
 
218
218
  if not any(entry["role"] == "system" for entry in self.history):
219
219
  self.history.append({"role": "system", "content": self.format_prompt})
220
- if ChatHistory and isinstance(ChatHistory,List[Dict[str,str]]):
220
+ if ChatHistory and isinstance(ChatHistory, list) and all(isinstance(item, dict) for item in ChatHistory):
221
221
  for r in ChatHistory:
222
222
  if r.role and r.content:
223
223
  self.history.append({'role':r.role,'content':r.content + r.timestamp if r.get('timestamp') else r.content})
@@ -1,6 +1,3 @@
1
1
  import importlib.resources as pkg_resources
2
2
  from agentx_dev import resources
3
- from agentx_dev.Agents.Agent import load_prompt_templates
4
3
 
5
- with pkg_resources.open_text(resources, "promptTemplate.yaml") as f:
6
- system = load_prompt_templates(f)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agentx-dev
3
- Version: 2.3.2
3
+ Version: 2.3.4
4
4
  Summary: A lightweight LLM agent framework with standard and structured tool support use, prompt management, and support for OpenAI.
5
5
  Author-email: Bruce-Arhin Shadrach <brucearhin098@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/shadrach098/Bruce_framework
@@ -2,15 +2,15 @@ agentx_dev/ChatModel.py,sha256=vB6uYEw6W2i73MZQ0a5NWdvm5tf9im_SPV_CXi9RcP4,9212
2
2
  agentx_dev/Tools.py,sha256=h2x8jVpaDRQ4B6lhjePWQhuN5gQu_Ll1NKeADg_tT7M,5763
3
3
  agentx_dev/__init__.py,sha256=AcPK_lq7N4fPdeQeHOrXxzfYY3n34r1I1Q78LdCv_Hw,214
4
4
  agentx_dev/promptTemplate.yaml,sha256=2XpID7yZEgcfJfjh1dYt-uCyuVl2wksuOvHL--epFaM,4467
5
- agentx_dev/Agents/Agent.py,sha256=pvMR9oTz0enOM25gQnsg9XI2NMNfc1qdPsdSmOYA_fo,12007
5
+ agentx_dev/Agents/Agent.py,sha256=dBvlTtlq_-q_9ZgUj6RPwu7xw73EybKWpP1YiwznCkw,12005
6
6
  agentx_dev/Agents/__init__.py,sha256=62anhNzEmdC9JvlbLLz5Q1-vYnoU9OvFxuaLSVn-WRw,240
7
7
  agentx_dev/Agents/promptTemplate.yaml,sha256=2XpID7yZEgcfJfjh1dYt-uCyuVl2wksuOvHL--epFaM,4467
8
- agentx_dev/Runner/AgentRun.py,sha256=2gJqXhBX5q3d2VHhmfm8fc9N56TQoSuN07PDHht8gas,15298
8
+ agentx_dev/Runner/AgentRun.py,sha256=F3jFtf5MqVrZzBL6JMn4symQRaDybx3vkvgkfo8W9_4,15340
9
9
  agentx_dev/Runner/__init__.py,sha256=4-CpwiSKnu7eM9Wkse75oZSwNjAIi2LW3P_7VN1yYbc,82
10
10
  agentx_dev/Runner/promptTemplate.yaml,sha256=2XpID7yZEgcfJfjh1dYt-uCyuVl2wksuOvHL--epFaM,4467
11
- agentx_dev/resources/__init__.py,sha256=Rpxo1p6tQT0vIoMgYmvvor8M1dyxaeQlBGjI-363abM,249
11
+ agentx_dev/resources/__init__.py,sha256=1JbRUTRIS1jgo98YMdY03EN70-hs7-3mCl-I_bYPv4w,81
12
12
  agentx_dev/resources/promptTemplate.yaml,sha256=2XpID7yZEgcfJfjh1dYt-uCyuVl2wksuOvHL--epFaM,4467
13
- agentx_dev-2.3.2.dist-info/METADATA,sha256=0fbNDC2z-AHmWc7E0o4v4WUHhI_ERbkxYtt7RJTu1J0,3399
14
- agentx_dev-2.3.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
- agentx_dev-2.3.2.dist-info/top_level.txt,sha256=iYmZ0acr4tPjt0Xblh8f4uNNr7qfF61l7kYrlnO-k6g,11
16
- agentx_dev-2.3.2.dist-info/RECORD,,
13
+ agentx_dev-2.3.4.dist-info/METADATA,sha256=6FE7JatR4hnagEEAlGgu57vsd4gaL7g2yMXVhqdzNDk,3399
14
+ agentx_dev-2.3.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
15
+ agentx_dev-2.3.4.dist-info/top_level.txt,sha256=iYmZ0acr4tPjt0Xblh8f4uNNr7qfF61l7kYrlnO-k6g,11
16
+ agentx_dev-2.3.4.dist-info/RECORD,,