Open FlintyLemming opened 2 weeks ago
Bot detected the issue body's language is not English, translate it automatically.
Title: o1-preview is not supported
Supplier name
OpenAI o1-preview
describe
An error occurs when calling the API of o1
Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead. (type: invalid_request_error)
Reference issue: https://github.com/janhq/jan/issues/3698
供应商名称
OpenAI o1-preview
描述
调用 o1 的 API 时报错
参考 issue: https://github.com/janhq/jan/issues/3698