[GH-ISSUE #1496] [CHORE]: Append custom User-Agent on openai invocations #955

Closed
opened 2026-02-22 18:22:24 -05:00 by yindo · 2 comments
Owner

Originally created by @odrobnik on GitHub (May 22, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1496

Originally assigned to: @angelplusultra on GitHub.

What would you like to see?

Right now the user-agent seen by the OpenAI-compatible server-side is OpenAI/JS 4.38.5 although the App is this:

image

I think the user agent should be `AnythingLLM/1.5.5" or similar.

Further reading: https://www.scientiamobile.com/correctly-form-user-agents-for-mobile-apps/

Originally created by @odrobnik on GitHub (May 22, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1496 Originally assigned to: @angelplusultra on GitHub. ### What would you like to see? Right now the user-agent seen by the OpenAI-compatible server-side is `OpenAI/JS 4.38.5` although the App is this: <img width="276" alt="image" src="https://github.com/Mintplex-Labs/anything-llm/assets/333270/e11fbbf3-879c-4a1d-843c-d065acab2161"> I think the user agent should be `AnythingLLM/1.5.5" or similar. Further reading: https://www.scientiamobile.com/correctly-form-user-agents-for-mobile-apps/
yindo closed this issue 2026-02-22 18:22:24 -05:00
Author
Owner

@timothycarambat commented on GitHub (May 22, 2024):

User-agent for which interaction? Streaming chats or something else?

@timothycarambat commented on GitHub (May 22, 2024): User-agent for which interaction? Streaming chats or something else?
Author
Owner

@odrobnik commented on GitHub (May 23, 2024):

The user agent when making calls to an OpenAI-compatible endpoint.

@odrobnik commented on GitHub (May 23, 2024): The user agent when making calls to an OpenAI-compatible endpoint.
yindo changed title from [CHORE]: Append custom `User-Agent` on `openai` invocations to [GH-ISSUE #1496] [CHORE]: Append custom `User-Agent` on `openai` invocations 2026-06-05 14:38:09 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#955