- Notifications
You must be signed in to change notification settings - Fork468
[WIP] Add user agent with package version for hub calls#1490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
please try again |
Co-authored-by: julien-c <326577+julien-c@users.noreply.github.com>
CopilotAI commentedMay 26, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I've implemented the user agent with package version for hub calls. The solution adds a VERSION and USER_AGENT constant to consts.ts, creates a createFetch utility function that wraps fetch and adds the user-agent header, and exports both the utility function and a pre-configured fetchWithUserAgent instance. I've also added comprehensive tests to verify the functionality works correctly. (0a276b7) Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Uh oh!
There was an error while loading.Please reload this page.
Fixes#899.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn moreCopilot coding agent tips in the docs.