Skip to content

fix(managed_files): send provider file ids when creating a fine-tuning job from managed files - #46552

Merged
yucheng-berri merged 7 commits into
mainfrom
litellm_lit7071_fine_tune_managed_file_id
Oct 19, 2026
Merged

yucheng-berri merged 7 commits into
mainfrom
litellm_lit7071_fine_tune_managed_file_id

Conversation

@yucheng-berri

@yucheng-berri yucheng-berri commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

  • Fine-tuning with a file uploaded with target_model_names always fails
  • OpenAI gets the gateway's own file id and answers 400
  • Deployments written as openai/<model> also send that prefix to OpenAI

How it solves it:

  • Swap training_file and validation_file to the routed deployment's own file ids
  • Route the create only to deployments that hold every file
  • Strip the provider prefix from the model before calling the provider
  • The create response returns the caller's own file ids

User Flow

Before: a developer who uploads training data through the gateway can never start a fine-tuning job with it

  1. They upload the JSONL with POST https://litellm-domain/v1/files, purpose=fine-tune and target_model_names=<model>, and get back a long id starting with bGl0ZWxs
  2. They send POST https://litellm-domain/v1/fine_tuning/jobs with that id as training_file (and optionally a second one as validation_file)
  3. They get 400 invalid training_file: bGl0ZWxs... from OpenAI, so no job is created

After: the same upload starts a real job they can track and cancel

  1. Same upload, same bGl0ZWxs... id back
  2. Same POST https://litellm-domain/v1/fine_tuning/jobs, now 200 with a job whose id starts with bGl0ZWxs and whose training_file and validation_file are the ids they sent
  3. GET https://litellm-domain/v1/fine_tuning/jobs/ returns 200 with the job status
  4. POST https://litellm-domain/v1/fine_tuning/jobs//cancel returns 200 with status: cancelled

The admin sees the same thing on https://litellm-domain/ui/?page=logs. The two fine-tuning creates are boxed in red

Before, both creates are logged as Failure, and opening one shows OpenAI's invalid training_file error with the gateway id in it

Logs page before

Failed create before

After, the same two creates are logged as Success

Logs page after

Successful create after

Linear ticket

Resolves LIT-7071

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have added meaningful tests
  • The handful of test files covering my change pass locally, e.g. uv run pytest tests/unit/<your_test_file>.py -v. Leave the suites (make test-unit-*, make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more
  • My PR passes all required CI/CD checks (e.g., lint, schema.d.ts sync check, etc.)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • Every automated review on my PR's latest commit has finished, and I have addressed or replied to each of its findings before requesting a maintainer review

Screenshots / Proof of Fix

Real OpenAI, real Postgres, a proxy with managed files on. Two deployments serve the same base model, one written the way the Admin UI stores it and one the way the docs show it

model_list:
  - model_name: ft-nano
    litellm_params:
      model: openai/gpt-4.1-mini-2025-04-14
      api_key: os.environ/OPENAI_API_KEY
    model_info:
      supported_endpoints: ["/chat/completions", "/fine_tuning"]
  - model_name: ft-nano-docs
    litellm_params:
      model: gpt-4.1-mini-2025-04-14
      api_key: os.environ/OPENAI_API_KEY
    model_info:
      supported_endpoints: ["/chat/completions", "/fine_tuning"]
general_settings:
  master_key: sk-...
  database_url: os.environ/DATABASE_URL

$KEY is a virtual key minted for both models. Long ids are cut short below. The Logs page screenshots for both runs are under User Flow

Before (a114356)

  1. Upload the training file

    $ curl -s $PROXY/v1/files -H "Authorization: Bearer $KEY" -F purpose=fine-tune -F target_model_names=ft-nano,ft-nano-docs -F file=@train.jsonl
    {"id":"bGl0ZWxsbV9wcm94eTphcHBs...","purpose":"fine-tune","status":"uploaded"}
    
  2. Upload the validation file the same way

    {"id":"bGl0ZWxsbV9wcm94eTphcHBs...","purpose":"fine-tune","status":"uploaded"}
    
  3. Create a job on each deployment

    $ curl -s $PROXY/v1/fine_tuning/jobs -H "Authorization: Bearer $KEY" -d '{"model": "ft-nano", "training_file": "<training id>", "validation_file": "<validation id>"}'
    HTTP 400
    {"error":"Error code: 400 - {'error': {'message': 'invalid training_file: bGl0ZWxsbV9wcm94eTphcHBsaWNhdGlvbi9vY3RldC1zdHJlYW07dW5pZmllZF9pZCw1MTViOTg2Yy1mODFjLTRkZDQtYjZm..."}
    
    $ curl -s $PROXY/v1/fine_tuning/jobs -H "Authorization: Bearer $KEY" -d '{"model": "ft-nano-docs", "training_file": "<training id>", "validation_file": "<validation id>"}'
    HTTP 400
    {"error":"Error code: 400 - {'error': {'message': 'invalid training_file: bGl0ZWxsbV9wcm94eTphcHBsaWNhdGlvbi9vY3RldC1zdHJlYW07dW5pZmllZF9pZCw1MTViOTg2Yy1mODFjLTRkZDQtYjZm..."}
    

After (a157241)

  1. Upload the training file

    $ curl -s $PROXY/v1/files -H "Authorization: Bearer $KEY" -F purpose=fine-tune -F target_model_names=ft-nano,ft-nano-docs -F file=@train.jsonl
    {"id":"bGl0ZWxsbV9wcm94eTphcHBs...","purpose":"fine-tune","status":"uploaded"}
    
  2. Upload the validation file the same way

    {"id":"bGl0ZWxsbV9wcm94eTphcHBs...","purpose":"fine-tune","status":"uploaded"}
    
  3. Create a job on each deployment

    $ curl -s $PROXY/v1/fine_tuning/jobs -H "Authorization: Bearer $KEY" -d '{"model": "ft-nano", "training_file": "<training id>", "validation_file": "<validation id>"}'
    HTTP 200
    {"id":"bGl0ZWxsbV9wcm94eTttb2Rl...","status":"validating_files","model":"gpt-4.1-mini-2025-04-14","training_file_is_the_managed_id":true,"validation_file_is_the_managed_id":true}
    $ curl -s $PROXY/v1/fine_tuning/jobs -H "Authorization: Bearer $KEY" -d '{"model": "ft-nano-docs", "training_file": "<training id>", "validation_file": "<validation id>"}'
    HTTP 200
    {"id":"bGl0ZWxsbV9wcm94eTttb2Rl...","status":"validating_files","model":"gpt-4.1-mini-2025-04-14","training_file_is_the_managed_id":true,"validation_file_is_the_managed_id":true}
    
  4. Retrieve and cancel each job

    $ curl -s $PROXY/v1/fine_tuning/jobs/<job id> -H "Authorization: Bearer $LITELLM_MASTER_KEY"
    HTTP 200
    {"status":"validating_files","model":"gpt-4.1-mini-2025-04-14","training_file":"file-FSXvvnMBKVXRXSqgBpZtHT"}
    $ curl -s -X POST $PROXY/v1/fine_tuning/jobs/<job id>/cancel -H "Authorization: Bearer $KEY"
    HTTP 200
    {"status":"cancelled"}
    $ curl -s $PROXY/v1/fine_tuning/jobs/<job id> -H "Authorization: Bearer $LITELLM_MASTER_KEY"
    HTTP 200
    {"status":"validating_files","model":"gpt-4.1-mini-2025-04-14","training_file":"file-QimoJoJiCm5jgyau3gwHni"}
    $ curl -s -X POST $PROXY/v1/fine_tuning/jobs/<job id>/cancel -H "Authorization: Bearer $KEY"
    HTTP 200
    {"status":"cancelled"}
    
  5. Ask OpenAI directly what it received

    $ curl -s "https://api.openai.com/v1/fine_tuning/jobs?limit=2" -H "Authorization: Bearer $OPENAI_API_KEY"   # what OpenAI itself recorded
    {"created_at":1792049105,"status":"cancelled","model":"gpt-4.1-mini-2025-04-14","training_file":"file-QimoJoJiCm5jgyau3gwHni","validation_file":"file-VrDzMDgmKzVwsgsgtD3eG7"}
    {"created_at":1792049103,"status":"cancelled","model":"gpt-4.1-mini-2025-04-14","training_file":"file-FSXvvnMBKVXRXSqgBpZtHT","validation_file":"file-54VReCAPu8M2h5gkt8pUAT"}
    

Integration tests and audit

Each checked-in test runs a real proxy at 2 workers, real Postgres, real Redis and a scripted OpenAI. The head ran twice with the same result

Suite Before (a114356, new tests copied in) After (cebdd2b)
tests/integration/compatibility fine-tuning files 8 failed, 9 passed, 5 skipped 17 passed, 5 skipped
tests/integration/security/test_fine_tuning_managed_ids.py 2 failed, 12 passed, 2 skipped 15 passed, 1 skipped

The skips are existing BUG: skips. Main has since dropped the one for another key creating with the owner's managed file, and that test passes at the head. The tests that fail before cover managed creates through a 20-request sync and async burst, each worker alone, a replaced worker, a deployment added after the upload, and the provider prefix on OpenAI and Azure

The same flow against real OpenAI, before and after

Case Before After
Managed training and validation files, openai/<model> or bare deployment 400 200
Managed training file with a raw OpenAI validation id 400 200
Raw ids with openai/<model> on the direct path 400 200
Raw ids with the bare model 200 200
Raw training file with a managed validation file 400 400
Managed file used on a model group it was not uploaded for 400 400
Another key uses this key's managed file 403 403
Managed batch create and cancel, also on a model group without a copy 200 200
Chat sync, stream and async burst, /v1/messages, /v1/responses and its stream 200 200

What OpenAI received after the fix never carried an openai/ model. The only managed ids it saw were the two rows that still fail the same way before and after

Type

🐛 Bug Fix
✅ Test

Caveats (if any)

Low

  • Retrieve and cancel still return OpenAI's own file ids in training_file
    • The ticket only asks for create, and retrieve and cancel behave the same as before this PR
  • Retrieving a managed job with a plain virtual key still returns 401
    • The route is missing from the virtual key's allowed routes. It happens before this PR too, and the security test keeps its existing skip for it
  • Direct SDK calls with model="openai/<x>" and custom_llm_provider="openai" now send <x>
    • Before, OpenAI rejected the prefixed name, so nothing that worked changes. This matches how create_batch and completion already strip the prefix
  • A managed file used on a model group it was not uploaded for still gets OpenAI's 400 invalid training_file
    • There is no copy of the file on that provider account to swap in, the same as before this PR
  • A raw training file next to a managed validation file still fails with OpenAI's 400
    • That request skips the router, the same as before this PR
  • Vertex AI and Azure are covered by unit tests only
    • The Vertex credentials on hand lack aiplatform.tuningJobs.create, and there is no Azure fine-tuning resource

Final Attestation

  • The tests check the right things, including the edge cases, and regressions in the respective real-world customer use-cases are not possible after this PR

REVIEWER MUST KNOW BEFORE APPROVING

  • The managed create response now returns the caller's own ids. training_file used to be an internal decoded string and validation_file was OpenAI's raw file id. Before this PR that create never succeeded against OpenAI, so no working client read the old values
  • litellm.create_fine_tuning_job now strips <custom_llm_provider>/ from model for openai, azure and vertex_ai, the same way completion and create_batch already do. The one caller this changes is someone fine-tuning on an OpenAI-compatible server whose real model id starts with openai/, who now has to write the prefix twice like they already do for chat
  • Each managed fine-tuning create does one more managed-file lookup (cache, then DB) per file id it carries
  • A managed fine-tuning create now only routes to deployments that hold every managed file it names, the same as batch input files. When none of the model group's deployments hold them, it routes as before and still gets OpenAI's 400 invalid training_file

Note

Medium Risk
Changes enterprise proxy file-id translation, deployment routing, and fine-tuning request/response shaping; incorrect mapping could send wrong files or route to deployments without copies, though scope is limited to managed-file fine-tuning and aligned batch behavior.

Overview
Fixes managed fine-tuning creates so the proxy no longer forwards LiteLLM unified file ids or prefixed model names to OpenAI/Azure/Vertex.

The enterprise managed files hook now builds model_file_id_mapping for acreate_fine_tuning_job, swaps training_file and validation_file to each routed deployment’s provider ids (same pattern as batch input_file_id), and narrows routing to deployments that hold every managed file in the request. The proxy fine-tuning create path echoes the caller’s managed file ids in the response instead of internal/provider values.

litellm.create_fine_tuning_job strips the custom_llm_provider/ prefix from model before provider calls. CI and tests add unit coverage plus integration/chaos cases for concurrent multi-worker creates and deployment filtering.

Reviewed by Cursor Bugbot for commit cebdd2b. Bugbot is set up for automated code reviews on this repo. Configure here.

…g job from managed files

Fine-tuning job creation with a managed training file sent the gateway's managed id and the provider-prefixed deployment model to OpenAI, which rejected the job. The pre-call hook now builds the file id mapping for training_file and validation_file, the deployment hook swaps both, the SDK strips the provider prefix from the model, and the create response returns the caller's own file ids
@greptile-apps

greptile-apps Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Automatic reviews are disabled for this repository.

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@litereview code-review

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

Devin Review

Comment on lines +1331 to +1334
if fine_tuning_file_ids:
data["model_file_id_mapping"] = await self.get_model_file_id_mapping(
fine_tuning_file_ids, user_api_key_dict.parent_otel_span
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Managed validation file fails with raw training

With a raw training file and managed validation file, get_model_file_id_mapping prepares a replacement that the direct provider path never uses. The provider receives the managed validation ID and rejects the job.

Learn more

The fine-tuning endpoint chooses router dispatch based solely on the training file's managed ID. If only the validation file is managed, the request goes directly to litellm.acreate_fine_tuning_job. The pre-call hook adds the validation mapping to data, but replacement occurs only in the deployment hook during router dispatch. The direct call therefore sends the unified validation ID to the provider.

Example: Send training_file="file-native", a managed validation ID, and custom_llm_provider="openai". The validation mapping is fetched, but OpenAI receives the managed ID instead of its file-* ID and rejects creation.

Recommended fix: Route requests with either managed file through a deployment that has the file, or explicitly resolve the managed validation ID against the chosen direct provider before dispatch.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same 400 on main, the endpoint picks the direct path from the training file alone, so this stays out of scope here

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

@codspeed

codspeed Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

⚠️ 1 benchmark spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

✅ 32 untouched benchmarks


Comparing litellm_lit7071_fine_tune_managed_file_id (cebdd2b) with main (2e427c6)

Open in CodSpeed

@litereview

litereview Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

✅ code-review

5/5 · Ready for human review

Scope: full · Full PR review.

Completed · Some checks not run.

No correctness findings.

Checks and execution details
  • Passed · Real testing evidence (required): Not applicable: no LLM translation changes in the scoped paths. The PR changes .github/workflows/test-unit.yml, enterprise/litellm_enterprise/proxy/hooks/managed_files.py, litellm/fine_tuning/main.py, litellm/proxy/fine_tuning_endpoints/endpoints.py and tests. No changed file is under litellm/llms/** or litellm/litellm_core_utils/prompt_templates/**.
  • Passed · Targeted unit tests for changed code (optional): Ran uv run --frozen pytest -n 4 on tests/unit/fine_tuning, tests/unit/proxy/fine_tuning_endpoints/test_endpoints.py, tests/unit/llms/vertex_ai/fine_tuning/test_handler.py and tests/unit/enterprise/proxy/hooks/test_managed_files.py. The first run had 11 failures with ImportError: cannot import name 'Json' from 'prisma' because the Prisma client had not been generated. After prisma generate --schema litellm/proxy/schema.prisma, test_managed_files.py passed with 171 tests. The other files had already passed in the first run: 212 passed overall, all failures were Prisma-related.
  • Passed · Routing and file-id swap trace (optional): I read the code path from start to finish. The proxy endpoint calls async_pre_call_hook, which builds model_file_id_mapping for training_file and validation_file. Next, llm_router.acreate_fine_tuning_job goes through _dispatch_generic_call_type and async_filter_deployments. The filter narrows to the intersection of deployments that hold the files. If no deployment holds them, a fine-tune falls back to all healthy deployments, while a batch returns an empty list. Then async_pre_call_deployment_hook swaps each managed id for the provider id. Finally, create_fine_tuning_job removes the &lt;custom_llm_provider>/ prefix before calling _build_fine_tuning_job_data. Unit tests cover each step.
  • Not run · Proxy integration tests (tests/integration/compatibility, security) (optional): These tests did not collect under plain pytest (ModuleNotFoundError: No module named 'integration'). They need the CircleCI harness from tests/integration/run.py, which starts its own Postgres, Redis and a proxy. I did not set up that harness. This rule does not require these tests.

View review · Reviewed a1572419fd72

@codecov

codecov Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

…ents holding every file

Fine-tuning creates now narrow routing the same way managed batches do, so a
deployment added after the upload is never picked. Adds a two-worker chaos
integration test and runs tests/unit/fine_tuning in the endpoints shard.
@yucheng-berri
yucheng-berri requested a review from a team October 15, 2026 00:59
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@litereview code-review

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

…no deployment holds the files

A managed file used on a model group it was never uploaded for kept failing
with the provider's 400 before the routing filter. The filter turned that into
a 429 no-deployments error, so fine-tuning now falls back to the whole group in
that case while batch input files keep routing only to deployments that hold
them.
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@litereview code-review

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@litellm-stampbot

@kerry-berri

kerry-berri commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

litellm-stampbot: risk high

Not approved at cebdd2b. risk is high, a human reviewer is needed.

Rules (stampbot/risk_rules.yml):

  • low: no rule flagged it

Cursor Bugbot: Medium Risk at cebdd2b. Changes enterprise proxy file-id translation, deployment routing, and fine-tuning request/response shaping; incorrect mapping could send wrong files or route to deployments without copies, though scope is limited to managed-file fine-tuning and aligned batch behavior.
Bugbot Low is low, Medium and High are high. The judge model was not called.

Pushes do not re-run this check. Comment @litellm-stampbot again to re-check the new head.

@kerry-berri kerry-berri added the risk:high Sensitive, broad, or high-risk change label Oct 19, 2026
@yucheng-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@litereview full

@cursor cursor Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

@litereview

litereview Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

⚠️ full

Scope: full · Full PR review.

Completed · Checks failed.

Verdict: no actionable defects found

I traced every place the PR's changes are used. None of those paths has a concrete failure scenario that the PR introduces.

What changed

  • _ManagedFiles.async_pre_call_hook: for acreate_fine_tuning_job, it now fills in model_file_id_mapping for the training_file and validation_file ids after the access check.
  • async_filter_deployments:
    • It now keeps only deployments that hold every requested file across input_file_id, training_file and validation_file.
    • If no deployment holds them all, fine-tuning falls back to all healthy deployments, while batch keeps its old behaviour of returning an empty list.
    • Chat and responses requests carry none of these keys, so they still get allowed_model_ids as empty and pass straight through, just as before.
  • async_pre_call_deployment_hook: it now swaps both fine-tuning file kwargs. The batch path still swaps only input_file_id.
  • litellm.fine_tuning.main.create_fine_tuning_job: it removes the "{custom_llm_provider}/" prefix from the model for OpenAI, Azure and Vertex. A bare model name is left as it is. The router sends custom_llm_provider from provider_for_generic_call(data), so a deployment written as openai/&lt;model> now has the prefix removed.
  • Proxy create endpoint: it now returns the caller's own training_file and validation_file ids. Before, it returned the decoded litellm_proxy:... string from is_base64_encoded_unified_file_id as training_file.

Change a client can see (not a defect)

On the managed path, training_file in the create response changes from the decoded unified string to the base64 id the caller sent. That is a field value a client can observe. The PR intends this, and it matches what OpenAI clients expect, so it is not flagged as breaking.

Paths that are unchanged

  • Fallback when no deployment holds the files: sending unified ids that way was the old behaviour too.
  • Managed validation file with a raw training file: the request goes down the custom_llm_provider branch with no router swap, which was already the case.

Evidence

  • tests/unit/fine_tuning, tests/unit/proxy/fine_tuning_endpoints and tests/unit/llms/vertex_ai/fine_tuning all ran: 52 passed.
  • In tests/unit/enterprise/proxy/hooks/test_managed_files.py I ran the subset matching -k "fine_tun or filter or batch": 120 passed, 8 failed.
  • I opened one failure, test_post_call_batch_sync_updates_existing_row. It fails with ImportError: cannot import name 'Json' from 'prisma', which is a Prisma client that was never generated in this environment, not a fault in the diff. The other six failures share the batch-sync naming, but I did not open them, so their cause is unconfirmed.

Not verified

  • I did not run the live A/B test against a real proxy with real Postgres and real OpenAI. This sandbox has no provider credentials, and the PR body says the author ran it against real OpenAI.
  • The new chaos integration test needs the gateway harness and was not run.
Checks and execution details
  • Passed · Fine-tuning unit suites (SDK, proxy endpoint, vertex handler) (optional): pytest tests/unit/fine_tuning tests/unit/proxy/fine_tuning_endpoints tests/unit/llms/vertex_ai/fine_tuning: 52 passed.
  • Failed · Managed files hook tests (fine_tun/filter/batch subset) (optional): pytest -k "fine_tun or filter or batch": 120 passed, 8 failed. I inspected one failure, test_post_call_batch_sync_updates_existing_row: it fails with ImportError: cannot import name 'Json' from 'prisma' (Prisma client not generated in this sandbox), so the cause is the environment, not the PR. The other six failures share the batch-sync naming but were not opened individually.
  • Passed · Dependency graph trace of changed symbols (required): Traced _PROVIDER_FILE_ID_KWARGS and _PROVIDER_FILE_ID_KEYS through the router's _ageneric_api_call_with_fallbacks, the async_filter_deployments callback, utils.async_pre_call_deployment_hook, the use of provider_model in the OpenAI/Azure/Vertex branches, and the proxy endpoint's response rewrite.
  • Not run · Live base-vs-head proxy A/B with real provider (optional): No provider credentials are available in this sandbox. The PR body reports a real-OpenAI run.

View review · Reviewed cebdd2b88cfe

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

bugbot run

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@litereview full

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit cebdd2b. Configure here.

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

@litellm-stampbot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:high Sensitive, broad, or high-risk change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants