CopilotChat.nvim icon indicating copy to clipboard operation
CopilotChat.nvim copied to clipboard

Supports for o1 models?

Open alwint3r opened this issue 5 months ago • 4 comments

GitHub has opened a limited preview for OpenAI o1 models. I was lucky enough to be admitted into their limited preview program, and I can see the o1 and o1-preview models when running the :CopilotChatModels command.

Select a model
1: gpt-3.5-turbo-0613
2: gpt-4-0613
3: gpt-4o-2024-05-13
4: gpt-4o-mini-2024-07-18
5: gpt-4-0125-preview
6: o1-preview-2024-09-12
7: o1-mini-2024-09-1

I tried selecting the o1-mini-2024-09-1 model and asked it some questions but got some errors. Here's some details from the log file

[DEBUG Tue Sep 24 23:26:58 2024] CopilotChat.nvim/lua/CopilotChat/copilot.lua:364: Prompt: Why do we need memory safety at all?
[DEBUG Tue Sep 24 23:26:58 2024] CopilotChat.nvim/lua/CopilotChat/copilot.lua:365: Embeddings: 0
[DEBUG Tue Sep 24 23:26:58 2024 CopilotChat.nvim/lua/CopilotChat/copilot.lua:366: Filename: /Users/alwin/copilot-chat
[DEBUG Tue Sep 24 23:26:58 2024] CopilotChat.nvim/lua/CopilotChat/copilot.lua:367: Filetype: copilot-chat
[DEBUG Tue Sep 24 23:26:58 2024] CopilotChat.nvim/lua/CopilotChat/copilot.lua:368: Selection:
[DEBUG Tue Sep 24 23:26:58 2024] CopilotChat.nvim/lua/CopilotChat/copilot.lua:369: Model: o1-mini-2024-09-12
[DEBUG Tue Sep 24 23:26:58 2024] CopilotChat.nvim/lua/CopilotChat/copilot.lua:370: Temperature: 0.1
[ERROR Tue Sep 24 23:27:00 2024] CopilotChat.nvim/lua/CopilotChat/copilot.lua:481: Failed parse response:
Bad Request
"Expected value but found invalid token at character 1"

alwint3r avatar Sep 24 '24 16:09 alwint3r