langroid 0.55.0__py3-none-any.whl → 0.55.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.
- langroid/agent/task.py +4 -0
- {langroid-0.55.0.dist-info → langroid-0.55.1.dist-info}/METADATA +1 -1
- {langroid-0.55.0.dist-info → langroid-0.55.1.dist-info}/RECORD +5 -5
- {langroid-0.55.0.dist-info → langroid-0.55.1.dist-info}/WHEEL +0 -0
- {langroid-0.55.0.dist-info → langroid-0.55.1.dist-info}/licenses/LICENSE +0 -0
langroid/agent/task.py
CHANGED
@@ -153,6 +153,7 @@ class TaskConfig(BaseModel):
|
|
153
153
|
inf_loop_wait_factor: int = 5
|
154
154
|
restart_as_subtask: bool = False
|
155
155
|
logs_dir: str = "logs"
|
156
|
+
enable_loggers: bool = True
|
156
157
|
addressing_prefix: str = ""
|
157
158
|
allow_subtask_multi_oai_tools: bool = True
|
158
159
|
recognize_string_signals: bool = True
|
@@ -634,6 +635,9 @@ class Task:
|
|
634
635
|
"""Initialise per-task Rich and TSV loggers."""
|
635
636
|
from langroid.utils.logging import RichFileLogger
|
636
637
|
|
638
|
+
if not self.config.enable_loggers:
|
639
|
+
return
|
640
|
+
|
637
641
|
if self.caller is not None and self.caller.logger is not None:
|
638
642
|
self.logger = self.caller.logger
|
639
643
|
elif self.logger is None:
|
@@ -9,7 +9,7 @@ langroid/agent/chat_agent.py,sha256=2HIYzYxkrGkRIS97ioKfIqjaW3RbX89M39LjzBobBEY,
|
|
9
9
|
langroid/agent/chat_document.py,sha256=6O20Fp4QrquykaF2jFtwNHkvcoDte1LLwVZNk9mVH9c,18057
|
10
10
|
langroid/agent/done_sequence_parser.py,sha256=GiLTVtzzKb_YQcPpwqOajKu97RSUzZC6ae_ZagDmt_A,4425
|
11
11
|
langroid/agent/openai_assistant.py,sha256=JkAcs02bIrgPNVvUWVR06VCthc5-ulla2QMBzux_q6o,34340
|
12
|
-
langroid/agent/task.py,sha256=
|
12
|
+
langroid/agent/task.py,sha256=PbHVcyFgyxiMZXHOB5xr5t8qaeACYfrjNF_lZQc8d8Y,101308
|
13
13
|
langroid/agent/tool_message.py,sha256=BhjP-_TfQ2tgxuY4Yo_JHLOwwt0mJ4BwjPnREvEY4vk,14744
|
14
14
|
langroid/agent/xml_tool_message.py,sha256=oeBKnJNoGaKdtz39XoWGMTNlVyXew2MWH5lgtYeh8wQ,15496
|
15
15
|
langroid/agent/callbacks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -134,7 +134,7 @@ langroid/vector_store/pineconedb.py,sha256=otxXZNaBKb9f_H75HTaU3lMHiaR2NUp5MqwLZ
|
|
134
134
|
langroid/vector_store/postgres.py,sha256=wHPtIi2qM4fhO4pMQr95pz1ZCe7dTb2hxl4VYspGZoA,16104
|
135
135
|
langroid/vector_store/qdrantdb.py,sha256=O6dSBoDZ0jzfeVBd7LLvsXu083xs2fxXtPa9gGX3JX4,18443
|
136
136
|
langroid/vector_store/weaviatedb.py,sha256=Yn8pg139gOy3zkaPfoTbMXEEBCiLiYa1MU5d_3UA1K4,11847
|
137
|
-
langroid-0.55.
|
138
|
-
langroid-0.55.
|
139
|
-
langroid-0.55.
|
140
|
-
langroid-0.55.
|
137
|
+
langroid-0.55.1.dist-info/METADATA,sha256=iBKanly7KGZOhgDMib-Ll2ZqvLqNlpR2g2M2_KLBQRk,65366
|
138
|
+
langroid-0.55.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
139
|
+
langroid-0.55.1.dist-info/licenses/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
|
140
|
+
langroid-0.55.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|