File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
lua/codecompanion/adapters/http/mistral Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff 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
171168--- @param self CodeCompanion.HTTPAdapter
172169--- @return table<string , MistralModelInfo>
173170function M .choices (self )
174-
175171 local models = get_cached_models ()
176172 if models ~= nil and next (models ) then
177173 return models
You can’t perform that action at this time.
0 commit comments