[FEAT]: Enable User Tracking for OpenRouter Requests
What would you like to see?
OpenRouter has user tracking features to map submissions to users - this is a core part of identifying usage in a multi user system. AnythingLLM clearly captures this and could be amended to pass this detail to the OpenRouterAPI by mapping the user parameter.
https://openrouter.ai/docs/use-cases/user-tracking
If this could be enabled - then AnythingLLM linked to OpenRouter would be able to fully leveraged as a multiuser LLM service for business.
Is this something that we could please add?
Thanks
Tim
would like to work on this @thoughtlabs-nz @timothycarambat
Thank you - this is awesome news - I am happy to assist if any help is needed.
Having the ability to pass the username is really important when tracking usage in 3rd party systems - we only need to allow a mapping between the AnythingLLM username and pass this in the call made to OpenRouter.
Kind regards
Tim
Resolved by https://github.com/Mintplex-Labs/anything-llm/pull/4668