janito 2.20.0__py3-none-any.whl → 2.20.1__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.
- janito/llm/agent.py +6 -0
- {janito-2.20.0.dist-info → janito-2.20.1.dist-info}/METADATA +1 -1
- {janito-2.20.0.dist-info → janito-2.20.1.dist-info}/RECORD +7 -7
- {janito-2.20.0.dist-info → janito-2.20.1.dist-info}/WHEEL +0 -0
- {janito-2.20.0.dist-info → janito-2.20.1.dist-info}/entry_points.txt +0 -0
- {janito-2.20.0.dist-info → janito-2.20.1.dist-info}/licenses/LICENSE +0 -0
- {janito-2.20.0.dist-info → janito-2.20.1.dist-info}/top_level.txt +0 -0
janito/llm/agent.py
CHANGED
@@ -229,6 +229,12 @@ class LLMAgent:
|
|
229
229
|
print("[agent] [INFO] Handling ResponseReceived event.")
|
230
230
|
from janito.llm.message_parts import FunctionCallMessagePart
|
231
231
|
|
232
|
+
# Skip tool processing if no tools adapter is available
|
233
|
+
if self.tools_adapter is None:
|
234
|
+
if getattr(self, "verbose_agent", False):
|
235
|
+
print("[agent] [DEBUG] No tools adapter available, skipping tool calls")
|
236
|
+
return False
|
237
|
+
|
232
238
|
tool_calls = []
|
233
239
|
tool_results = []
|
234
240
|
for part in event.parts:
|
@@ -114,7 +114,7 @@ janito/i18n/messages.py,sha256=fBuwOTFoygyHPkYphm6Y0r1iE8497Z4iryVAmPhMEkg,1851
|
|
114
114
|
janito/i18n/pt.py,sha256=NlTgpDSftUfFG7FGbs7TK54vQlJVMyaZDHGcWjelwMc,4168
|
115
115
|
janito/llm/README.md,sha256=6GRqCu_a9va5HCB1YqNqbshyWKFyAGlnXugrjom-xj8,1213
|
116
116
|
janito/llm/__init__.py,sha256=dpyVH51qVRCw-PDyAFLAxq0zd4jl5MDcuV6Cri0D-dQ,134
|
117
|
-
janito/llm/agent.py,sha256=
|
117
|
+
janito/llm/agent.py,sha256=RYX1LAQKDkdE4H76bAT7ZeFst5ZP_npefuwhevJpbDg,21013
|
118
118
|
janito/llm/auth.py,sha256=8Dl_orUEPhn2X6XjkO2Nr-j1HFT2YDxk1qJl9hSFI88,2286
|
119
119
|
janito/llm/auth_utils.py,sha256=7GH7bIScKhVWJW6ugcDrJLcYRamj5dl_l8N1rrvR4Ws,663
|
120
120
|
janito/llm/driver.py,sha256=stiicPe_MXTuWW4q6MSwK7PCj8UZcA_30pGACu6xYUQ,10039
|
@@ -222,9 +222,9 @@ janito/tools/adapters/local/validate_file_syntax/ps1_validator.py,sha256=TeIkPt0
|
|
222
222
|
janito/tools/adapters/local/validate_file_syntax/python_validator.py,sha256=BfCO_K18qy92m-2ZVvHsbEU5e11OPo1pO9Vz4G4616E,130
|
223
223
|
janito/tools/adapters/local/validate_file_syntax/xml_validator.py,sha256=AijlsP_PgNuC8ZbGsC5vOTt3Jur76otQzkd_7qR0QFY,284
|
224
224
|
janito/tools/adapters/local/validate_file_syntax/yaml_validator.py,sha256=TgyI0HRL6ug_gBcWEm5TGJJuA4E34ZXcIzMpAbv3oJs,155
|
225
|
-
janito-2.20.
|
226
|
-
janito-2.20.
|
227
|
-
janito-2.20.
|
228
|
-
janito-2.20.
|
229
|
-
janito-2.20.
|
230
|
-
janito-2.20.
|
225
|
+
janito-2.20.1.dist-info/licenses/LICENSE,sha256=GSAKapQH5ZIGWlpQTA7v5YrfECyaxaohUb1vJX-qepw,1090
|
226
|
+
janito-2.20.1.dist-info/METADATA,sha256=6HXr9gjIG_oQEDhfe6FPY56FIHhccnuWriVp9BmymBQ,16365
|
227
|
+
janito-2.20.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
228
|
+
janito-2.20.1.dist-info/entry_points.txt,sha256=wIo5zZxbmu4fC-ZMrsKD0T0vq7IqkOOLYhrqRGypkx4,48
|
229
|
+
janito-2.20.1.dist-info/top_level.txt,sha256=m0NaVCq0-ivxbazE2-ND0EA9Hmuijj_OGkmCbnBcCig,7
|
230
|
+
janito-2.20.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|