Commit graph

22 commits

Author SHA1 Message Date
Ishaan Jaff
62a1cdec47 (code quality) run ruff rule to ban unused imports (#7313)
* remove unused imports

* fix AmazonConverseConfig

* fix test

* fix import

* ruff check fixes

* test fixes

* fix testing

* fix imports
2024-12-19 12:33:42 -08:00
Ishaan Jaff
e09d3761d8 Code Quality Improvement - use vertex_ai/ as folder name for vertexAI (#7166)
* fix rename vertex ai

* run ci/cd again
2024-12-11 00:32:41 -08:00
Ishaan Jaff
91581bc2db Code Quality Improvement - remove file_apis, fine_tuning_apis from /llms (#7156)
* remove files_apis from /llms

* fix imports

* move fine tuning api from /llms

* fix importing fine tuning handlers

* fix imports
2024-12-10 21:44:25 -08:00
Ishaan Jaff
5ad57dd54b rename llms/OpenAI/ -> llms/openai/ (#7154)
* rename OpenAI -> openai

* fix file rename

* fix rename changes

* fix organization of openai/transcription

* fix import OA fine tuning API

* fix openai ft handler

* fix handler import
2024-12-10 20:14:07 -08:00
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
Ishaan Jaff
09519b74db refactor get_secret 2024-09-03 10:42:12 -07:00
Ishaan Jaff
31c31950a0 test translating to vertex ai params 2024-08-03 08:44:54 -07:00
Ishaan Jaff
4baf0d691c fix typing 2024-08-02 18:46:43 -07:00
Ishaan Jaff
5cbe6df989 add vertex ft support 2024-08-02 17:25:03 -07:00
Ishaan Jaff
81645b12cf feat support azure ft create endpoint 2024-07-31 13:57:58 -07:00
Ishaan Jaff
b630ff6286 fix pydantic obj for FT endpoints 2024-07-31 12:41:39 -07:00
Ishaan Jaff
a6724072b0 feat FT cancel and LIST endpoints for Azure 2024-07-30 16:03:31 -07:00
Ishaan Jaff
8d47e19525 add support for fine tuning azure 2024-07-30 15:44:53 -07:00
Ishaan Jaff
9828377b34 rename fine tuning apis 2024-07-30 13:44:16 -07:00
Ishaan Jaff
4d1a653fea fix type errors 2024-07-29 20:10:03 -07:00
Ishaan Jaff
fb54c3e272 test - async ft jobs 2024-07-29 19:52:14 -07:00
Ishaan Jaff
c7f275e3e5 add list fine tune endpoints 2024-07-29 19:46:55 -07:00
Ishaan Jaff
3d5450025d async cancel ft job 2024-07-29 19:25:36 -07:00
Ishaan Jaff
15451732f4 fix doc string 2024-07-29 19:23:35 -07:00
Ishaan Jaff
46bf96c8da feat - add cancel_fine_tuning_job 2024-07-29 19:22:23 -07:00
Ishaan Jaff
ccbdc188f0 add acreate_fine_tuning_job 2024-07-29 18:59:29 -07:00
Ishaan Jaff
a272628644 add litellm.create_fine_tuning_job 2024-07-29 18:42:42 -07:00