Ishaan Jaff
|
b5d55688e5
|
(Refactor) Code Quality improvement - remove /prompt_templates/ , base_aws_llm.py from /llms folder (#7164)
* fix move base_aws_llm
* fix import
* update enforce llms folder style
* move prompt_templates
* update prompt_templates location
* fix imports
* fix imports
* fix imports
* fix imports
* fix checks
|
2024-12-11 00:02:46 -08:00 |
|
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
|
6e9f048618
|
fix: move to using pydantic obj for setting values
|
2024-07-11 13:18:36 -07:00 |
|
Krrish Dholakia
|
6575143460
|
feat(proxy_server.py): return litellm version in response headers
|
2024-05-08 16:00:08 -07:00 |
|
Krrish Dholakia
|
48c2c3d78a
|
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
|
4905929de3
|
refactor: add black formatting
|
2023-12-25 14:11:20 +05:30 |
|
ishaan-jaff
|
50f883a2fb
|
(fix) pydantic errors with response.time
|
2023-11-20 18:28:19 -08:00 |
|
Krrish Dholakia
|
45b6f8b853
|
refactor: fixing linting issues
|
2023-11-11 18:52:28 -08:00 |
|
ishaan-jaff
|
194f85e92f
|
(feat) add model_response.usage.completion_tokens for bedrock, palm, petals, sagemaker
|
2023-10-27 09:51:50 -07:00 |
|
Krrish Dholakia
|
7572086231
|
style: fix linting errors
|
2023-10-16 17:35:08 -07:00 |
|
Krrish Dholakia
|
af2fd0e0de
|
fix: fix value error if model returns empty completion
|
2023-10-10 10:11:40 -07:00 |
|
Krrish Dholakia
|
dd7e397650
|
style(test_completion.py): fix merge conflict
|
2023-10-05 22:09:38 -07:00 |
|
Krrish Dholakia
|
5a19ee1a71
|
fix get optional params
|
2023-10-02 12:02:53 -07:00 |
|
ishaan-jaff
|
b81f8d2ddd
|
remove cuda from petals
|
2023-09-20 09:23:39 -07:00 |
|
ishaan-jaff
|
85862c1066
|
petals remove print statement
|
2023-09-19 10:56:30 -07:00 |
|
ishaan-jaff
|
946c81626d
|
fix petals imports
|
2023-09-19 09:27:40 -07:00 |
|
ishaan-jaff
|
bee1224aa2
|
dev4
|
2023-09-19 09:24:34 -07:00 |
|
ishaan-jaff
|
385640b743
|
petals fixes
|
2023-09-19 09:24:34 -07:00 |
|
ishaan-jaff
|
f6ccadabc8
|
fix petals import
|
2023-09-19 09:24:34 -07:00 |
|
ishaan-jaff
|
a107b7b3ec
|
add petals file for completion
|
2023-09-19 09:24:34 -07:00 |
|