We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6616fca commit a2b869dCopy full SHA for a2b869d
1 file changed
lua/parrot/config.lua
@@ -212,7 +212,7 @@ local defaults = {
212
end,
213
-- PrtReloadCache reloads cached models for all or specific providers
214
ReloadCache = function(parrot, params)
215
- local provider = params.args -- Optional provider name from command args
+ local provider = params.args ~= "" and params.args or nil -- Optional provider name from command args
216
local state = parrot.chat_handler.state
217
local spinner = parrot.options.enable_spinner and require("parrot.spinner"):new(parrot.options.spinner_type) or nil
218
0 commit comments