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
$ ramalama run granite3-moe:3b
🦭 > What's the best beer glass shape to minimize heat transfer?
⠏Traceback (most recent call last):
File "/usr/libexec/ramalama/ramalama-client-core", line 180, in <module>
main(sys.argv[1:])
~~~~^^^^^^^^^^^^^^
File "/usr/libexec/ramalama/ramalama-client-core", line 175, in main
run_shell_loop(ramalama_shell)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/libexec/ramalama/ramalama-client-core", line 159, in run_shell_loop
ramalama_shell.cmdloop()
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib64/python3.13/cmd.py", line 146, in cmdloop
stop = self.onecmd(line)
File "/usr/lib64/python3.13/cmd.py", line 223, in onecmd
return self.default(line)
~~~~~~~~~~~~^^^^^^
File "/usr/libexec/ramalama/ramalama-client-core", line 108, in default
{"role": "assistant", "content": req(self.conversation_history, self.url, self.parsed_args.color)}
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/libexec/ramalama/ramalama-client-core", line 81, in req
return res(response, color)
^^^^^^^^
UnboundLocalError: cannot access local variable 'response' where it is not associated with a value
$ ramalama run granite3-moe:3b
🦭 > What's the best beer glass shape to minimize heat transfer?
⠏Traceback (most recent call last):
File "/usr/libexec/ramalama/ramalama-client-core", line 180, in <module>
main(sys.argv[1:])
~~~~^^^^^^^^^^^^^^
File "/usr/libexec/ramalama/ramalama-client-core", line 175, in main
run_shell_loop(ramalama_shell)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/libexec/ramalama/ramalama-client-core", line 159, in run_shell_loop
ramalama_shell.cmdloop()
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib64/python3.13/cmd.py", line 146, in cmdloop
stop = self.onecmd(line)
File "/usr/lib64/python3.13/cmd.py", line 223, in onecmd
return self.default(line)
~~~~~~~~~~~~^^^^^^
File "/usr/libexec/ramalama/ramalama-client-core", line 108, in default
{"role": "assistant", "content": req(self.conversation_history, self.url, self.parsed_args.color)}
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/libexec/ramalama/ramalama-client-core", line 81, in req
return res(response, color)
^^^^^^^^
UnboundLocalError: cannot access local variable 'response' where it is not associated with a value
$ ramalama run granite3-moe:3b
🦭 > What's the best beer glass shape to minimize heat transfer?
The best beer glass shape to minimize heat transfer is the pint glass, also known as the English pint glass. This glass shape has a narrower top and wider bottom, which allows for a more efficient heat transfer between the beer and the environment. The wider bottom of the glass helps to keep the beer cooler for a longer period of time.
lnicola
changed the title
cannot access local variable 'response' where it is not associated with a value
Cannot access local variable 'response' where it is not associated with a value
May 7, 2025
Issue Description
Steps to reproduce the issue
See above.
Describe the results you received
See above.
Describe the results you expected
No crash or at least crashing every time.
ramalama info output
Upstream Latest Release
Yes
Additional environment details
Fedora 42
Additional information
No response
The text was updated successfully, but these errors were encountered: