UFO
UFO copied to clipboard
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
When I try to run model on local machine with Ollama, I got this error:
Round 1, Step 1, HostAgent: Analyzing the user intent and decomposing the request...
Observations👀: None
Thoughts💡: None
Plans📚: (1) None
(2)
Next Selected application📲: [The required application needs to be opened.]
Messages to AppAgent📩:
Status📊: None
Comment💬: None
Evaluating the session...
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "D:\Work\UFO\ufo\__main__.py", line 7, in <module>
ufo.main()
File "D:\Work\UFO\ufo\ufo.py", line 69, in main
clients.run_all()
File "D:\Work\UFO\ufo\module\client.py", line 28, in run_all
session.run()
File "D:\Work\UFO\ufo\module\sessions\session.py", line 172, in run
super().run()
File "D:\Work\UFO\ufo\module\basic.py", line 387, in run
self.evaluation()
File "D:\Work\UFO\ufo\module\basic.py", line 669, in evaluation
self.cost += cost
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
Git commit: 521735d2a6c7cbd46308700b24055fdccd4cc161 on main brunch.