The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community: Fix TypeError in PebbloRetrievalQA (#23170)
Rajendra Kadam7ee2822ec264
diff --git a/libs/community/langchain_community/chains/pebblo_retrieval/base.py b/libs/community/langchain_community/chains/pebblo_retrieval/base.pyindex 2be7dd6878..6097c5b29c 100644--- a/libs/community/langchain_community/chains/pebblo_retrieval/base.py+++ b/libs/community/langchain_community/chains/pebblo_retrieval/base.py@@ -129,9 +129,7 @@ class PebbloRetrievalQA(Chain):"prompt_time": prompt_time,"user": auth_context.user_id if auth_context else "unknown","user_identities": auth_context.user_auth- if "user_auth" in dict(auth_context)- else []- if auth_context+ if auth_context and hasattr(auth_context, "user_auth")else [],}qa_payload = Qa(**qa)