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 |
|
Krrish Dholakia
|
c69193c321
|
fix: move to using pydantic obj for setting values
|
2024-07-11 13:18:36 -07:00 |
|
Krrish Dholakia
|
5f93cae3ff
|
feat(proxy_server.py): return litellm version in response headers
|
2024-05-08 16:00:08 -07:00 |
|
Krrish Dholakia
|
b10f03706d
|
fix(utils.py): fix streaming to not return usage dict
Fixes https://github.com/BerriAI/litellm/issues/3237
|
2024-04-24 08:06:07 -07:00 |
|
Krrish Dholakia
|
79978c44ba
|
refactor: add black formatting
|
2023-12-25 14:11:20 +05:30 |
|
ishaan-jaff
|
7bc28f3b1c
|
(fix) pydantic errors with response.time
|
2023-11-20 18:28:19 -08:00 |
|
Krrish Dholakia
|
4b74ddcb17
|
refactor: fixing linting issues
|
2023-11-11 18:52:28 -08:00 |
|
ishaan-jaff
|
194b6263c7
|
(feat) add model_response.usage.completion_tokens for bedrock, palm, petals, sagemaker
|
2023-10-27 09:51:50 -07:00 |
|
Krrish Dholakia
|
e5279ef99d
|
style: fix linting errors
|
2023-10-16 17:35:08 -07:00 |
|
Krrish Dholakia
|
cc0e4f4f9f
|
fix: fix value error if model returns empty completion
|
2023-10-10 10:11:40 -07:00 |
|
Krrish Dholakia
|
69cdf5347a
|
style(test_completion.py): fix merge conflict
|
2023-10-05 22:09:38 -07:00 |
|
Krrish Dholakia
|
eb4c7876e2
|
fix get optional params
|
2023-10-02 12:02:53 -07:00 |
|
ishaan-jaff
|
fcbc23f147
|
remove cuda from petals
|
2023-09-20 09:23:39 -07:00 |
|
ishaan-jaff
|
c32190f2da
|
petals remove print statement
|
2023-09-19 10:56:30 -07:00 |
|
ishaan-jaff
|
90d4343b24
|
fix petals imports
|
2023-09-19 09:27:40 -07:00 |
|
ishaan-jaff
|
f4ff26dfac
|
dev4
|
2023-09-19 09:24:34 -07:00 |
|
ishaan-jaff
|
7527b7ba0d
|
petals fixes
|
2023-09-19 09:24:34 -07:00 |
|
ishaan-jaff
|
3e8b0981d6
|
fix petals import
|
2023-09-19 09:24:34 -07:00 |
|
ishaan-jaff
|
32d5399209
|
add petals file for completion
|
2023-09-19 09:24:34 -07:00 |
|