mirror of
https://github.com/maglore9900/max_headroom.git
synced 2025-06-06 03:25:34 +00:00
Update agent.py
This commit is contained in:
parent
a213f30084
commit
42960c66b7
@ -211,8 +211,9 @@ class Agent:
|
||||
agent_out = answer.get('agent_out')
|
||||
output_value = agent_out.return_values.get('output', None)
|
||||
max = self.llm.invoke(self.char_prompt.format(query=output_value))
|
||||
# print(f"max: {max.content}")
|
||||
return {"agent_out": max.content}
|
||||
# for chunk in self.llm.stream(self.char_prompt.format(query=output_value)):
|
||||
# yield(chunk)
|
||||
|
||||
async def rag_final_answer(self, state: list):
|
||||
print("> rag final_answer")
|
||||
|
Loading…
x
Reference in New Issue
Block a user