Skip to content

Commit 94a5dfe

Browse files
committed
run Formatting... again
1 parent bad6a7d commit 94a5dfe

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lua/codecompanion/adapters/http/mistral/get_models.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,7 @@ local function fetch_async(adapter)
127127
-- This can happen wen you update vim ui in curl callback.
128128
callback = vim.schedule_wrap(function(response)
129129
if response.status ~= 200 then
130-
log:error(
131-
"Could not get Mistral models from " .. url .. models_endpoint .. ". Error: %s",
132-
response.body
133-
)
130+
log:error("Could not get Mistral models from " .. url .. models_endpoint .. ". Error: %s", response.body)
134131
running = false
135132
return false
136133
end
@@ -171,7 +168,6 @@ end
171168
---@param self CodeCompanion.HTTPAdapter
172169
---@return table<string, MistralModelInfo>
173170
function M.choices(self)
174-
175171
local models = get_cached_models()
176172
if models ~= nil and next(models) then
177173
return models

0 commit comments

Comments
 (0)