Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] invalid_request_error when using o1-preview #6019

Open
chesha1 opened this issue Jan 1, 2025 · 2 comments
Open

[Bug] invalid_request_error when using o1-preview #6019

chesha1 opened this issue Jan 1, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@chesha1
Copy link

chesha1 commented Jan 1, 2025

📦 Deployment Method

Vercel

📌 Version

v2.15.8

💻 Operating System

Windows

📌 System Version

23H2

🌐 Browser

Chrome

📌 Browser Version

131.0.6778.205

🐛 Bug Description

When using o1-preview model, it cannot respond expectedly.

{
  "error": {
    "type": "invalid_request_error",
    "code": "unknown_url",
    "message": "Unknown request URL: POST /deployments/o1-preview/chat/completions?api-version=undefined. Please check the URL for typos, or see the docs at https://platform.openai.com/docs/api-reference/.",
    "param": null
  }
}

When using other models like gpt-4o or claude 3.5 sonnet, it works well.

📷 Recurrence Steps

Say anything to o1-preview

🚦 Expected Behavior

No response

📝 Additional Information

No response

@chesha1 chesha1 added the bug Something isn't working label Jan 1, 2025
@chesha1
Copy link
Author

chesha1 commented Jan 5, 2025

补充一个很奇怪的点:

如果用 vercel 自动分配的域名 <project-name>-xxxx.vercel.app 就会出现这种问题

如果用和 commit 绑定的域名 <project-name>-<deployment-id>-xxxx.vercel.app 就可以正常使用

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Add a very strange point:

This problem will occur if you use the domain name -xxxx.vercel.app automatically assigned by vercel.

If you use the domain name --xxxx.vercel.app bound to commit, it can be used normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants