langroid 0.1.191__py3-none-any.whl → 0.1.192__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.
@@ -159,7 +159,7 @@ class LanceQueryPlanAgent(ChatAgent):
159
159
  # then we know there was no tool, so we run below code
160
160
  if (
161
161
  isinstance(msg, ChatDocument)
162
- and msg.metadata.sender_name == self.config.doc_agent_name
162
+ and self.curr_query_plan is not None
163
163
  and msg.metadata.parent is not None
164
164
  ):
165
165
  # save result, to be used in query_plan_feedback()
@@ -175,5 +175,6 @@ class LanceQueryPlanAgent(ChatAgent):
175
175
  response_tmpl.tool_messages = [query_plan_answer_tool]
176
176
  # set the recipient to the Critic so it can give feedback
177
177
  response_tmpl.metadata.recipient = self.config.critic_name
178
+ self.curr_query_plan = None # reset
178
179
  return response_tmpl
179
180
  return None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: langroid
3
- Version: 0.1.191
3
+ Version: 0.1.192
4
4
  Summary: Harness LLMs with Multi-Agent Programming
5
5
  License: MIT
6
6
  Author: Prasad Chalasani
@@ -16,7 +16,7 @@ langroid/agent/special/lance_rag/__init__.py,sha256=-pq--upe-8vycYoTwxoomBnuUqrc
16
16
  langroid/agent/special/lance_rag/critic_agent.py,sha256=9izW4keCxVZEqrFOgyVUHD7N1vTXLkRynXYYd1Vpwzw,5785
17
17
  langroid/agent/special/lance_rag/lance_rag_task.py,sha256=l_HQgrYY-CX2FwIsS961aEF3bYog3GDYo98fj0C0mSk,2889
18
18
  langroid/agent/special/lance_rag/lance_tools.py,sha256=WypIS-3ZMDqY_PZEGB2K80-o4RfS43_OnER0dyFlsDY,1339
19
- langroid/agent/special/lance_rag/query_planner_agent.py,sha256=dZXVano2NbRZy91nBcEW6LrvedsHfxL1oNCgMQEHZ-U,8016
19
+ langroid/agent/special/lance_rag/query_planner_agent.py,sha256=klWYyMSAaSwLwWBbTUHvZfni-nB7QWfni8vpo3QlfhQ,8043
20
20
  langroid/agent/special/neo4j/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  langroid/agent/special/neo4j/csv_kg_chat.py,sha256=YfuyblH9d307ggzN7fUD2mxLorIdexjVAlZ8uVDZqhY,6394
22
22
  langroid/agent/special/neo4j/neo4j_chat_agent.py,sha256=UGsnneFQVrzyNB5AhuY0BhnN-BH7me7dIpi7q8cw8ZA,12155
@@ -115,7 +115,7 @@ langroid/vector_store/meilisearch.py,sha256=d2huA9P-NoYRuAQ9ZeXJmMKr7ry8u90RUSR2
115
115
  langroid/vector_store/momento.py,sha256=j6Eo6oIDN2fe7lsBOlCXJn3uvvERHHTFL5QJfeREeOM,10044
116
116
  langroid/vector_store/qdrant_cloud.py,sha256=3im4Mip0QXLkR6wiqVsjV1QvhSElfxdFSuDKddBDQ-4,188
117
117
  langroid/vector_store/qdrantdb.py,sha256=_egbsP9SWBwmI827EDYSSOqfIQSmwNsmJfFTxrLpWYE,13457
118
- langroid-0.1.191.dist-info/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
119
- langroid-0.1.191.dist-info/METADATA,sha256=jaqZdni0zMGBsmH8ziTlYE4vDZVxHHoSyCqwRFhzIaY,45671
120
- langroid-0.1.191.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
121
- langroid-0.1.191.dist-info/RECORD,,
118
+ langroid-0.1.192.dist-info/LICENSE,sha256=EgVbvA6VSYgUlvC3RvPKehSg7MFaxWDsFuzLOsPPfJg,1065
119
+ langroid-0.1.192.dist-info/METADATA,sha256=-_fDgrzNhWdaDfOQBooJicN992gMfxUbn8Enut6Ymvo,45671
120
+ langroid-0.1.192.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
121
+ langroid-0.1.192.dist-info/RECORD,,