We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2806a7 commit eb24e16Copy full SHA for eb24e16
1 file changed
lua/CopilotChat/config/providers.lua
@@ -243,6 +243,10 @@ M.copilot = {
243
if response.body and response.body.endpoints and response.body.endpoints.api then
244
log.info('get_headers ok, authenticated. Use api endpoint: ' .. response.body.endpoints.api)
245
log.info(utils.to_string(response)) --TODO: remove me, testing only
246
+ error(
247
+ 'get_headers authenticated, but missing key "endpoints.api" in server response. Check log for details: '
248
+ .. MC.config.log_path
249
+ ) -- TODO: remove me
250
M.endpoints_api = response.body.endpoints.api
251
else
252
log.error(
0 commit comments