carlrobertoh / CodeGPT

The leading open-source AI copilot for JetBrains. Connect to any model in any environment, and customize your coding experience in any way you like.
https://codegpt.ee
Apache License 2.0
1.1k stars 232 forks source link

New o1 (o1-mini, o1-preview) models are not supported via Custom Open API provider (Azure) #729

Open jakubsemerak opened 1 month ago

jakubsemerak commented 1 month ago

Describe the need of your request

It looks like it is due to unsupported system message, because when configuring custom OpenAI provider (Azure), it outputs: Unsupported value: 'messages[0].role' does not support 'system' with this model.

Proposed solution

Temporal workaround to be able to use the user prompt for model instructions instead of the system prompt? Hopefully the system prompt will be supported in the future.

Additional context

No response