agentx-dev 2.3.4__py3-none-any.whl → 2.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.
- agentx_dev/Runner/AgentRun.py +2 -2
- {agentx_dev-2.3.4.dist-info → agentx_dev-2.4.dist-info}/METADATA +1 -1
- {agentx_dev-2.3.4.dist-info → agentx_dev-2.4.dist-info}/RECORD +5 -5
- {agentx_dev-2.3.4.dist-info → agentx_dev-2.4.dist-info}/WHEEL +0 -0
- {agentx_dev-2.3.4.dist-info → agentx_dev-2.4.dist-info}/top_level.txt +0 -0
agentx_dev/Runner/AgentRun.py
CHANGED
|
@@ -219,8 +219,8 @@ class AgentRunner:
|
|
|
219
219
|
self.history.append({"role": "system", "content": self.format_prompt})
|
|
220
220
|
if ChatHistory and isinstance(ChatHistory, list) and all(isinstance(item, dict) for item in ChatHistory):
|
|
221
221
|
for r in ChatHistory:
|
|
222
|
-
if r.role and r.content:
|
|
223
|
-
self.history.append({'role':r.role,'content':r.content + r.timestamp if r.get('timestamp') else r.content})
|
|
222
|
+
if r.get('role') and r.get('content'):
|
|
223
|
+
self.history.append({'role':r.get('role'),'content':r.get('content') + r.get('timestamp') if r.get('timestamp') else r.get("content")})
|
|
224
224
|
|
|
225
225
|
|
|
226
226
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentx-dev
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.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
|
|
@@ -5,12 +5,12 @@ agentx_dev/promptTemplate.yaml,sha256=2XpID7yZEgcfJfjh1dYt-uCyuVl2wksuOvHL--epFa
|
|
|
5
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=
|
|
8
|
+
agentx_dev/Runner/AgentRun.py,sha256=rlqk80QvEQPlNrcdbVg3dClXTOWY3WKIPU-zIkmMqKs,15382
|
|
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
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.
|
|
14
|
-
agentx_dev-2.
|
|
15
|
-
agentx_dev-2.
|
|
16
|
-
agentx_dev-2.
|
|
13
|
+
agentx_dev-2.4.dist-info/METADATA,sha256=oDvlr7ifMnXVARb3hJ9plLCLcl3fNbQlQZbNtbq4vgU,3397
|
|
14
|
+
agentx_dev-2.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
15
|
+
agentx_dev-2.4.dist-info/top_level.txt,sha256=iYmZ0acr4tPjt0Xblh8f4uNNr7qfF61l7kYrlnO-k6g,11
|
|
16
|
+
agentx_dev-2.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|