AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Command analyze_code returned: Error: The model `gpt-3.5` does not exist

Open khanfar opened this issue 1 year ago • 0 comments

⚠️ Search for existing issues first ⚠️

  • [X] I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Windows

Which version of Auto-GPT are you using?

Latest Release

GPT-3 or GPT-4?

GPT-3.5

Steps to reproduce 🕹

i got error when try to generate python file this what i got : Command analyze_code returned: Error: The model gpt-3.5 does not exist

my env file look like this :

##EXECUTE_LOCAL_COMMANDS - Allow local command execution (Default: False)

RESTRICT_TO_WORKSPACE - Restrict file operations to workspace ./auto_gpt_workspace (Default: True)

EXECUTE_LOCAL_COMMANDS=True RESTRICT_TO_WORKSPACE=False

OPENAI

OPENAI_API_KEY - OpenAI API Key (Example: my-openai-api-key)

TEMPERATURE - Sets temperature in OpenAI (Default: 0)

USE_AZURE - Use Azure OpenAI or not (Default: False)

OPENAI_API_KEY=sk-Pgxxxx

OPENAI_API_KEY=sk-T5Fuxxxxxxxxxxx

TEMPERATURE=0

USE_AZURE=False

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

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

SMART_LLM_MODEL=gpt-3.5 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

BROWSER

HEADLESS_BROWSER - Whether to run the browser in headless mode (default: True)

USE_WEB_BROWSER - Sets the web-browser driver to use with selenium (default: chrome).

Note: set this to either 'chrome', 'firefox', or 'safari' depending on your current browser

HEADLESS_BROWSER=True USE_WEB_BROWSER=chrome

BROWSE_CHUNK_MAX_LENGTH - When browsing website, define the length of chunks to summarize (in number of tokens, excluding the response. 75 % of FAST_TOKEN_LIMIT is usually wise )

BROWSE_CHUNK_MAX_LENGTH=3000

BROWSE_SPACY_LANGUAGE_MODEL is used to split sentences. Install additional languages via pip, and set the model name here. Example Chinese: python -m spacy download zh_core_web_sm

BROWSE_SPACY_LANGUAGE_MODEL=en_core_web_sm

please help...

Current behavior 😯

No response

Expected behavior 🤔

No response

Your prompt 📝

# Paste your prompt here

Your Logs 📒

<insert your logs here>

khanfar avatar Apr 25 '23 17:04 khanfar