SakanaAI / AI-Scientist

The AI Scientist: Towards Fully Automated Open-Ended Scientific Discovery 🧑‍🔬
Apache License 2.0
8.24k stars 1.16k forks source link

Stuck On Paper Generation Experiments python launch_scientist.py --model "gpt-4o-2024-05-13" --experiment nanoGPT_lite --num-ideas 2 #131

Open BELE-Y opened 2 months ago

BELE-Y commented 2 months ago

When I run python launch_scientist.py --model "gpt-4o-2024-05-13" --experiment nanoGPT_lite --num-ideas 2, the process gets stuck. After debugging, I found the issue occurs at coder_out=coder.run(next_prompt) in perform_experiments.py. Further investigation reveals the problem originates from res = litellm.completion(**kwargs) in sendchat.py from the Aider library.

I am unable to pinpoint the exact issue. I chose GPT as the generation tool, so I only imported OpenAI's URL and API key. 1Z15(@U55%PWYM3MZ0@L_A1

conglu1997 commented 2 months ago

Have you tried running aider normally with the same key? E.g. from command line?

venkatace commented 1 month ago

Can someone share the output screen while code execution?