Upgrade the declarative pipeline for cleaner interface (#51)
This commit is contained in:
committed by
GitHub
parent
aab982ddc4
commit
9035e25666
@@ -32,5 +32,5 @@ class LLMTool(BaseTool):
|
||||
response = self.llm(query)
|
||||
except ValueError:
|
||||
raise ToolException("LLM Tool call failed")
|
||||
output = response.text[0]
|
||||
output = response.text
|
||||
return output
|
||||
|
Reference in New Issue
Block a user