feature: for local RossoCortex provide litellm budget tracking plugin
Open
Nobody has claimed this yet.
stale
- Dominant language
- Python
- Stars
- 302
- Forks
- 107
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 41
Description
Feature Description
Currently not easy to configure daily budget
Proposed Solution
Use X-Litellm-Response-Cost header to keept track of cost of requests to LiteLLM
Want to contribute?
- I would like to work on this issue.
Additional Context
Possible compelling use case for https://github.com/kagenti/kagenti/issues/2145
@huang195 @mrsabath
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the local RossoCortex request path that communicates with LiteLLM and inspect how response headers are handled. Implement tracking for the X-Litellm-Response-Cost header and verify that accumulated costs support the requested daily budget behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100