mojentic 0.5.6__py3-none-any.whl → 0.5.7__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.
- mojentic/llm/tools/llm_tool.py +1 -1
- mojentic/llm/tools/llm_tool_spec.py +18 -10
- {mojentic-0.5.6.dist-info → mojentic-0.5.7.dist-info}/METADATA +1 -1
- {mojentic-0.5.6.dist-info → mojentic-0.5.7.dist-info}/RECORD +7 -7
- {mojentic-0.5.6.dist-info → mojentic-0.5.7.dist-info}/WHEEL +0 -0
- {mojentic-0.5.6.dist-info → mojentic-0.5.7.dist-info}/licenses/LICENSE.md +0 -0
- {mojentic-0.5.6.dist-info → mojentic-0.5.7.dist-info}/top_level.txt +0 -0
mojentic/llm/tools/llm_tool.py
CHANGED
|
@@ -43,20 +43,28 @@ class DescribeLLMTool:
|
|
|
43
43
|
def should_convert_dict_result_to_json_string(self, mock_tool_with_dict_result):
|
|
44
44
|
result = mock_tool_with_dict_result.call_tool()
|
|
45
45
|
|
|
46
|
-
assert
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
assert result == {
|
|
47
|
+
"content": [
|
|
48
|
+
{
|
|
49
|
+
"type": "text",
|
|
50
|
+
"text": '{"key": "value"}',
|
|
51
|
+
"annotations": None
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
51
55
|
|
|
52
56
|
def should_handle_string_result_directly(self, mock_tool_with_string_result):
|
|
53
57
|
result = mock_tool_with_string_result.call_tool()
|
|
54
58
|
|
|
55
|
-
assert
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
assert result == {
|
|
60
|
+
"content": [
|
|
61
|
+
{
|
|
62
|
+
"type": "text",
|
|
63
|
+
"text": "test result",
|
|
64
|
+
"annotations": None
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
60
68
|
|
|
61
69
|
def should_pass_kwargs_to_run_method(self):
|
|
62
70
|
mock_run = Mock(return_value="test result")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mojentic
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.7
|
|
4
4
|
Summary: Mojentic is an agentic framework that aims to provide a simple and flexible way to assemble teams of agents to solve complex problems.
|
|
5
5
|
Author-email: Stacey Vetzal <stacey@vetzal.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/mojility/mojentic
|
|
@@ -89,8 +89,8 @@ mojentic/llm/tools/current_datetime.py,sha256=JkIFlBBnvE4CMcgZizqITVTtNfL7zeeLxD
|
|
|
89
89
|
mojentic/llm/tools/date_resolver.py,sha256=VDxX59PTHo0PstDxaJUo3SF7vkvQoG92bo6j8ABq8y4,2185
|
|
90
90
|
mojentic/llm/tools/date_resolver_spec.py,sha256=OaRvJyhSN8sgi75euk4E5ImaqUmvQdgZKY8u_NOiPWE,1185
|
|
91
91
|
mojentic/llm/tools/file_manager.py,sha256=X8Uw4XtdH_Ol2EB3SN11-GYlC1diJ1cAywU9_EuCjCg,3788
|
|
92
|
-
mojentic/llm/tools/llm_tool.py,sha256=
|
|
93
|
-
mojentic/llm/tools/llm_tool_spec.py,sha256=
|
|
92
|
+
mojentic/llm/tools/llm_tool.py,sha256=En88CSBMSKegXMe1A2eaWnEiYYuKkK2x-cD384B33is,758
|
|
93
|
+
mojentic/llm/tools/llm_tool_spec.py,sha256=mj9nX10v8jKC5ahscmmKVe3IMNdBpRqc6C6LmROLkZw,2059
|
|
94
94
|
mojentic/llm/tools/organic_web_search.py,sha256=X_WQSSFgeMp5jlm0tnqGOHDIZ2KHDvz3k6GF-XqsuN4,1301
|
|
95
95
|
mojentic/llm/tools/tell_user_tool.py,sha256=bF_PTfF0-skCi_Exw6EPpdfoNUZRJ4MWg-XCe4VYd6s,999
|
|
96
96
|
mojentic/llm/tools/tool_wrapper.py,sha256=6YZOhckgNsSUc7YK6bKjODjRTwi6wcH9bdcySUDPt3Q,1391
|
|
@@ -114,8 +114,8 @@ mojentic/llm/tools/ephemeral_task_manager/start_task_tool.py,sha256=VH8Wa4-ZmkMI
|
|
|
114
114
|
mojentic/llm/tools/ephemeral_task_manager/start_task_tool_spec.py,sha256=oDeVPPfquM2ojwG0aaNnbWCB_LRgm8runtG-CumZkLg,1490
|
|
115
115
|
mojentic/utils/__init__.py,sha256=lqECkkoFvHFttDnafRE1vvh0Dmna_lwupMToP5VvX5k,115
|
|
116
116
|
mojentic/utils/formatting.py,sha256=bPrwwdluXdQ8TsFxfWtHNOeMWKNvAfABSoUnnA1g7c8,947
|
|
117
|
-
mojentic-0.5.
|
|
118
|
-
mojentic-0.5.
|
|
119
|
-
mojentic-0.5.
|
|
120
|
-
mojentic-0.5.
|
|
121
|
-
mojentic-0.5.
|
|
117
|
+
mojentic-0.5.7.dist-info/licenses/LICENSE.md,sha256=txSgV8n5zY1W3NiF5HHsCwlaW0e8We1cSC6TuJUqxXA,1060
|
|
118
|
+
mojentic-0.5.7.dist-info/METADATA,sha256=X6AdtcNt3_haoPVzJv_WijbYkovQlUhjIHV51uf6DEs,4956
|
|
119
|
+
mojentic-0.5.7.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
|
120
|
+
mojentic-0.5.7.dist-info/top_level.txt,sha256=Q-BvPQ8Eu1jnEqK8Xkr6A9C8Xa1z38oPZRHuA5MCTqg,19
|
|
121
|
+
mojentic-0.5.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|