We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80795c0 commit dffe515Copy full SHA for dffe515
1 file changed
lua/CopilotChat/config/providers.lua
@@ -278,7 +278,7 @@ end
278
---@return table
279
local function prepare_chat_input(inputs, opts)
280
local is_o1 = vim.startswith(opts.model.id, 'o1')
281
- local is_codex = regex.match_str(regex, opts.model.id) ~= nil
+ local is_codex = opts.model.id:find('codex') ~= nil
282
283
inputs = vim.tbl_map(function(input)
284
local output = {
0 commit comments