Skip to content

Commit a6319a7

Browse files
committed
Fixed a warning in chain call
1 parent 8bfeb0e commit a6319a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chatify/chains.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,6 @@ def execute(self, chain, inputs, *args, **kwargs):
175175
output = chain.llm(inputs, cache_obj=self.cacher.llm_cache)
176176
self.cacher.llm_cache.flush()
177177
else:
178-
output = chain(inputs)["text"]
178+
output = chain.invoke(inputs)["text"]
179179

180180
return output

0 commit comments

Comments
 (0)