AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Only gpt-3.5 being used, without using --gpt3only modifier

Open fatinmatvey opened this issue 1 year ago • 6 comments

Duplicates

  • [X] I have searched the existing issues

Steps to reproduce 🕹

Run python scripts/main.py with OpenAI api key that supports gp4 usage in env

Current behavior 😯

Judging by my USAGE page on Open AI, AutoGPT is only making use of gpt-3.5-turbo-0301 and text-embedding-ada-002-v2

Expected behavior 🤔

AutoGPT should use gpt-4 model

Your prompt 📝

# Paste your prompt here

fatinmatvey avatar Apr 12 '23 11:04 fatinmatvey

I have also seen this, I'm not sure on a cause, yet.

richbeales avatar Apr 12 '23 12:04 richbeales

from what I can tell. the script defaults to 3.5. you must use the gpt4only flag.

ericlewis avatar Apr 12 '23 16:04 ericlewis

It's hardcoded to use fast_llm_model for everything except the write_tests, evaluate_code and improve_code commands. (see https://github.com/Torantulino/Auto-GPT/blob/master/scripts/chat.py#L66 for example)

So you could change that to gpt-4 if you want to wrack up a bill 😉

rbourdon avatar Apr 12 '23 21:04 rbourdon

Maybe GPT 4 (or smart_llm_model) should be used by default when choosing the command to use next, which should not use many tokens but is the core of AutoGPT. Oftentimes GPT 3.5 fails to select the appropriate command given the agent's thoughts.

GerardCB avatar Apr 21 '23 10:04 GerardCB

definitely want more input on this #2621 and if it's a good direction need to add tests

edcohen08 avatar Apr 23 '23 04:04 edcohen08

See #3144 proposed fix.

lc0rp avatar Apr 24 '23 16:04 lc0rp