Commit graph

25 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
Krrish Dholakia
4905929de3 refactor: add black formatting 2023-12-25 14:11:20 +05:30
ishaan-jaff
b0a2e57a8a fix:completion fails when client=True&no email set 2023-09-08 12:36:33 -07:00
Krrish Dholakia
554b05015e fix litedebugger double logging error 2023-09-07 18:02:24 -07:00
Krrish Dholakia
34ed4cc23c updates to logging 2023-09-01 14:38:52 -07:00
Krrish Dholakia
99ce9873e9 fix api url for litedebugger 2023-09-01 13:28:12 -07:00
Krrish Dholakia
0ff4515f20 fixes to litedebugger 2023-09-01 13:22:16 -07:00
Krrish Dholakia
e8eb92c108 new logger client 2023-08-28 14:59:00 -07:00
ishaan-jaff
b713acb0a4 formatting improvements 2023-08-28 09:20:50 -07:00
Krrish Dholakia
1192640fb9 show litedebugger for streaming objects 2023-08-26 10:28:27 -07:00
Krrish Dholakia
198b95d7a0 update docs 2023-08-25 17:02:43 -07:00
Krrish Dholakia
c423db29f3 updates to litedebugger logging 2023-08-25 16:21:01 -07:00
Krrish Dholakia
7d16df98ac updates to logging 2023-08-24 18:58:12 -07:00
Krrish Dholakia
6e30b234ac move baseten to a REST endpoint call 2023-08-24 14:43:49 -07:00
ishaan-jaff
6047b84423 add litellm dashboard 2023-08-23 21:22:33 -07:00
ishaan-jaff
79de8bb12e use prod logger not local 2023-08-23 15:10:53 -07:00
Krrish Dholakia
d183dc8269 updates to litedebugger dashboard 2023-08-23 11:51:16 -07:00
Krrish Dholakia
84754da801 log embedding success/failure as well 2023-08-23 10:38:46 -07:00
ishaan-jaff
f3334a9634 linting fixes 2023-08-22 15:17:38 -07:00
ishaan-jaff
ccf875f84b formatting fixes 2023-08-22 15:07:07 -07:00
Krrish Dholakia
3d9518abbb acreate thin-client 2023-08-21 16:04:15 -07:00
Krrish Dholakia
dab594ed0c adding litedebugger dashboard url in print statements 2023-08-21 09:10:58 -07:00
Krrish Dholakia
9922e1032f add dashboard link in init 2023-08-21 08:46:30 -07:00
Krrish Dholakia
582b536276 adding email based litellm debugger logs 2023-08-21 07:47:05 -07:00
Krrish Dholakia
a1ad773667 adding lite debugger integration 2023-08-20 15:06:50 -07:00