Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: invalid literal for int() with base 16: 'u00e' #298

Open
castorinop opened this issue Jan 9, 2025 · 0 comments
Open

ERROR: invalid literal for int() with base 16: 'u00e' #298

castorinop opened this issue Jan 9, 2025 · 0 comments

Comments

@castorinop
Copy link

AgentZero version: docker v0.8

ollama version is 0.5.4
LLM: qwen2.5-coder

Expected:

  • handle error and continue
  • send error to github
  • self healing (?)

Stack Error

Traceback (most recent call last):
Traceback (most recent call last):
  File "/a0/agent.py", line 300, in monologue
    tools_result = await self.process_tools(agent_response)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

>>>  1 stack lines skipped <<<

  File "/a0/python/helpers/dirty_json.py", line 45, in _parse
    self.result = self._parse_value()
                  ^^^^^^^^^^^^^^^^^^^
  File "/a0/python/helpers/dirty_json.py", line 65, in _parse_value
    return self._parse_object()
           ^^^^^^^^^^^^^^^^^^^^
  File "/a0/python/helpers/dirty_json.py", line 95, in _parse_object
    self._parse_object_content()
  File "/a0/python/helpers/dirty_json.py", line 118, in _parse_object_content
    value = self._parse_value()
            ^^^^^^^^^^^^^^^^^^^
  File "/a0/python/helpers/dirty_json.py", line 71, in _parse_value
    return self._parse_string()
           ^^^^^^^^^^^^^^^^^^^^
  File "/a0/python/helpers/dirty_json.py", line 189, in _parse_string
    result += chr(int(unicode_char, 16))
                  ^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 16: 'u00e'


ValueError: invalid literal for int() with base 16: 'u00e'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant