Skip to content

Conversation

@EamonNerbonne
Copy link
Contributor

@EamonNerbonne EamonNerbonne commented Jun 10, 2025

Purely to help us debug after the fact.

Might this work?

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new header to help debug the API by including the package version.

  • Added an import for Package to access its version property.
  • Introduced the "X-KiloCode-Version" header in the default headers.

Copy link
Contributor

@hassoncs hassoncs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure!

Adds a test case to verify that the `X-KiloCode-Version` header is included in default headers for OpenAI and Requesty API calls. This ensures the version header is correctly passed in API requests.
@changeset-bot
Copy link

changeset-bot bot commented Jun 10, 2025

⚠️ No Changeset found

Latest commit: 4c5f872

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@EamonNerbonne EamonNerbonne merged commit 0adb013 into main Jun 10, 2025
7 checks passed
@EamonNerbonne EamonNerbonne deleted the eamon/VerHeader branch June 10, 2025 18:27
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.

5 participants