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
|
2874b94fb1
|
refactor: replace .error() with .exception() logging for better debugging on sentry
|
2024-08-16 09:22:47 -07:00 |
|
Krrish Dholakia
|
c69193c321
|
fix: move to using pydantic obj for setting values
|
2024-07-11 13:18:36 -07:00 |
|
Krrish Dholakia
|
79c96030b8
|
docs(gemini.py): add refactor note to code
\
|
2024-06-17 16:51:19 -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 |
|
Ishaan Jaff
|
4437c67af8
|
fix - choices index for gemini/ provider
|
2024-05-16 13:52:46 -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
|
ec72202d56
|
fix(gemini.py): log system prompt in verbose output
|
2024-04-11 23:15:58 -07:00 |
|
Krrish Dholakia
|
57ea6a1c4f
|
feat(gemini.py): support google-genai system instruction
|
2024-04-09 17:23:14 -07:00 |
|
Krrish Dholakia
|
859a2af3ed
|
build: fix mypy build issues
|
2024-03-21 08:27:23 -07:00 |
|
Krrish Dholakia
|
723b0db085
|
test(gemini.py): handle async streaming exceptions
|
2024-02-21 22:33:20 -08:00 |
|
Krrish Dholakia
|
13b35db8d7
|
fix(gemini.py): implement custom streamer
|
2024-02-20 17:10:51 -08:00 |
|
Krrish Dholakia
|
11c12e7381
|
fix(gemini.py): fix async streaming + add native async completions
|
2024-02-19 22:41:36 -08:00 |
|
Andres Barbaro
|
e39ef5a633
|
Add safety_settings parameter to gemini generate_content calls
|
2024-02-16 12:22:18 -06:00 |
|
Krrish Dholakia
|
2ecc2f12cd
|
fix(gemini.py): support streaming
|
2024-01-19 20:21:34 -08:00 |
|
Krrish Dholakia
|
045ece4582
|
refactor(gemini.py): fix linting issue
|
2024-01-08 11:43:33 +05:30 |
|
Krrish Dholakia
|
f300d17176
|
fix(gemini.py): better error handling
|
2024-01-08 07:32:26 +05:30 |
|
Krrish Dholakia
|
79978c44ba
|
refactor: add black formatting
|
2023-12-25 14:11:20 +05:30 |
|
Krrish Dholakia
|
70f4dabff6
|
feat(gemini.py): add support for completion calls for gemini-pro (google ai studio)
|
2023-12-24 09:42:58 +05:30 |
|