🐛 fix(manager.py): fix incorrect assignment of langchain_object.result to result_dict["result"] to store the entire langchain_object instead
This commit is contained in:
parent
284158b33b
commit
49729263ef
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ class ChatManager(Service):
|
||||||
# so we need to change it to something else
|
# so we need to change it to something else
|
||||||
|
|
||||||
result_dict = {
|
result_dict = {
|
||||||
"result": langchain_object.result,
|
"result": langchain_object,
|
||||||
"type": type(langchain_object),
|
"type": type(langchain_object),
|
||||||
}
|
}
|
||||||
self.cache_manager.upsert(client_id, result_dict)
|
self.cache_manager.upsert(client_id, result_dict)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue