anything-llm
anything-llm copied to clipboard
[CHORE]: Append custom `User-Agent` on `openai` invocations
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:
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/
User-agent for which interaction? Streaming chats or something else?
The user agent when making calls to an OpenAI-compatible endpoint.