forked from YustinS/moodle-coderunner-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
Exception using Ollama API #3
Copy link
Copy link
Open
Labels
wontfixThis will not be worked onThis will not be worked on
Description
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/home/georg/git/AI-Assessment/moodle-coderunner-docker/jobe/ChatRunner/ChatRunner/__main__.py", line 73, in <module>
r = testProgram( prob, ans, lit, graderstate_string, cfg )
File "/home/georg/git/AI-Assessment/moodle-coderunner-docker/jobe/ChatRunner/ChatRunner/chatrunner.py", line 327, in testProgram
testResults = queryAI(sandbox, studans, prompt, debug=debug)
File "/home/georg/git/AI-Assessment/moodle-coderunner-docker/jobe/ChatRunner/ChatRunner/query.py", line 23, in queryAI
r.extend( dumpResponse( svar ) )
~~~~~~~~~~~~^^^^^^^^
File "/home/georg/git/AI-Assessment/moodle-coderunner-docker/jobe/ChatRunner/ChatRunner/query.py", line 53, in dumpResponse
testlist = json.loads(svar_fetched)
File "/usr/lib/python3.13/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
~~~~~~~~~~~~~~~~~~~~~~~^^^
File "/usr/lib/python3.13/json/decoder.py", line 348, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 10 column 2 (char 3431)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on