Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contribute to upstream clients to introduce User-Agent #650

Open
4 tasks
lukehinds opened this issue Jan 20, 2025 · 2 comments
Open
4 tasks

Contribute to upstream clients to introduce User-Agent #650

lukehinds opened this issue Jan 20, 2025 · 2 comments

Comments

@lukehinds
Copy link
Contributor

lukehinds commented Jan 20, 2025

Many of the upstream clients are not setting a UA, which makes it hard for us to know who is connecting.

From a quick check I see:

Cline

User-Agent: axios/1.7.4

Continue

User-Agent: node-fetch

Aider

User-Agent: OpenAI/Python 1.57.0

We should seek to contribute patches upstream to help them set something specific to the client

Subtasks

@JAORMX
Copy link
Contributor

JAORMX commented Jan 20, 2025

Should we create a subtask per client? This way we can get different devs contributing to the clients in parallel

@yrobla yrobla self-assigned this Jan 21, 2025
@jhrozek
Copy link
Contributor

jhrozek commented Jan 24, 2025

I was looking at aider and it's just using litellm which uses either its own http client implementation that hardcodes the user-agent to litellm or in case of openai, directly the openai client. I'm going to check how much work it would be to patch litellm to be able to pass on the user-agent by the caller.

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

No branches or pull requests

4 participants