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
For runing Spider-Agent on Spider 2.0 dataset, I follow your instructions and run the following commands:
cd ../../methods/spider-agent
export OPENAI_API_KEY=your_openai_api_key
python run.py --model gpt-4o -s test1
I meet the following issues:
Warning: ../../spider2/examples/postgres_chinook001 is neither a file nor a directory.
Traceback (most recent call last):
File "run.py", line 248, in <module>
test(args)
File "run.py", line 207, in test
env = Spider_Agent_Env(
File "/data/home/yongduosui/data/02-Spider2/03-Spider2/Spider2/methods/spider-agent/spider_agent/envs/spider_agent.py", line 82, in __init__
self.setup_controller.setup(self.config)
File "/data/home/yongduosui/data/02-Spider2/03-Spider2/Spider2/methods/spider-agent/spider_agent/controllers/setup.py", line 55, in setup
config_function(self, **parameters)
File "/data/home/yongduosui/data/02-Spider2/03-Spider2/Spider2/methods/spider-agent/spider_agent/configs/general.py", line 119, in copy_all_subfiles_postgres_setup
sh_file_path = sh_files[0]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
For runing Spider-Agent on
Spider 2.0
dataset, I follow your instructions and run the following commands:I meet the following issues:
The text was updated successfully, but these errors were encountered: