Commit graph

19 commits

Author SHA1 Message Date
Krish Dholakia
94a05ca5d0 Litellm ruff linting enforcement (#5992)
* ci(config.yml): add a 'check_code_quality' step

Addresses https://github.com/BerriAI/litellm/issues/5991

* ci(config.yml): check why circle ci doesn't pick up this test

* ci(config.yml): fix to run 'check_code_quality' tests

* fix(__init__.py): fix unprotected import

* fix(__init__.py): don't remove unused imports

* build(ruff.toml): update ruff.toml to ignore unused imports

* fix: fix: ruff + pyright - fix linting + type-checking errors

* fix: fix linting errors

* fix(lago.py): fix module init error

* fix: fix linting errors

* ci(config.yml): cd into correct dir for checks

* fix(proxy_server.py): fix linting error

* fix(utils.py): fix bare except

causes ruff linting errors

* fix: ruff - fix remaining linting errors

* fix(clickhouse.py): use standard logging object

* fix(__init__.py): fix unprotected import

* fix: ruff - fix linting errors

* fix: fix linting errors

* ci(config.yml): cleanup code qa step (formatting handled in local_testing)

* fix(_health_endpoints.py): fix ruff linting errors

* ci(config.yml): just use ruff in check_code_quality pipeline for now

* build(custom_guardrail.py): include missing file

* style(embedding_handler.py): fix ruff check
2024-10-01 19:44:20 -04:00
Ishaan Jaff
39ca66f46d fix - remove deprecated clickhouse utils 2024-06-15 15:33:26 -07:00
Krrish Dholakia
e391e30285 refactor: replace 'traceback.print_exc()' with logging library
allows error logs to be in json format for otel logging
2024-06-06 13:47:43 -07:00
Krrish Dholakia
926b86af87 feat(bedrock_httpx.py): moves to using httpx client for bedrock cohere calls 2024-05-11 13:43:08 -07:00
Krrish Dholakia
5f93cae3ff feat(proxy_server.py): return litellm version in response headers 2024-05-08 16:00:08 -07:00
Ishaan Jaff
ab066d22a8 Merge branch 'main' into litellm_daily_metrics 2024-02-27 20:33:35 -08:00
ishaan-jaff
af90e508d9 (chore) move clickhouse to correct directory 2024-02-27 19:41:01 -08:00
ishaan-jaff
a794b442f8 (feat) update /daily metrics 2024-02-27 18:33:59 -08:00
ishaan-jaff
c907d2f3b5 (feat) /daily/metrics 2024-02-27 14:51:23 -08:00
ishaan-jaff
9480513d5d (feat) clickhouse update views / aggregate tables 2024-02-27 12:55:50 -08:00
ishaan-jaff
6f538df24f (feat) clickhouse run view setup 2024-02-27 12:52:20 -08:00
ishaan-jaff
d520ae32b4 (fix) logging on clickhouse + proxy 2024-02-27 08:59:24 -08:00
ishaan-jaff
198159afff (feat) enable viewing /spend/logs for clickhouse 2024-02-26 18:05:21 -08:00
ishaan-jaff
801984dc8c (feat) init clickhouse logger 2024-02-26 15:38:07 -08:00
ishaan-jaff
2ea6802f68 (feat) basic clickhouse logging setup 2024-02-26 15:28:57 -08:00
ishaan-jaff
a4987acd45 (feat) set up click house table on start 2024-02-26 15:25:59 -08:00
ishaan-jaff
644b7eb918 (v0) start clickhouse 2024-02-26 14:18:56 -08:00
ishaan-jaff
4e8b62ccea (feat) use clickhouse as a logging provider 2024-02-26 07:35:16 -08:00
ishaan-jaff
e40df7c2cc v0 clickhouse 2024-02-24 17:40:39 -08:00