Skip to content

Conversation

@kiennq
Copy link
Contributor

@kiennq kiennq commented Nov 24, 2025

This allows to use the correct host url that's set in the token, ex: api.enterprise.githubcopilot.com

@karthink
Copy link
Owner

karthink commented Nov 25, 2025

@kiennq thanks for the PR. Does the host url in the token change all the time, or is it otherwise unpredictable? I'm asking since you're repeatedly setting (gptel-backend-host gptel-backend) (and the protocol) with every request in this PR.

@kiennq
Copy link
Contributor Author

kiennq commented Nov 25, 2025

It's depending on the git hub chat token, which will be refreshed time to time. I think it's not going to change but is there issue with always setting those values?

@karthink
Copy link
Owner

karthink commented Nov 25, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants