Skip to content

Commit 97ad7fe

Browse files
committed
bump to error: Can not continue without model info
1 parent 802d81d commit 97ad7fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/CopilotChat/client.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ function Client:models()
259259

260260
local ok, models_or_err = pcall(provider.get_models, headers_or_err)
261261
if not ok then
262-
log.warn('Failed to fetch models from ' .. provider_name .. ': ' .. models_or_err)
262+
log.error('Failed to fetch models from ' .. provider_name .. ': ' .. models_or_err)
263263
error(models_or_err)
264264
return {}
265265
end

0 commit comments

Comments
 (0)