huggingface / huggingface/meshgen
dosnt work generation
- Dominant language
- Python
- Stars
- 919
- Forks
- 77
- Avg merge
- 34m
- Merged PRs (30d)
- 1
Description
I have a problem. I downloaded the ollama neural network. When I try to run a query in Blender (I connected everything), I get an error in the terminal. I tried it in Russian and English, but the error still persists. I'm using 'minimax-m2.5'. I use blender 5.0......
Thinking...
Traceback (most recent call last):
File "C:\Users\rosti\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\.local\lib\python3.11\site-packages\smolagents\agents.py", line 1225, in step
chat_message: ChatMessage = self.model(
^^^^^^^^^^^
File "C:\Users\rosti\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\.local\lib\python3.11\site-packages\smolagents\models.py", line 1009, in __call__
response = self.client.chat_completion(**completion_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rosti\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\.local\lib\python3.11\site-packages\huggingface_hub\inference\_client.py", line 992, in chat_completion
data = self._inner_post(request_parameters, stream=stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rosti\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\.local\lib\python3.11\site-packages\huggingface_hub\inference\_client.py", line 342, in _inner_post
response = get_session().post(
^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Blender Foundation\Blender 5.0\5.0\python\Lib\site-packages\requests\sessions.py", line 637, in post
return self.request("POST", url, data=data, json=json, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Blender Foundation\Blender 5.0\5.0\python\Lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Blender Foundation\Blender 5.0\5.0\python\Lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rosti\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\.local\lib\python3.11\site-packages\huggingface_hub\utils\_http.py", line 96, in send
return super().send(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Blender Foundation\Blender 5.0\5.0\python\Lib\site-packages\requests\adapters.py", line 667, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "C:\Program Files\Blender Foundation\Blender 5.0\5.0\python\Lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Blender Foundation\Blender 5.0\5.0\python\Lib\site-packages\urllib3\connectionpool.py", line 493, in _make_request
conn.request(
File "C:\Program Files\Blender Foundation\Blender 5.0\5.0\python\Lib\site-packages\urllib3\connection.py", line 444, in request
self.putheader(header, value)
File "C:\Program Files\Blender Foundation\Blender 5.0\5.0\python\Lib\site-packages\urllib3\connection.py", line 358, in putheader
super().putheader(header, *values)
File "C:\Program Files\Blender Foundation\Blender 5.0\5.0\python\Lib\http\client.py", line 1276, in putheader
values[i] = one_value.encode('latin-1')
^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'latin-1' codec can't encode character '\u26a1' in position 52: ordinal not in range(256)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\rosti\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\user_default\meshgen\backend.py", line 165, in run_agent
for step in self.agent.run(prompt, stream=True):
File "C:\Users\rosti\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\.local\lib\python3.11\site-packages\smolagents\agents.py", line 356, in _run
raise e
File "C:\Users\rosti\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\.local\lib\python3.11\site-packages\smolagents\agents.py", line 353, in _run
final_answer = self._execute_step(task, action_step)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rosti\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\.local\lib\python3.11\site-packages\smolagents\agents.py", line 376, in _execute_step
final_answer = self.step(memory_step)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\rosti\AppData\Roaming\Blender Foundation\Blender\5.0\extensions\.local\lib\python3.11\site-packages\smolagents\agents.py", line 1241, in step
raise AgentGenerationError(f"Error in generating model output:\n{e}", self.logger) from e
smolagents.utils.AgentGenerationError: Error in generating model output:
'latin-1' codec can't encode character '\u26a1' in position 52: ordinal not in range(256)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.