Krish Dholakia
|
82b542df8f
|
LiteLLM Minor Fixes & Improvements (09/16/2024) (#5723) (#5731)
* LiteLLM Minor Fixes & Improvements (09/16/2024) (#5723)
* coverage (#5713)
Signed-off-by: dbczumar <corey.zumar@databricks.com>
* Move (#5714)
Signed-off-by: dbczumar <corey.zumar@databricks.com>
* fix(litellm_logging.py): fix logging client re-init (#5710)
Fixes https://github.com/BerriAI/litellm/issues/5695
* fix(presidio.py): Fix logging_hook response and add support for additional presidio variables in guardrails config
Fixes https://github.com/BerriAI/litellm/issues/5682
* feat(o1_handler.py): fake streaming for openai o1 models
Fixes https://github.com/BerriAI/litellm/issues/5694
* docs: deprecated traceloop integration in favor of native otel (#5249)
* fix: fix linting errors
* fix: fix linting errors
* fix(main.py): fix o1 import
---------
Signed-off-by: dbczumar <corey.zumar@databricks.com>
Co-authored-by: Corey Zumar <39497902+dbczumar@users.noreply.github.com>
Co-authored-by: Nir Gazit <nirga@users.noreply.github.com>
* feat(spend_management_endpoints.py): expose `/global/spend/refresh` endpoint for updating material view (#5730)
* feat(spend_management_endpoints.py): expose `/global/spend/refresh` endpoint for updating material view
Supports having `MonthlyGlobalSpend` view be a material view, and exposes an endpoint to refresh it
* fix(custom_logger.py): reset calltype
* fix: fix linting errors
* fix: fix linting error
* fix: fix import
* test(test_databricks.py): fix databricks tests
---------
Signed-off-by: dbczumar <corey.zumar@databricks.com>
Co-authored-by: Corey Zumar <39497902+dbczumar@users.noreply.github.com>
Co-authored-by: Nir Gazit <nirga@users.noreply.github.com>
|
2024-09-17 08:05:52 -07:00 |
|
Ishaan Jaff
|
7ef1ac7996
|
fix allow internal user to view their own usage
|
2024-09-05 12:53:44 -07:00 |
|
Ishaan Jaff
|
b4d6efd454
|
add global/spend/provider
|
2024-09-05 12:44:44 -07:00 |
|
Ishaan Jaff
|
6d656983c6
|
allow internal user to view global/spend/models
|
2024-09-05 12:38:48 -07:00 |
|
Ishaan Jaff
|
bb0fc2504b
|
allow internal user to view their own spend
|
2024-09-05 12:35:04 -07:00 |
|
Ishaan Jaff
|
6ab47703b8
|
show /spend/logs for internal users
|
2024-09-05 12:14:03 -07:00 |
|
Ishaan Jaff
|
3e1ff425de
|
return error from /global/spend endpoint
|
2024-09-04 17:26:34 -07:00 |
|
Ishaan Jaff
|
8426d0e3e0
|
return error client side from spend endpoints
|
2024-09-04 17:20:47 -07:00 |
|
Ishaan Jaff
|
94ecb4e480
|
show error from /spend/tags
|
2024-09-04 17:14:49 -07:00 |
|
Ishaan Jaff
|
37108765eb
|
get spend per internal user / api_key
|
2024-07-06 14:45:58 -07:00 |
|
Ishaan Jaff
|
ae19965ea8
|
/spend/report view spend for a specific key
|
2024-07-06 14:24:29 -07:00 |
|
Ishaan Jaff
|
d55c6b9b07
|
add better debugging on /spend/report
|
2024-06-29 18:01:25 -07:00 |
|
Ishaan Jaff
|
869819f8a9
|
raise error on /spend/report endpoint
|
2024-06-29 12:00:19 -07:00 |
|
Ishaan Jaff
|
8f661e972a
|
feat - add spend report grouped by api key
|
2024-06-29 11:33:02 -07:00 |
|
Ishaan Jaff
|
759bcbd4db
|
/spend/calculate use model aliases on this endpoint
|
2024-06-24 21:14:00 -07:00 |
|
Ishaan Jaff
|
9acab3dac5
|
test - spend/calculate endpoints
|
2024-06-24 19:32:52 -07:00 |
|
Ishaan Jaff
|
ff543e3e45
|
feat - refactor /spend/calculate
|
2024-06-24 19:05:34 -07:00 |
|
Ishaan Jaff
|
aa3f2b3cf9
|
fix cost tracking by tags
|
2024-06-21 16:49:57 -07:00 |
|