Skip to content

[Bug] Error when using o1-preview large modelsย #5423

@1-bytes

Description

@1-bytes

๐Ÿ“ฆ Deployment Method

Docker

๐Ÿ“Œ Version

2.15.2

๐Ÿ’ป Operating System

Windows, macOS, Ubuntu, iOS, iPad OS, Android

๐Ÿ“Œ System Version

14.6.1 (23G93)

๐ŸŒ Browser

Chrome

๐Ÿ“Œ Browser Version

128.0.6613.120๏ผˆๆญฃๅผ็‰ˆๆœฌ๏ผ‰ (arm64)

๐Ÿ› Bug Description

The following error was prompted when using the o1-preview big model:

{ "error": true, "message": "The string did not match the expected pattern." }

The docker startup command is as follows:

docker stop chatgpt

docker rm -f chatgpt

docker pull yidadaa/chatgpt-next-web

docker run -d -p 9001:3000 \
   -e HIDE_USER_API_KEY=1 \
   -e BASE_URL=https://apic.ohmygpt.com/ \
   -e OPENAI_API_KEY=sk-xxxxxxxxx \
   -e ANTHROPIC_API_KEY=sk-xxxxxxxxx \
   -e CODE=xxxxxxxxxx \
   -e CUSTOM_MODELS=-all,+o1-preview=o1-preview,+chatgpt-4o-latest,+claude-3-5-sonnet,+dall-e-3 \
   -e DEFAULT_MODEL=o1-preview \
   --name chatgpt \
   yidadaa/chatgpt-next-web

๐Ÿ“ท Recurrence Steps

No response

๐Ÿšฆ Expected Behavior

success

๐Ÿ“ Additional Information

The backend api uses the ohmygpt service: https://www.ohmygpt.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions