Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
https://agpt.co
Other
168.88k stars 44.48k forks source link

Auto-GPT Command evaluate_code returned: Error: The model: `gpt-4` does not exist #2973

Closed Khnaz35 closed 1 year ago

Khnaz35 commented 1 year ago

⚠️ Search for existing issues first ⚠️

Which Operating System are you using?

MacOS

Which version of Auto-GPT are you using?

Latest Release

GPT-3 or GPT-4?

GPT-4

Steps to reproduce 🕹

MacBook-Pro-2:Auto-GPT khnaz35 $ docker run -it --env-file=/Users/desktop/Auto-GPT/.env -v $PWD/auto_gpt_workspace:/home/appuser/auto_gpt_workspace autogpt Warning: The file 'auto-gpt.json' does not exist. Local memory would not be saved to a file. NEWS: ::UPDATED:: Welcome to Auto-GPT! We'll keep you informed of the latest news and features by printing messages here. If you don't wish to see this message, you can run Auto-GPT with the --skip-news flag Welcome to Auto-GPT! run with '--help' for more information. Create an AI-Assistant: Enter the name of your AI and its role below. Entering nothing will load defaults. Name your AI: For example, 'Entrepreneur-GPT' AI Name: Entrepreneur-GPT here! I am at your service. Describe your AI's role: For example, 'an AI designed to autonomously develop and run businesses with the sole goal of increasing your net worth.' Entrepreneur-GPT is: Enter up to 5 goals for your AI: For example: Increase net worth, Grow Twitter Account, Develop and manage multiple businesses autonomously' Enter nothing to load defaults, enter nothing when finished. Goal 1: How many GPT agents are available?

Current behavior 😯

Using memory of type: LocalCache Using Browser: chrome THOUGHTS: I think I should start by listing the available GPT agents to see what resources I have available. REASONING: Listing the available GPT agents will give me an idea of what tasks I can delegate to them and what resources I have available to me. PLAN:

Expected behavior 🤔

Should list the available agent from my .env files. I have these settings available. `

SMART_LLM_MODEL - Smart language model (Default: gpt-4)

FAST_LLM_MODEL - Fast language model (Default: gpt-3.5-turbo)

SMART_LLM_MODEL=gpt-4 FAST_LLM_MODEL=gpt-3.5-turbo

LLM MODEL SETTINGS

FAST_TOKEN_LIMIT - Fast token limit for OpenAI (Default: 4000)

SMART_TOKEN_LIMIT - Smart token limit for OpenAI (Default: 8000)

When using --gpt3only this needs to be set to 4000.

FAST_TOKEN_LIMIT=4000 SMART_TOKEN_LIMIT=8000`

Also i have paid account setup for my use case

image

Your prompt 📝

# Paste your prompt here

How many GPT agents are available?

Also i don't see the file ai_settings.yaml file

image

Your Logs 📒

<insert your logs here>

I am not seeing the log/activity.log

image
manuel919 commented 1 year ago

I assume you do not have access to the model GPT4, yet. You can join the waitlist here: https://openai.com/waitlist/gpt-4-api Alternatively just use GPT3.5 by calling python -m autogpt --gpt3only

Khnaz35 commented 1 year ago

Might be that's an issue even after setting up the paid account its not allowing access to gtp-4, Btw i do have access to chatgpt plus though.

Also can you confirm that why it still doesn't list the other user agent ?

SMART_LLM_MODEL=gpt-4 FAST_LLM_MODEL=gpt-3.5-turbo Because my prompt was "How many GPT agents are available?" I also tried with "How many GPT agents I do have?"

manuel919 commented 1 year ago

Yeah, chatgpt plus gives you access to gpt4 via their chat interface. But not via API, which is required for auto gpt.

You could also set SMART_LLM_MODEL to the same value as FAST_LLM_MODEL

bradiosd commented 1 year ago

I had access to message_agent on 20/21 of April and now I am getting the error that the OP is getting. They seem to have taken my GPT4 access away?