Copilot adapter for o1 models #279
lucobellic
started this conversation in
Show and tell
Replies: 2 comments 7 replies
-
This is awesome! Thanks for sharing. How have you found the o1 model's performance so far? |
Beta Was this translation helpful? Give feedback.
7 replies
-
@lucobellic I'm in the process of tweaking the adapter and http client. You'll need to change: parameters = { stream = false }, -- Stream not supported to: opts = { stream = false }, -- Stream not supported |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using Copilot with o1 models through beta/limited access does not currently support all the default adapter options/requests.
Since codecompanion.nvim is extensible, it's really easy to create a new adapter to handle this.
For anyone who may be interested, here is a small snippet to create an adapter for o1 models using Copilot:
Note
Since
stream
is not supported, you will have to wait until the request is completely generated to see the output.Beta Was this translation helpful? Give feedback.
All reactions