Skip to content

Commit

Permalink
should be able to load without actions
Browse files Browse the repository at this point in the history
  • Loading branch information
huynle committed Feb 1, 2024
1 parent 08553a1 commit fddc14d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/ogpt/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,8 @@ function M.setup(options)
-- M.options.api_params.model = M.options.api_params.model or M.options.default_provider.model

for _, to_replace in pairs(_complete_replace) do
for key, item in pairs(options[to_replace]) do
vim.tbl_contains(options, to_replace)
for key, item in pairs(options[to_replace] or {}) do
M.options[to_replace][key] = item
end
end
Expand Down

0 comments on commit fddc14d

Please sign in to comment.