You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Facing the following error for every code execution stage when the general_model is used to implement a paper:
--------------Execution feedback:---------------
Execution error: Extra data: line 2 column 1 (char 77)
Traceback: Traceback (most recent call last):
File "/mnt/d/TechStuff/RD-Agent/rdagent/components/coder/model_coder/model.py", line 97, in execute
qtde.prepare()
File "/mnt/d/TechStuff/RD-Agent/rdagent/utils/env.py", line 374, in prepare
super().prepare()
File "/mnt/d/TechStuff/RD-Agent/rdagent/utils/env.py", line 211, in prepare
status_dict = json.loads(part)
File "/home/tezansahu/anaconda3/envs/rdagent/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/home/tezansahu/anaconda3/envs/rdagent/lib/python3.10/json/decoder.py", line 340, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 2 column 1 (char 77)
All other model responses like writing the description/formulation, as well as the response of critics on the code are returned correctly.
Command used to run: rdagent general_model --report_file_path=rdagent/scenarios/general_model/1412.6550v4_FitNet.pdf
Downloaded the FitNet paper & placed it in rdagent/scenarios/general_model/ folder
Ran the command rdagent general_model --report_file_path=rdagent/scenarios/general_model/1412.6550v4_FitNet.pdf
Expected Behavior
Code execution to happen successfully & actual code errors to be found (not setup errors)
Screenshot
Environment
Note: Users can run rdagent collect_info to get system information and paste it directly here.
Name of current operating system: Windows (using WSL 2 - Ubuntu 22.04LTS)
Processor architecture: AMD64
System, version, and hardware information: Microsoft Windows 11 Home Single Language (OS Version: 10.0.22631 N/A Build 22631) | Intel64 Family 6 Model 154 Stepping 3 GenuineIntel ~2700 Mhz processor
Version number of the system: 10.0.22631 N/A Build 22631
🐛 Bug Description
Facing the following error for every code execution stage when the
general_model
is used to implement a paper:All other model responses like writing the description/formulation, as well as the response of critics on the code are returned correctly.
Command used to run:
rdagent general_model --report_file_path=rdagent/scenarios/general_model/1412.6550v4_FitNet.pdf
To Reproduce
Steps to reproduce the behavior:
.env
file with the following settings:rdagent/scenarios/general_model/
folderrdagent general_model --report_file_path=rdagent/scenarios/general_model/1412.6550v4_FitNet.pdf
Expected Behavior
Code execution to happen successfully & actual code errors to be found (not setup errors)
Screenshot
Environment
Note: Users can run
rdagent collect_info
to get system information and paste it directly here.rdagent general_model --report_file_path=rdagent/scenarios/general_model/1412.6550v4_FitNet.pdf
The text was updated successfully, but these errors were encountered: