langroid 0.1.122__py3-none-any.whl → 0.1.124__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 CHANGED
@@ -109,7 +109,7 @@ class Task:
109
109
 
110
110
  self.logger: None | RichFileLogger = None
111
111
  self.tsv_logger: None | logging.Logger = None
112
- self.color_log: bool = True
112
+ self.color_log: bool = False if settings.notebook else True
113
113
  self.agent = agent
114
114
  self.name = name or agent.config.name
115
115
  self.default_human_response = default_human_response
@@ -20,6 +20,7 @@ class Settings(BaseSettings):
20
20
  nofunc: bool = False # use model without function_call? (i.e. gpt-4)
21
21
  chat_model: str = "" # language model name, e.g. litellm/ollama/llama2
22
22
  quiet: bool = False # quiet mode (i.e. suppress all output)?
23
+ notebook: bool = False # running in a notebook?
23
24
 
24
25
  class Config:
25
26
  extra = "forbid"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: langroid
3
- Version: 0.1.122
3
+ Version: 0.1.124
4
4
  Summary: Harness LLMs with Multi-Agent Programming
5
5
  License: MIT
6
6
  Author: Prasad Chalasani
@@ -20,7 +20,7 @@ langroid/agent/special/sql/utils/populate_metadata.py,sha256=zRjw31a1ZXvpx9bcmbt
20
20
  langroid/agent/special/sql/utils/system_message.py,sha256=qKLHkvQWRQodTtPLPxr1GSLUYUFASZU8x-ybV67cB68,1885
21
21
  langroid/agent/special/sql/utils/tools.py,sha256=6uB2424SLtmapui9ggcEr0ZTiB6_dL1-JRGgN8RK9Js,1332
22
22
  langroid/agent/special/table_chat_agent.py,sha256=zejrvv6GaspImVJ1oXWUTVN-h-kDjadTdBDkTRqrYKo,7691
23
- langroid/agent/task.py,sha256=jS9O5raBnA64kmYDSCUCzEu68rESU_0BHOzuCkVXebc,36229
23
+ langroid/agent/task.py,sha256=rBMMUbFibGs4kMUlMksrE-D1ChYEsBNbKcB5t9Tr3xM,36261
24
24
  langroid/agent/tool_message.py,sha256=_QS9_JnBdMBmpQw-ocu3PdJz_UzkFCytVky0UdIcMe0,6320
25
25
  langroid/agent/tools/__init__.py,sha256=6le5y_iPEHwh7Tli_0MtwCGOjy3tPQfAdfDC7WBg2e0,172
26
26
  langroid/agent/tools/extract_tool.py,sha256=u5lL9rKBzaLBOrRyLnTAZ97pQ1uxyLP39XsWMnpaZpw,3789
@@ -74,7 +74,7 @@ langroid/prompts/transforms.py,sha256=GsQo1klGxUy0fACh6j0lTblk6XEl2erRnhRWlN2M4-
74
74
  langroid/utils/__init__.py,sha256=3aMfdwFizpl3W2H5Q-TMqUFqMoYgec1NiX-caSnClmQ,167
75
75
  langroid/utils/algorithms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
76
  langroid/utils/algorithms/graph.py,sha256=JbdpPnUOhw4-D6O7ou101JLA3xPCD0Lr3qaPoFCaRfo,2866
77
- langroid/utils/configuration.py,sha256=vY4JOywgY_2o_VOLfO8PmEjxspkA62BXLAMwxYTDQAY,3198
77
+ langroid/utils/configuration.py,sha256=Ml0SeglCAurpX7zJnzlKDiQWHUTrF4MZVCLR3jUl9Rg,3251
78
78
  langroid/utils/constants.py,sha256=edJ5J-sC9CeUwwNey_uLQbGbHgjX-T8XLf_J53h3Tys,484
79
79
  langroid/utils/docker.py,sha256=kJQOLTgM0x9j9pgIIqp0dZNZCTvoUDhp6i8tYBq1Jr0,1105
80
80
  langroid/utils/globals.py,sha256=VkTHhlqSz86oOPq65sjul0XU8I52UNaFC5vwybMQ74w,1343
@@ -96,7 +96,7 @@ langroid/vector_store/meilisearch.py,sha256=h4e1MZJ9J3EnFfcUhLshK1Duwy1dpHWH4Ajt
96
96
  langroid/vector_store/momento.py,sha256=otoUrpgwEduFOCUhbFFSZWKEzWF2di1d4-m3n5PIuHI,9964
97
97
  langroid/vector_store/qdrant_cloud.py,sha256=3im4Mip0QXLkR6wiqVsjV1QvhSElfxdFSuDKddBDQ-4,188
98
98
  langroid/vector_store/qdrantdb.py,sha256=ZEJnlNIJwWIySGhPz3jBc6spcLCPqOcUDBYBisLF90I,11379
99
- langroid-0.1.122.dist-info/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
100
- langroid-0.1.122.dist-info/METADATA,sha256=JZ8HL1rhjA0fOYaxrSNIiwlgPNI8jHVav3ESxi3qNIk,41666
101
- langroid-0.1.122.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
102
- langroid-0.1.122.dist-info/RECORD,,
99
+ langroid-0.1.124.dist-info/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
100
+ langroid-0.1.124.dist-info/METADATA,sha256=R1oan78Q5MbFWXrJBDSasyWp_EouU7wlEWd5cNPbL4I,41666
101
+ langroid-0.1.124.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
102
+ langroid-0.1.124.dist-info/RECORD,,