langroid 0.45.4__py3-none-any.whl → 0.45.6__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/base.py +1 -1
- langroid/embedding_models/models.py +4 -0
- {langroid-0.45.4.dist-info → langroid-0.45.6.dist-info}/METADATA +1 -1
- {langroid-0.45.4.dist-info → langroid-0.45.6.dist-info}/RECORD +6 -6
- {langroid-0.45.4.dist-info → langroid-0.45.6.dist-info}/WHEEL +0 -0
- {langroid-0.45.4.dist-info → langroid-0.45.6.dist-info}/licenses/LICENSE +0 -0
langroid/agent/base.py
CHANGED
@@ -90,7 +90,7 @@ class AgentConfig(BaseSettings):
|
|
90
90
|
parsing: Optional[ParsingConfig] = ParsingConfig()
|
91
91
|
prompts: Optional[PromptsConfig] = PromptsConfig()
|
92
92
|
show_stats: bool = True # show token usage/cost stats?
|
93
|
-
hide_agent_response: bool =
|
93
|
+
hide_agent_response: bool = False # hide agent response?
|
94
94
|
add_to_registry: bool = True # register agent in ObjectRegistry?
|
95
95
|
respond_tools_only: bool = False # respond only to tool messages (not plain text)?
|
96
96
|
# allow multiple tool messages in a single response?
|
@@ -25,6 +25,10 @@ class OpenAIEmbeddingsConfig(EmbeddingModelsConfig):
|
|
25
25
|
dims: int = 1536
|
26
26
|
context_length: int = 8192
|
27
27
|
|
28
|
+
class Config:
|
29
|
+
# enable auto-loading of env vars with OPENAI_ prefix, e.g.
|
30
|
+
# api_base is set from OPENAI_API_BASE env var, in .env or system env
|
31
|
+
env_prefix = "OPENAI_"
|
28
32
|
|
29
33
|
class AzureOpenAIEmbeddingsConfig(EmbeddingModelsConfig):
|
30
34
|
model_type: str = "azure-openai"
|
@@ -3,7 +3,7 @@ langroid/exceptions.py,sha256=OPjece_8cwg94DLPcOGA1ddzy5bGh65pxzcHMnssTz8,2995
|
|
3
3
|
langroid/mytypes.py,sha256=wfb320SFnZVTv_CgcLWsvoKBXxAFfY4EISeue8MFqpQ,2912
|
4
4
|
langroid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
langroid/agent/__init__.py,sha256=ll0Cubd2DZ-fsCMl7e10hf9ZjFGKzphfBco396IKITY,786
|
6
|
-
langroid/agent/base.py,sha256=
|
6
|
+
langroid/agent/base.py,sha256=U-UjdpxIFqkzRIB5-LYwHrhMSNI3sDbfnNRqIhrtsyI,79568
|
7
7
|
langroid/agent/batch.py,sha256=vi1r5i1-vN80WfqHDSwjEym_KfGsqPGUtwktmiK1nuk,20635
|
8
8
|
langroid/agent/chat_agent.py,sha256=Z53oleOUcOXVs_UL90spttGoAooe0mrx3tDtOuhKVms,85214
|
9
9
|
langroid/agent/chat_document.py,sha256=xzMtrPbaW-Y-BnF7kuhr2dorsD-D5rMWzfOqJ8HAoo8,17885
|
@@ -59,7 +59,7 @@ langroid/cachedb/momento_cachedb.py,sha256=YEOJ62hEcV6iIeMr5aGgRYgWQqFYaej9gEDEc
|
|
59
59
|
langroid/cachedb/redis_cachedb.py,sha256=7kgnbf4b5CKsCrlL97mHWKvdvlLt8zgn7lc528jEpiE,5141
|
60
60
|
langroid/embedding_models/__init__.py,sha256=KyYxR3jDFUCfYjSuCL86qjAmrq6mXXjOT4lFNOKVj6Y,955
|
61
61
|
langroid/embedding_models/base.py,sha256=Ml7oA6PzQm0wZmIYn3fhF7dvZCi-amviWUwOeBegH3A,2562
|
62
|
-
langroid/embedding_models/models.py,sha256=
|
62
|
+
langroid/embedding_models/models.py,sha256=HS35gaCTX1L7fr9x8uukUFNb02LuYYSZSRJZoZzmytU,19150
|
63
63
|
langroid/embedding_models/remote_embeds.py,sha256=6_kjXByVbqhY9cGwl9R83ZcYC2km-nGieNNAo1McHaY,5151
|
64
64
|
langroid/embedding_models/protoc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
65
65
|
langroid/embedding_models/protoc/embeddings.proto,sha256=_O-SgFpTaylQeOTgSpxhEJ7CUw7PeCQQJLaPqpPYKJg,321
|
@@ -127,7 +127,7 @@ langroid/vector_store/pineconedb.py,sha256=otxXZNaBKb9f_H75HTaU3lMHiaR2NUp5MqwLZ
|
|
127
127
|
langroid/vector_store/postgres.py,sha256=wHPtIi2qM4fhO4pMQr95pz1ZCe7dTb2hxl4VYspGZoA,16104
|
128
128
|
langroid/vector_store/qdrantdb.py,sha256=O6dSBoDZ0jzfeVBd7LLvsXu083xs2fxXtPa9gGX3JX4,18443
|
129
129
|
langroid/vector_store/weaviatedb.py,sha256=Yn8pg139gOy3zkaPfoTbMXEEBCiLiYa1MU5d_3UA1K4,11847
|
130
|
-
langroid-0.45.
|
131
|
-
langroid-0.45.
|
132
|
-
langroid-0.45.
|
133
|
-
langroid-0.45.
|
130
|
+
langroid-0.45.6.dist-info/METADATA,sha256=sCRvdSCvLfAl7ZtcOuK0fEsuUOF91o_K-Xx_M0ipWC8,63335
|
131
|
+
langroid-0.45.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
132
|
+
langroid-0.45.6.dist-info/licenses/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
|
133
|
+
langroid-0.45.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|