Skip to content

I encountered the following error when trying to use LiteLLM. [ADDED Log File] #5

@durul

Description

@durul

Hello,

Here is my error message.

litellm.NotFoundError: OpenAIException - Error code: 404 - {'error': {'message': 'The model `gpt-4-turbo` does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None, 'code': 'model_not_found'}}

Additional details:

  1. LiteLLM version: 1.48.1
  2. Python version: 3.12.4
  3. Python Path: /opt/homebrew/anaconda3/bin/python
  4. Operating System: macOS 15.0 arm64
  5. Steps to reproduce:
  • I uploaded a PDF file.
  • I entered my OpenAI API key.
  • I selected the model "o1-preview-2024-09-12".
  • I left all the other features as a default.

Here is the log file
litellm_debug.log

Screenshot 2024-09-25 at 1 27 18 PM

I've already tried enabling verbose logging with litellm.set_verbose=True, but I'm unsure how to proceed. Any guidance on resolving this issue would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions