-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Feat add retention config #10815
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
Feat add retention config #10815
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -211,6 +212,7 @@ general_settings: | |||
| enable_oauth2_proxy_auth | boolean | (Enterprise Feature) If true, enables oauth2.0 authentication | | |||
| forward_openai_org_id | boolean | If true, forwards the OpenAI Organization ID to the backend LLM call (if it's OpenAI). | | |||
| forward_client_headers_to_llm_api | boolean | If true, forwards the client headers (any `x-` headers) to the backend LLM call | | |||
| maximum_retention_period | str | Used to set the max retention time for spend logs in the db, after which they will be auto-purged | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reading this over - can we make this more precise, e.g. maximum_spend_logs_retention_period
?
It's more verbose but also more precise (i know exactly what it means when i read it)
Hey @jugaldb i can't tell why your diff with config_settings.md is so large. Can you please resolve it - it's blocking merge |
Title
Init on setting retention period for spend logs
Relevant issues
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/litellm/
directory, Adding at least 1 test is a hard requirement - see detailsmake test-unit
Type
🆕 New Feature