Skip to content

Commit

Permalink
fixing default params for provider
Browse files Browse the repository at this point in the history
  • Loading branch information
huynle committed Apr 16, 2024
1 parent c3098cb commit 5c8fb5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/ogpt/provider/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,8 @@ function Provider:expand_model(params, ctx)
_expand(_name, model)
break
elseif type(model) == "string" then
params.model = model
_expand(nil, model)
break
end
end
end
Expand Down

0 comments on commit 5c8fb5f

Please sign in to comment.