You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected results:
No exception thrown. Maybe the agent realizes that there is no ask and resolves to responding in a polite and friendly manner, but no exception should be thrown that prevents the agent from doing so.
Actual results:
Exception thrown:
$ python assemble.py foo
╭───────────────────────────────────────────────────── Gentopia ──────────────────────────────────────────────────────╮
│ Welcome to Gentopia! │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
User: hello
foo:
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ foo ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ The user has greeted me. I should respond in a polite and friendly manner. ┃
┃ ┃
┃ Action: None ┃
┃ ┃
┃ Action Input: None ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Traceback (most recent call last):
File "/Users/motin/Dev/Projects/generative-reality/reproduce-issue/GentPool/assemble.py", line 41, in <module>
main()
File "/Users/motin/Dev/Projects/generative-reality/reproduce-issue/GentPool/assemble.py", line 37, in main
chat(agent, verbose=print_agent)
File "/opt/homebrew/Caskroom/miniforge/base/envs/gentenv/lib/python3.10/site-packages/gentopia/__init__.py", line 26,
in chat
response = agent.stream(text, output=output)
File "/opt/homebrew/Caskroom/miniforge/base/envs/gentenv/lib/python3.10/site-packages/gentopia/agent/react/agent.py",
line 224, in stream
result = self._format_function_map()[action](tool_input)
KeyError: 'None'
⠸ Calling function: None ...
The text was updated successfully, but these errors were encountered:
Environment:
Apple M1 Max
13.5 (22G74)
Steps to reproduce:
Expected results:
No exception thrown. Maybe the agent realizes that there is no ask and resolves to responding in a polite and friendly manner, but no exception should be thrown that prevents the agent from doing so.
Actual results:
Exception thrown:
The text was updated successfully, but these errors were encountered: