Skip to content

Conversation

angelplusultra
Copy link
Contributor

@angelplusultra angelplusultra commented Sep 17, 2025

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

Relevant Issues

resolves #1496

What is in this change?

This PR adds a "User-Agent" header to requests made by both the basic and agent inference providers for Generic OpenAI.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

Copy link
Member

@timothycarambat timothycarambat left a comment

Choose a reason for hiding this comment

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

Small change to where useragent is exported. It's generic enough to where we might use it other places like getDeploymentVersion

@timothycarambat timothycarambat merged commit 50d4a19 into master Sep 17, 2025
1 check passed
@timothycarambat timothycarambat deleted the 1496-append-user-agent branch September 17, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR:needs review Needs review by core team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CHORE]: Append custom User-Agent on openai invocations
2 participants