self-operating-computer
self-operating-computer copied to clipboard
[BUG] operate -m llava return error local variable 'content' referenced before assignment
I am using linux with ollama. After ollama pull llava and ollama serve, operate -m llava return error local variable 'content' referenced before assignment
Steps to Reproduce
- Alternatively installation with .sh
- ollama pull llava
- ollama pull llava
- operate -m llava
- Input prompt
Expected Behavior
Perform the action of the prompt
Actual Behavior:
return [llava] That did not work. Trying again X get_image failed: error 8 (73, 0, 680) [Self-Operating Computer][Error] -> local variable 'content' referenced before assignment
Environment
- OS: Linux ubuntu 22.04.3
- Model Used (e.g., GPT-4v, Gemini Pro Vision): llava
- Framework Version (optional):
Screenshots
Is this problem solved?
i have the same problem
I get the same error on Windows 11 adding the verbose flag seems that it fails generating the action like seen in the image and there's never a request sent to Ollama.
Tried a python script to test the connection to Ollama and it's fine.
--EDIT--
Turned out to be an environment variable, make sure your OLLAMA_HOST is set correctly.