CodeAgent gets error from correct code #1712
Unanswered
alienverarslan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
the codeagent is given a task to convert a string into markdown table format. It successfully captures the related part of the string and writes the code for markdown table formatting. However, it keeps receiving the same error. I copied and run the code on the same string in my jupyter notebook, and it runned without a problem.
the string is something like that
raw_table_data = """
Comparison Table
Metric sector average solo value consolidated value
2022-12-31 ROE 13 9 12.2
2023-12-31 ROE 12 10 13.1
2024-12-31 ROE 11 9 .5 11.5
"""
the code the codeagent wrote was
and the error message it gets:
When i copy and run the same code with the same input string, I get results without an error. What might be the reason this error occures inside the agent's state and not when i manually run.
the setup I work is:
smolagents = 1.20.0
ollama = v0.11.3
LLM = Qwen/Qwen3-32B_Q4-K-M.gguf
Beta Was this translation helpful? Give feedback.
All reactions