Update agent.py
Browse files
agent.py
CHANGED
|
@@ -122,7 +122,7 @@ class TeLLAgent:
|
|
| 122 |
else:
|
| 123 |
prompt = str(' ' + outputs["input"] + ' ' + outputs["intermediate_steps"][0][0].log.split('Action:')[0])
|
| 124 |
outputs = self.agent_executor2.invoke( {"input": prompt})
|
| 125 |
-
return outputs
|
| 126 |
|
| 127 |
if __name__ == '__main__':
|
| 128 |
chem_model = TeLLAgent( temp=0.1, streaming= True,
|
|
|
|
| 122 |
else:
|
| 123 |
prompt = str(' ' + outputs["input"] + ' ' + outputs["intermediate_steps"][0][0].log.split('Action:')[0])
|
| 124 |
outputs = self.agent_executor2.invoke( {"input": prompt})
|
| 125 |
+
return outputs
|
| 126 |
|
| 127 |
if __name__ == '__main__':
|
| 128 |
chem_model = TeLLAgent( temp=0.1, streaming= True,
|