litellm/litellm
Cursor Agent a0f1c8a18a
fix(mypy): sync route_type Literals, fix BFL params and signatures
Task 1: Sync route_type Literal definitions in common_request_processing.py
- Make base_process_llm_request and common_processing_pre_call_logic Literals identical
- Add missing vector store CRUD route types to base_process_llm_request
- Fix data dict type annotation in vector_store_endpoints/endpoints.py

Task 2: Add BFL provider-specific params to OpenAIImageGenerationOptionalParams
- Add seed, safety_tolerance, prompt_upsampling, raw, num_images, image_url,
  image_prompt_strength, aspect_ratio

Task 3: Fix BFL override signatures to match base class
- image_generation: Replace **kwargs with explicit params
- image_edit: Make prompt and image Optional to match superclass

Co-authored-by: yuneng-jiang <yuneng-jiang@users.noreply.github.com>
2026-03-12 23:51:35 +00:00
..
a2a_protocol style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
anthropic_interface style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
assistants
batch_completion
batches style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
caching Reapply "feat: add model_cost aliases expansion support" 2026-03-12 13:36:57 -03:00
completion_extras style: run black formatter on 52 non-enterprise files 2026-03-12 14:23:50 -03:00
containers style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
endpoints/speech/speech_to_completion_bridge
evals style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
experimental_mcp_client style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
files style: run black formatter on 52 non-enterprise files 2026-03-12 14:23:50 -03:00
fine_tuning style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
google_genai merge: resolve conflicts between main and litellm_oss_staging_03_11_2026 2026-03-12 09:38:31 -03:00
images style: run black formatter on 52 non-enterprise files 2026-03-12 14:23:50 -03:00
integrations Merge branch 'main' into litellm_oss_staging_03_11_2026 2026-03-12 13:53:14 -03:00
interactions style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
litellm_core_utils style: run black formatter on 52 non-enterprise files 2026-03-12 14:23:50 -03:00
llms fix(mypy): sync route_type Literals, fix BFL params and signatures 2026-03-12 23:51:35 +00:00
ocr style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
passthrough style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
proxy fix(mypy): sync route_type Literals, fix BFL params and signatures 2026-03-12 23:51:35 +00:00
proxy_auth
rag style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
realtime_api style: run black formatter on 52 non-enterprise files 2026-03-12 14:23:50 -03:00
rerank_api style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
responses style: run black formatter on 52 non-enterprise files 2026-03-12 14:23:50 -03:00
router_strategy Reapply "feat: add model_cost aliases expansion support" 2026-03-12 13:36:57 -03:00
router_utils style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
search style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
secret_managers style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
skills style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
types fix(mypy): sync route_type Literals, fix BFL params and signatures 2026-03-12 23:51:35 +00:00
vector_store_files style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
vector_stores Merge branch 'main' into litellm_oss_staging_03_11_2026 2026-03-12 10:43:08 -03:00
videos style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
__init__.py style: run black formatter on 52 non-enterprise files 2026-03-12 14:23:50 -03:00
_lazy_imports_registry.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
_lazy_imports.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
_logging.py
_redis.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
_service_logger.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
_uuid.py
_version.py
anthropic_beta_headers_config.json
anthropic_beta_headers_manager.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
blog_posts.json
budget_manager.py
constants.py merge: resolve conflicts between main and litellm_oss_staging_03_11_2026 2026-03-12 09:38:31 -03:00
cost_calculator.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
cost.json
exceptions.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
main.py style: run black formatter on 52 non-enterprise files 2026-03-12 14:23:50 -03:00
model_prices_and_context_window_backup.json Merge branch 'main' into litellm_oss_staging_03_11_2026 2026-03-12 10:43:08 -03:00
mypy.ini
policy_templates_backup.json
provider_endpoints_support_backup.json feat(search): add Serper (serper.dev) as search provider (#23112) 2026-03-09 08:40:37 -07:00
py.typed
router.py merge: resolve conflicts with upstream staging (bedrock + mcp tests) 2026-03-12 13:40:16 -03:00
scheduler.py style: run black formatter on entire codebase 2026-03-11 17:07:57 -03:00
timeout.py
utils.py Merge pull request #23478 from BerriAI/litellm_fix_o1_preview_outdated_test 2026-03-12 13:26:46 -07:00