Commit graph

19 commits

Author SHA1 Message Date
Krish Dholakia
d57be47b0f
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
2f9aa308f1 fix - remove deprecated clickhouse utils 2024-06-15 15:33:26 -07:00
Krrish Dholakia
6cca5612d2 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
4a3b084961 feat(bedrock_httpx.py): moves to using httpx client for bedrock cohere calls 2024-05-11 13:43:08 -07:00
Krrish Dholakia
6575143460 feat(proxy_server.py): return litellm version in response headers 2024-05-08 16:00:08 -07:00
Ishaan Jaff
990439c49c
Merge branch 'main' into litellm_daily_metrics 2024-02-27 20:33:35 -08:00
ishaan-jaff
9ad8b7c8fb (chore) move clickhouse to correct directory 2024-02-27 19:41:01 -08:00
ishaan-jaff
d19370083d (feat) update /daily metrics 2024-02-27 18:33:59 -08:00
ishaan-jaff
66d552eb9a (feat) /daily/metrics 2024-02-27 14:51:23 -08:00
ishaan-jaff
16ff445e7a (feat) clickhouse update views / aggregate tables 2024-02-27 12:55:50 -08:00
ishaan-jaff
4e63bca21e (feat) clickhouse run view setup 2024-02-27 12:52:20 -08:00
ishaan-jaff
87bc7638cf (fix) logging on clickhouse + proxy 2024-02-27 08:59:24 -08:00
ishaan-jaff
30f4033bbc (feat) enable viewing /spend/logs for clickhouse 2024-02-26 18:05:21 -08:00
ishaan-jaff
248755a1a5 (feat) init clickhouse logger 2024-02-26 15:38:07 -08:00
ishaan-jaff
919530593b (feat) basic clickhouse logging setup 2024-02-26 15:28:57 -08:00
ishaan-jaff
4c0f4d63c3 (feat) set up click house table on start 2024-02-26 15:25:59 -08:00
ishaan-jaff
031e0eabf8 (v0) start clickhouse 2024-02-26 14:18:56 -08:00
ishaan-jaff
8045053398 (feat) use clickhouse as a logging provider 2024-02-26 07:35:16 -08:00
ishaan-jaff
13f1d7b96f v0 clickhouse 2024-02-24 17:40:39 -08:00