You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copilot Commit Message - Custom provider with Bearer token doesn't work #291
Ah I missed the "GitHub Desktop" header, my bad.
I've also found the cause of the error, it seems that auto is a special value used internally in the app, so using that value was causing the wrong values to be sent to your router.
Is this auto name a convention / default value set by your router? Could you try using a different name? I'll fix the underlying bug anyway, but this will probably unblock you now.
@irl231 Quick question for the upstream PR: you mentioned that auto is de default model name, but I couldn't find any reference to exactly "auto" in the LiteLLM docs. Could you please link the documentation or tutorial you followed, which uses auto as the model name? Thanks!
Activity
pol-rivero commentedon Oct 15, 2026
Please check if the error also occurs when using the official GitHub Desktop app. That will help me when trying to isolate the error.
pol-rivero commentedon Oct 15, 2026
I've done a couple of tests using openrouter.ai and it seems to be working correctly on my end
irl231 commentedon Oct 15, 2026
pol-rivero commentedon Oct 15, 2026
I've copied the token and deleted your message just in case. I'll let you know once you can rotate it.
pol-rivero commentedon Oct 15, 2026
By the way, while I'm looking into this, could you try downloading the official GitHub Desktop app and checking if the error also occurs there?
irl231 commentedon Oct 15, 2026
I've used the latest version of Official Github Desktop app on the last message with image and error message.
pol-rivero commentedon Oct 15, 2026
Ah I missed the "GitHub Desktop" header, my bad.
I've also found the cause of the error, it seems that
autois a special value used internally in the app, so using that value was causing the wrong values to be sent to your router.Is this
autoname a convention / default value set by your router? Could you try using a different name? I'll fix the underlying bug anyway, but this will probably unblock you now.pol-rivero commentedon Oct 15, 2026
You can also rotate the token
irl231 commentedon Oct 15, 2026
the
autoname is the model default name,.pol-rivero commentedon Oct 15, 2026
Okay, in that case I'll upstream our fix too. Thanks for reporting!
pol-rivero commentedon Oct 16, 2026
@irl231 Quick question for the upstream PR: you mentioned that
autois de default model name, but I couldn't find any reference to exactly "auto" in the LiteLLM docs. Could you please link the documentation or tutorial you followed, which usesautoas the model name? Thanks!irl231 commentedon Oct 17, 2026
@pol-rivero https://docs.litellm.ai/docs/auto_router/#quick-start
https://docs.litellm.ai/blog/autorouter-v2
did you try this?
Allow using 'auto' as the model name in BYOK
pol-rivero commentedon Oct 17, 2026
@irl231 Thanks!
Also, the fix has been released in v3.6.7