-
Notifications
You must be signed in to change notification settings - Fork 2k
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
When using OpenAI's O1-Preview or O1-Mini, the results cannot be returned. It is normal to use GPT-4O. #3279
Comments
@TaoWolf to make sure we are on the same page, this is located under Do you see any error messages or any output in the logs? |
Ahem, can't you even think of such an obvious question? |
你好,已经查到,以下几点,请注意: 我大概看了一下,发现了上面三处和之前gpt-4o模型的不同之处,应该改了这三个地方,就可以使用了。 |
Hello, it has been checked, the following points, please note:
I took a look and found that the above three places are different from the previous GPT-4O model, and these three places should be changed and you can use them. |
Thanks for checking, I'll take a look and see if we can implement a quick fix. |
I'm tagging @Patrick-Erichsen who owns JetBrains on our team. On my end, I tested it locally on VSCode and o1 seems to work as expected. I found an issue with the system prompt being ignored and addressed it in this PR: #3408 For reference, we handle https://github.com/continuedev/continue/blob/main/core/llm/llms/OpenAI.ts#L130 It might be that this logic doesn't get triggered when using JetBrains. |
Based on your suggestion, I have modified the configuration file config.json by directly updating the relevant settings as follows: "completionOptions": { After testing, I can successfully use o1 and o1-mini, so there is no need to fix this issue. However, such adjustments to the configuration file should be reflected in the reference documentation. I have already updated the documentation and submitted a pull request: #3420 Please review and approve the merge so that it can be shared with other users. |
也不支持stream |
Before submitting your bug report
Relevant environment info
Description
No response
To reproduce
No response
Log output
No response
The text was updated successfully, but these errors were encountered: