Skip to content

[Bug/Feature Request] Add a custom User-Agent feature in the AI settings #2216

@WHYBBE

Description

@WHYBBE
Image If the OpenAI-dotnet library does not set/override the User-Agent, it will automatically use a strange User-Agent, and many AI proxy services have policies that directly filter requests with this User-Agent, thus returning 403 errors (this is my guess about the reason).

User-Agent: OpenAI/2.9.1 (.NET 10.0.5; Microsoft Windows 10.0.26200)
So is it possible to add a feature for a custom User-Agent to avoid this issue?

Or are there any other good ways to solve this problem?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneed-more-infoExtra information or replay is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions