Repository navigation
feat(decisions): support Clef-omni audio and video - #45811
Conversation
|
|
|
Merging this PR will not alter performance
|
…10a9a6813f5f1e # Conflicts: # litellm/types/decisions.py
…r the proxy routes The clip patterns now mirror Cloudflare's input schema, so a data URL or content_type carrying parameters like audio/webm;codecs=opus is accepted. The four proxy routes get media tests of their own, the backup cost map is synced with the new Clef-omni rows, and the docs page moves to the docs repo as a follow-up.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
… the OpenAPI snapshot Cloudflare answers 422 to a data URL whose media type carries parameters even though its schema only requires the data:audio/ prefix, so LiteLLM now refuses those with a 400 before the call. The object form keeps passing parameters through, which Cloudflare accepts. The lazy OpenAPI snapshot and the dashboard API types are regenerated for the new audio and videos fields
…d decisions entry points and drop them under drop_params
…e, drop unsupported clips before validation
There was a problem hiding this comment.
Devin Review found 2 potential issues.
1 flag not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)
| audio: DecisionsAudioClips | None = None, | ||
| videos: DecisionsVideoClips | None = None, |
There was a problem hiding this comment.
🔴 Positional credentials become audio clips
Existing positional decisions calls pass their API key as audio and fail validation before sending. adecisions has the same reordered parameters, so both public entry points break existing callers.
Learn more
Both public functions accepted api_key immediately after safety_identifier. Inserting audio and videos before it changes the binding of every later positional argument, even when the caller does not use media. The validator treats a positional key string as a clip sequence and raises a bad request before it can authenticate.
Example: decisions("openai/gpt-6-luna", "review", questions, None, "key") formerly used "key" for authentication. It now binds "key" to audio and rejects the call rather than reaching OpenAI.
Recommended fix: Preserve the original parameter order in both decisions and adecisions, appending the media parameters after extra_headers or making them keyword-only. Add a regression test using the original positional call form.
Was this helpful? React with 👍 or 👎 to provide feedback.
There was a problem hiding this comment.
Fixed in 7899bd9: audio and videos sit after extra_headers, so positional api_key and api_base keep their slots. A wire test pins the order
| def supports_audio_input(self, model: str, custom_llm_provider: str) -> bool: | ||
| return litellm.supports_audio_input(model=model, custom_llm_provider=custom_llm_provider) | ||
|
|
||
| def supports_video_input(self, model: str, custom_llm_provider: str) -> bool: | ||
| return litellm.supports_video_input(model=model, custom_llm_provider=custom_llm_provider) |
There was a problem hiding this comment.
🔴 Chat capability flags misroute Decisions media
For openai/gpt-audio, supports_audio_input keeps clips even with drop_params=True. The OpenAI Decisions transformer then rejects them, so the request fails instead of dropping unsupported clips.
Learn more
The generic model capability map says whether a model accepts media on supported chat and other endpoints, not necessarily on Decisions. The new base methods reuse those flags to both retain media under drop_params and permit it through the provider gate. OpenAI's Decisions transformation unconditionally rejects nonempty audio or videos, while a System One provider that inherits the base transformation sends allowed media upstream without establishing that its Decisions endpoint supports it.
Example: The cost map marks gpt-audio as supporting audio input for chat. A Decisions request with an audio clip and drop_params=True retains the clip, then ir_to_openai_request returns an unsupported request and the caller receives a 400 instead of a text-only response.
Recommended fix: Make the Decisions-specific support check explicit in each provider config or require an evaluation-mode capability declaration for a Decisions model. In particular, make OpenAIDecisionsConfig return false for both media checks so drop_params drops media before its transformer runs. Check other System One providers against the endpoint they actually call.
Was this helpful? React with 👍 or 👎 to provide feedback.
…on evaluation-mode models
… audit cells onto the harness helpers
1 similar comment
…10a9a6813f5f1e # Conflicts: # tests/unit/decisions/test_main.py
|
bugbot run |
There was a problem hiding this comment.
✅ 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 05843fb. Configure here.
* feat(decisions): support Clef-omni audio and video * fix(decisions): accept Clef-omni media types with parameters and cover the proxy routes The clip patterns now mirror Cloudflare's input schema, so a data URL or content_type carrying parameters like audio/webm;codecs=opus is accepted. The four proxy routes get media tests of their own, the backup cost map is synced with the new Clef-omni rows, and the docs page moves to the docs repo as a follow-up. * fix(decisions): refuse parameterized media-type data URLs and refresh the OpenAPI snapshot Cloudflare answers 422 to a data URL whose media type carries parameters even though its schema only requires the data:audio/ prefix, so LiteLLM now refuses those with a 400 before the call. The object form keeps passing parameters through, which Cloudflare accepts. The lazy OpenAPI snapshot and the dashboard API types are regenerated for the new audio and videos fields * fix(decisions): gate media by cost-map flags, treat null clips as none, drop unsupported clips before validation * fix(decisions): keep the SDK's positional order and gate media flags on evaluation-mode models * fix(decisions): gate media on both decisions model modes and move the audit cells onto the harness helpers * test(decisions): cover the Fireworks System One router in the media refusal cells --------- Backport of BerriAI#45811 to rc/1.106.0 Cherry-picked from a86ad9e (main) Co-authored-by: moyai-devin-berriai[bot] <336287033+moyai-devin-berriai[bot]@users.noreply.github.com> Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com>
TLDR
Problem this solves:
How it solves it:
audioandvideosflow throughlitellm.systemone,litellm.decisions, and all four proxy routes. Main's feat(sdk): add litellm.systemone and trim litellm.decisions to the OpenAI shape #45846 split the SDK into those two entry points after this PR's last merge, so this branch merges main and re-plumbs the clips into both{content_type, base64}, up to 4 audio and 2 videosupports_audio_input,supports_video_input), one flag per kind, so/model/infoadvertises it and a new model needs a cost-map entry, not code. Any other model refuses clips with a 400 namingaudioandvideos, or drops them whendrop_paramsis set, the way an unsupportedsafety_identifieris handled todayDecisions a reviewer should know about:
/v1/decisionstakesaudioandvideosat the top level as a LiteLLM extension: OpenAI's Decisions API has no audio or video shape, onlyinput_textandinput_imageparts, so there is nothing upstream to mirrordata:audio/webm;base64,...), sodata:audio/webm;codecs=opus;base64,...answers 400 from LiteLLM: Cloudflare's published schema only requires thedata:audio/prefix, but live it rejects a parameterized data URL with a 422, while it accepts parameters in the object form, which LiteLLM therefore passes through as is ({"content_type": "audio/wav;rate=16000", ...}). The alternative, rewriting such a data URL into the object form, was dropped because it would change the caller's wire format behind their backdrop_paramsconvention. Without it the request answers 400 (cloudflare does not support parameters: ['audio', 'videos'], for model=clef-flashplus thedrop_paramshint). With it set globally or on the deployment the clips are dropped before the body is validated and the text-only request goes out, so a malformed clip on such a model is dropped too (an OpenAItemperatureon an o-series model drops the same way). A malformed clip on a model that does take clips still answers 400 underdrop_params, because dropping a clip the model would judge changes the answer silently. The first round answered 400 even underdrop_params, which round 2 changed becausedrop_paramsis the caller opting into exactly that drop"audio": nulland"videos": nullmean no clips, the same as[]or leaving the key out, on the SDK and on all four proxy routes; the OpenAPI schema still advertises arrays, so this is lenient input handling and no schema change. The proxy used to answer 400 for null because it validated the whole body before routing; it now validatesaudioandvideosafter the router picks the deployment, next tosafety_identifier, which was already checked there, sodrop_paramson that deployment can applysupports_video_input), which existed on 97 entries but had no Python reader until now;litellm.supports_video_input(...)mirrorslitellm.supports_audio_input(...). Capability therefore depends on the cost map the proxy loads, the remote map once this merges and the local one underLITELLM_LOCAL_MODEL_COST_MAP=True, the same dependencysupports_visionhas today. The schema descriptions still say "Clef-omni only." because that is true of the map today and changing them would churn the OpenAPI snapshot for no behavior changeUser Flow
Before: a developer judging call recordings through Clef-omni gets answers that never heard the audio
"model": "clef-omni", astate, aquestionsmap, and"audio": ["data:audio/wav;base64,..."]usage.input_tokenscounts only the text, because the clip never reached Cloudflareinputplus aquestionslist) are dropped the same wayclef,clef-flash, an OpenAI decider) also come back 200 with the clips ignoredsupports_audio_inputorsupports_video_inputforclef-omniAfter: the same request judges the audio, and a model that cannot take clips says so
"audio": [...]and optionally"videos": [...], each clip a data URL or{"content_type": ..., "base64": ...}usage.input_tokensnow counts the media/systemoneand/decisionsroutes, reaches Cloudflare with the clips intactaudioandvideosand thedrop_paramshint, or, when the deployment or the proxy setsdrop_params: true, are dropped (malformed or not) and the text-only request goes out with a 200"audio": nullor"videos": nullis treated as no clips"supports_audio_input": true, "supports_video_input": trueonclef-omniand neither flag onclef-flashPre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
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 moreScreenshots / Proof of Fix
Last updated: 05843fb. QA and /live-pr-risk ran on e854b20, the last commit with a product diff (the two commits after it merge
mainand extend the audit's tests, and the PR's product diff is byte-identical on both sides of the merge)Shared setup for both legs: a detached worktree at the named commit,
python -m litellm.proxy.proxy_cli --config config.yaml --port <random> --num_workers 2withLITELLM_LOCAL_MODEL_COST_MAP=True, the Cloudflare key and the master key read from env. The clips arepineapple.wav(speech saying pineapple), the same clip aspineapple.webm(Opus), andred.mp4andblue.mp4(solid-color clips), each inlined by a small build script as a base64 data URL or as{content_type, base64}. The questions ask whether the audio says pineapple and whether the video is mostly redBefore (7af7919)
leg=before tree=/Users/mateo/Development/litellm-worktrees/slp868-base2 commit=7af7919200 port=50269 workers=2Audio and video on POST /v1/systemone
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @systemone.jsonSame clips in the OpenAI shape on POST /v1/decisions
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/v1/decisions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @decisions.jsonUnversioned POST /systemone
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @systemone.jsonUnversioned POST /decisions
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/decisions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @decisions.jsonControl: blue video instead of red
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @systemone_blue.jsonObject form {content_type, base64}
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @object_form.jsonData URL with a media-type parameter (data:audio/wav;rate=16000;base64,...)
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @param_media_type.jsonData URL data:audio/webm;codecs=opus;base64,...
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @webm_opus.jsonClips on clef-flash, a model that cannot take them
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @clef_flash.jsonAn image data URL in the audio slot
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @image_in_audio.jsonThree videos
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @too_many_videos.jsonText only, no media keys
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @text_only.jsonGET /model/info advertises the media flags
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:50269/model/info -H "Authorization: Bearer $LITELLM_MASTER_KEY"Malformed clips and an unauthenticated request
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":5}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":[1,2]}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":""}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":null}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":[]}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":["<5000 letters a>"]}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":["data:audio/wav;base64,AA=="],"audio":["data:image/png;base64,AA=="]}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"videos":[{"content_type":"video/mp4"}]}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"videos":[{"content_type":"video/mp4","base64":"AA==","url":"https://x"}]}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @object_param_content_type.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @object_webm.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @data_url_webm_plain.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:32031/v1/systemone -H 'Content-Type: application/json' -d @systemone.jsonClips on a model that cannot take them, with and without drop_params
Same setup with
config_drop.yaml, which adds aclef-flash-dropdeployment carryingdrop_params: true(leg=before tree=/Users/mateo/Development/litellm-worktrees/slp868-base2 commit=7af7919200 port=34903 workers=2 config=config_drop.yaml)curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:34903/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @clef_flash.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:34903/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @clef_flash_drop.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:34903/v1/decisions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @clef_flash_drop_openai.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:34903/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @clef_flash_malformed.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:34903/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @clef_flash_drop_malformed.jsonSDK: litellm.systemone and litellm.decisions with the same clips (no proxy)
The two calls an SDK user writes, run from a checkout at
7af791920052666d1e7b62d2b12a58b4880db135withCLOUDFLARE_API_KEYandCLOUDFLARE_ACCOUNT_IDset (qa/run_sdk.sh,qa/sdk_clips.py)After (e854b20)
leg=after tree=/Users/mateo/Development/litellm-worktrees/slp868-head2 commit=e854b20f3e port=29946 workers=2Audio and video on POST /v1/systemone
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @systemone.jsonSame clips in the OpenAI shape on POST /v1/decisions
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/v1/decisions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @decisions.jsonUnversioned POST /systemone
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @systemone.jsonUnversioned POST /decisions
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/decisions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @decisions.jsonControl: blue video instead of red
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @systemone_blue.jsonObject form {content_type, base64}
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @object_form.jsonData URL with a media-type parameter (data:audio/wav;rate=16000;base64,...)
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @param_media_type.jsonData URL data:audio/webm;codecs=opus;base64,...
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @webm_opus.jsonClips on clef-flash, a model that cannot take them
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @clef_flash.jsonAn image data URL in the audio slot
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @image_in_audio.jsonThree videos
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @too_many_videos.jsonText only, no media keys
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @text_only.jsonGET /model/info advertises the media flags
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:29946/model/info -H "Authorization: Bearer $LITELLM_MASTER_KEY"Malformed clips and an unauthenticated request
curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":5}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":[1,2]}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":""}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":null}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":[]}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":["<5000 letters a>"]}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"audio":["data:audio/wav;base64,AA=="],"audio":["data:image/png;base64,AA=="]}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"videos":[{"content_type":"video/mp4"}]}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d '{"model":"clef-omni","state":"hostile cell","questions":{"ok":{"type":"noul","instructions":"Is this fine?"}},"videos":[{"content_type":"video/mp4","base64":"AA==","url":"https://x"}]}'curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @object_param_content_type.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @object_webm.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @data_url_webm_plain.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:54424/v1/systemone -H 'Content-Type: application/json' -d @systemone.jsonClips on a model that cannot take them, with and without drop_params
Same setup with
config_drop.yaml, which adds aclef-flash-dropdeployment carryingdrop_params: true(leg=after tree=/Users/mateo/Development/litellm-worktrees/slp868-head2 commit=e854b20f3e port=38963 workers=2 config=config_drop.yaml)curl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:38963/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @clef_flash.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:38963/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @clef_flash_drop.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:38963/v1/decisions -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @clef_flash_drop_openai.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:38963/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @clef_flash_malformed.jsoncurl -s -w '\nHTTP %{http_code}\n' http://127.0.0.1:38963/v1/systemone -H "Authorization: Bearer $LITELLM_MASTER_KEY" -H 'Content-Type: application/json' -d @clef_flash_drop_malformed.jsonSDK: litellm.systemone and litellm.decisions with the same clips (no proxy)
The two calls an SDK user writes, run from a checkout at
e854b20f3ed40bd8760fb3949725b84a95f8950cwithCLOUDFLARE_API_KEYandCLOUDFLARE_ACCOUNT_IDset (qa/run_sdk.sh,qa/sdk_clips.py)Audit round 3 of 3
Rig
slp868on the GCE boxmateo-claude-dev(~/.claude/bin/remote_rig.py, groupproviders, serial lanes, four pytest workers per lane as lane.json records): three legs, each a real two-worker proxy over its own Postgres database and Redis, the upstream a scriptedwire_serverinside the cell.baseis the merge base249add6f0d25e89be79e0b45f374dc4728a723cbwith the PR's six test paths overlaid (the rig copies onlytests/paths onto its base checkout),headandctlare the tip05843fbae77a035467a607fa1795c232f8e83aa9. The head leg ran alone (head_run1, thenhead_run2with the same seeds), then the regex cell (S18) alone on it twice, then the base leg alone and its regex cell, and the controls last on the ctl leg (ctl, then the K5 safety_identifier controls asctl_k5). A first launch was stopped before its head lane finished because the push from the merge-base worktree had left the rig's base checkout at round 2's7af791920052666d1e7b62d2b12a58b4880db135(the rig moves its base only from the merge base it computes in the pushed tree); the base leg was pushed again from the PR worktree, the rig checked out249add6f0d25e89be79e0b45f374dc4728a723cb, and the round relaunched from its first lane, so every lane folder and the log~/.claude/detached/slp868-round3.logcome from the relaunchLane totals at the tip:
head_run154 collected, 54 passed;head_run254 collected, 54 passed (identical collection order);base54 collected, 4 passed, 50 failed (every red is the merge-base behavior, see the per-cell table inphase12/05843fbae77a035467a607fa1795c232f8e83aa9/base_reasons.md; the 4 greens are round 2's four: S17, where both trees answer 401, the two S20 cells, where the merge base ignores the clips the deployment drops, and the H9/H10/E1 cell, where both trees send the same text-only body for missing,[]andnull; the two N9 cells are red on the base because249add6f0dforwards the clips to the Fireworks router and the scripted upstream answers 200); regex cell S18 alone:regex_baseFAIL (the merge base answers 200 with the clip ignored),regex_head_run1andregex_head_run2PASS;ctl5 collected, 5 passed;ctl_k56 collected, 6 passed. No skips, no retries, no reruns of a red cellDeterministic cells (base = merge base
249add6f0d25e89be79e0b45f374dc4728a723cb, head = tip05843fbae77a035467a607fa1795c232f8e83aa9, "commit last ran at" is the lane's sha, run ids are the lane labels below the table):tests/integration/providers/test_cloudflare_clef_omni_media_chaos.py::test_worker_sigkill_mid_burst_leaves_the_sibling_forwarding_mediatests/integration/providers/test_cloudflare_clef_omni_media_chaos.py::test_an_upstream_dropping_connections_mid_burst_then_stopped_and_restarted_lands_each_success_oncetests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_repeated_and_clip_changed_requests_each_reach_the_upstream_and_are_each_billedtests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_a_concurrent_burst_across_the_four_routes_lands_each_request_once_with_its_mediatests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_data_url_clips_reach_clef_omni_on_every_route_and_are_billed[/v1/systemone]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_data_url_clips_reach_clef_omni_on_every_route_and_are_billed[/systemone]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_data_url_clips_reach_clef_omni_on_every_route_and_are_billed[/decisions]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_data_url_clips_reach_clef_omni_on_every_route_and_are_billed[/v1/decisions]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_an_async_caller_on_the_unversioned_decisions_route_gets_its_media_forwardedtests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_object_form_clips_are_forwarded_verbatim[plain_content_type]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_both_clef_omni_spellings_forward_media_and_carry_the_cost_map_pricetests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_object_form_clips_are_forwarded_verbatim[parameterized_content_type]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_the_maxima_of_four_audio_and_two_video_clips_are_forwardedtests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_missing_empty_and_null_media_send_the_same_text_only_bodytests/integration/providers/test_hosted_vllm_reasoning_content_chaos.py::test_concurrent_replays_across_endpoints_keep_each_reasoning_with_its_requesttests/integration/providers/test_decisions_openai_format_wire.py::test_each_provider_gets_its_own_path_key_and_body_and_is_billed[openai/gpt-6-luna]tests/integration/providers/test_decisions_openai_format_wire.py::test_each_provider_gets_its_own_path_key_and_body_and_is_billed[cloudflare/clef]tests/integration/translation/decisions/basic/test_decisions_basic_cloudflare.py::test_decisions_basic_cloudflare[cloudflare/@cf/cloudflare/clef-basic]tests/integration/translation/decisions/basic/test_decisions_basic_cloudflare.py::test_decisions_basic_cloudflare[cloudflare/@cf/cloudflare/clef-systemone]tests/integration/providers/test_decisions_openai_format_wire.py::test_a_non_string_safety_identifier_is_refused_as_invalid_unless_the_deployment_drops_params[list-openai_format]tests/integration/providers/test_decisions_openai_format_wire.py::test_a_non_string_safety_identifier_is_refused_as_invalid_unless_the_deployment_drops_params[list-system_one_format]tests/integration/providers/test_decisions_openai_format_wire.py::test_a_non_string_safety_identifier_is_refused_as_invalid_unless_the_deployment_drops_params[numeric-openai_format]tests/integration/providers/test_decisions_openai_format_wire.py::test_a_non_string_safety_identifier_is_refused_as_invalid_unless_the_deployment_drops_params[numeric-system_one_format]tests/integration/providers/test_decisions_openai_format_wire.py::test_openai_keeps_the_safety_identifier_on_the_wire_without_drop_paramstests/integration/providers/test_decisions_openai_format_wire.py::test_safety_identifier_is_refused_by_system_one_providers_unless_the_deployment_drops_params[cloudflare/clef]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_null_clips_mean_no_clips_of_that_kind_on_every_route[/decisions]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_null_clips_mean_no_clips_of_that_kind_on_every_route[/systemone]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_null_clips_mean_no_clips_of_that_kind_on_every_route[/v1/decisions]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_null_clips_mean_no_clips_of_that_kind_on_every_route[/v1/systemone]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_on_a_model_without_support_are_refused_unless_the_deployment_drops_params[/v1/decisions]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_on_a_model_without_support_are_refused_unless_the_deployment_drops_params[/v1/systemone]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_a_malformed_clip_on_a_media_model_is_refused_even_when_the_deployment_drops_paramstests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_model_info_advertises_media_support_only_on_clef_omni_deploymentstests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_a_deployment_advertising_only_audio_forwards_audio_and_refuses_or_drops_videotests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_a_chat_mode_deployment_advertising_media_is_not_a_decisions_media_modeltests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_clips_on_an_openai_chat_model_are_refused_or_dropped_never_forwardedtests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_positional_sdk_callers_keep_the_api_key_fifth_and_the_api_base_sixthtests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_openapi_documents_the_media_fields_on_every_decisions_routetests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[audio_int]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[parameterized_audio_data_url]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[five_audio_clips]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[three_videos]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_media_on_a_model_without_support_is_refused_before_any_upstream_call[cloudflare/clef-flash@/v1/systemone]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_media_on_a_model_without_support_is_refused_before_any_upstream_call[cloudflare/clef@/v1/systemone]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_media_on_a_model_without_support_is_refused_before_any_upstream_call[openai/gpt-6-luna@/v1/systemone]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_media_on_a_model_without_support_is_refused_before_any_upstream_call[fireworks_ai/accounts/fireworks/routers/rune@/v1/systemone]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_media_on_a_model_without_support_is_refused_before_any_upstream_call[cloudflare/@cf/cloudflare/clef-flash@/v1/decisions]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_media_on_a_model_without_support_is_refused_before_any_upstream_call[openai/gpt-6-luna@/v1/decisions]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_media_on_a_model_without_support_is_refused_before_any_upstream_call[fireworks_ai/accounts/fireworks/routers/rune@/v1/decisions]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_an_upstream_rejection_of_a_media_request_reaches_the_caller_like_a_text_only_one[422]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_an_upstream_rejection_of_a_media_request_reaches_the_caller_like_a_text_only_one[413]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_an_unauthenticated_media_request_is_refused_before_validationdata:audio/aaaa...without;base64,refused under 5 s while liveliness stays under 1 stests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_the_data_url_pattern_worst_case_is_refused_in_bounded_time_while_liveliness_answerstests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_unrelated_chat_keeps_working_after_a_run_of_refused_media_requeststests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[audio_list_of_ints]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_media_on_a_model_without_support_is_dropped_when_the_deployment_drops_params[/v1/decisions]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_media_on_a_model_without_support_is_dropped_when_the_deployment_drops_params[/v1/systemone]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[audio_empty_string]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[audio_5kb_garbage]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[audio_object_content_type_with_a_space]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_a_duplicated_audio_key_is_judged_by_its_last_valuetests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[video_object_with_empty_base64]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[videos_object_missing_base64]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[videos_object_extra_key]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[audio_object_with_image_content_type]tests/integration/providers/test_cloudflare_clef_omni_media_wire.py::test_malformed_clips_are_refused_before_any_upstream_call[image_data_url_in_audio]head_run1: leg head, sha05843fbae77a035467a607fa1795c232f8e83aa9, exit 0, 155 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/head_run1/(run.log, junit.xml, execution.json, lane.json)head_run2: leg head, sha05843fbae77a035467a607fa1795c232f8e83aa9, exit 0, 153 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/head_run2/(run.log, junit.xml, execution.json, lane.json)base: leg base, sha249add6f0d25e89be79e0b45f374dc4728a723cb, exit 1, 164 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/base/(run.log, junit.xml, execution.json, lane.json)regex_base: leg base, sha249add6f0d25e89be79e0b45f374dc4728a723cb, exit 1, 102 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/regex_base/(run.log, junit.xml, execution.json, lane.json)regex_head_run1: leg head, sha05843fbae77a035467a607fa1795c232f8e83aa9, exit 0, 139 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/regex_head_run1/(run.log, junit.xml, execution.json, lane.json)regex_head_run2: leg head, sha05843fbae77a035467a607fa1795c232f8e83aa9, exit 0, 110 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/regex_head_run2/(run.log, junit.xml, execution.json, lane.json)ctl: leg ctl, sha05843fbae77a035467a607fa1795c232f8e83aa9, exit 0, 98 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/ctl/(run.log, junit.xml, execution.json, lane.json)ctl_k5: leg ctl, sha05843fbae77a035467a607fa1795c232f8e83aa9, exit 0, 78 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/ctl_k5/(run.log, junit.xml, execution.json, lane.json)Lanes:
head_run1: leg head, sha05843fbae77a035467a607fa1795c232f8e83aa9, exit 0, 155 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/head_run1/(run.log, junit.xml, execution.json, lane.json)head_run2: leg head, sha05843fbae77a035467a607fa1795c232f8e83aa9, exit 0, 153 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/head_run2/(run.log, junit.xml, execution.json, lane.json)base: leg base, sha249add6f0d25e89be79e0b45f374dc4728a723cb, exit 1, 164 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/base/(run.log, junit.xml, execution.json, lane.json)regex_base: leg base, sha249add6f0d25e89be79e0b45f374dc4728a723cb, exit 1, 102 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/regex_base/(run.log, junit.xml, execution.json, lane.json)regex_head_run1: leg head, sha05843fbae77a035467a607fa1795c232f8e83aa9, exit 0, 139 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/regex_head_run1/(run.log, junit.xml, execution.json, lane.json)regex_head_run2: leg head, sha05843fbae77a035467a607fa1795c232f8e83aa9, exit 0, 110 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/regex_head_run2/(run.log, junit.xml, execution.json, lane.json)ctl: leg ctl, sha05843fbae77a035467a607fa1795c232f8e83aa9, exit 0, 98 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/ctl/(run.log, junit.xml, execution.json, lane.json)ctl_k5: leg ctl, sha05843fbae77a035467a607fa1795c232f8e83aa9, exit 0, 78 s, seed 20261010, order seed 45811, workers 4, box mateo-claude-dev, artifactsphase12/05843fbae77a035467a607fa1795c232f8e83aa9/ctl_k5/(run.log, junit.xml, execution.json, lane.json)Live cells (vendors: Cloudflare Workers AI, models
@cf/cloudflare/clef-omniandclef-flash, and for N9 Fireworks System One, modelaccounts/fireworks/routers/rune, real spend on both; the legsqa/run_before6.shandqa/run_after6.shdrivingqa/run_leg.sh,qa/run_hostile.sh,qa/run_drop.shand the round 3qa/run_rune.sh(qa/config_rune.yaml) against two-worker laptop proxies on the treesslp868-base2at249add6f0d25e89be79e0b45f374dc4728a723cb(ports 55477, 35195, 56726, 47607) andslp868-head2at05843fbae77a035467a607fa1795c232f8e83aa9(ports 57585, 28853, 49918, 31996); transcripts copied tolive/05843fbae77a035467a607fa1795c232f8e83aa9/asbefore6.*andafter6.*; the Cloudflare transcripts match round 2's line for line after number masking except the leg label lines, with the same probabilities and token counts; the after leg's drop and rune scripts first exited 2 under CRITICAL laptop headroom before booting a proxy and reran behind a headroom wait):249add6f0d25e89be79e0b45f374dc4728a723cb05843fbae77a035467a607fa1795c232f8e83aa9live/05843fbae77a035467a607fa1795c232f8e83aa9/before6.run.txt,live/05843fbae77a035467a607fa1795c232f8e83aa9/after6.run.txtlive/05843fbae77a035467a607fa1795c232f8e83aa9/after6.run.txtsystemone_bluecontent_typewith parameters, object webm, plain webm data URLlive/05843fbae77a035467a607fa1795c232f8e83aa9/after6.run.txtobject_form,live/05843fbae77a035467a607fa1795c232f8e83aa9/after6.hostile.txtobject_param_content_type,object_webm,data_url_webm_plainlitellm.UnsupportedParamsError: cloudflare does not support parameters: ['audio', 'videos'], for model=cloudflare/clef-flash. To drop these, set litellm.drop_params=True ...live/05843fbae77a035467a607fa1795c232f8e83aa9/after6.run.txtandlive/05843fbae77a035467a607fa1795c232f8e83aa9/after6.drop.txtclef_flashdrop_params: true, /v1/systemone and /v1/decisions, plus malformed clips on the strict and the drop deploymentInvalid Decisions request, drop malformed 200 text-onlylive/05843fbae77a035467a607fa1795c232f8e83aa9/before6.drop.txt,live/05843fbae77a035467a607fa1795c232f8e83aa9/after6.drop.txtclef_flash_drop,clef_flash_drop_openai,clef_flash_malformed,clef_flash_drop_malformedfireworks_ai/accounts/fireworks/routers/rune(main#46057): the strict deployment on /v1/systemone and /v1/decisions, adrop_params: truedeployment on both, and text onlylitellm.UnsupportedParamsError: fireworks_ai does not support parameters: ['audio', 'videos'], for model=fireworks_ai/accounts/fireworks/routers/rune. To drop these, set litellm.drop_params=True ...on both routes; drop 200 with the text-only answer and 256 tokens on both routes; text only 200, 256 tokens, on both treeslive/05843fbae77a035467a607fa1795c232f8e83aa9/before6.rune.txt,live/05843fbae77a035467a607fa1795c232f8e83aa9/after6.rune.txtrune_text,rune,rune_openai,rune_drop,rune_drop_openaiInvalid Decisions request: ... Input should be a valid tupleor per-itemstring_type;audio: null200 with the text-only answer and 140 tokens on both treeslive/05843fbae77a035467a607fa1795c232f8e83aa9/after6.hostile.txtaudio_int,audio_list_of_ints,audio_empty_string,audio_nullaudiokey, object missing base64, object extra keyurl, image data URL in audiostring_pattern_mismatch,string_type)live/05843fbae77a035467a607fa1795c232f8e83aa9/after6.hostile.txt,live/05843fbae77a035467a607fa1795c232f8e83aa9/after6.run.txtimage_in_audiodata:audio/wav;rate=16000;base64,...anddata:audio/webm;codecs=opus;base64,...String should match pattern '^data:audio/[^;,\s]+;base64,.+$'live/05843fbae77a035467a607fa1795c232f8e83aa9/after6.run.txtparam_media_type,webm_opusTuple should have at most 2 items after validation, not 3live/05843fbae77a035467a607fa1795c232f8e83aa9/after6.run.txttoo_many_videosaudio: []live/05843fbae77a035467a607fa1795c232f8e83aa9/after6.run.txttext_only,live/05843fbae77a035467a607fa1795c232f8e83aa9/after6.hostile.txtaudio_empty_listsupports_audio_inputandsupports_video_inputtrue on clef-omni, null on clef-flashlive/05843fbae77a035467a607fa1795c232f8e83aa9/after6.run.txtmodel_infoNo api key passed inlive/05843fbae77a035467a607fa1795c232f8e83aa9/after6.hostile.txtunauthenticated_mediaType
🆕 New Feature
Caveats (if any)
Medium
imageslist on a Decisions body passes validation and never reaches Clef-omni, because the request body allows unknown keys. Clef image support is feat(decisions): send images to Cloudflare Clef from /v1/decisions and /v1/systemone #45762, which touches the same files and needs a conflict resolution after this landsLow
audioandvideoson/v1/decisionsare a LiteLLM extension, not an OpenAI field;base64, is refused with the pattern message rather than a hint to use the object form, which takes parameterssupports_video_inputnow shows inget_model_infoandGET /model/infofor every cost-map entry that carries it, next tosupports_audio_input, which was already surfacedaudios,video) passes as an unknown key instead of a 400, the same as any unknown key on a Decisions body todaymodel_infoon a map without the Clef-omni rows has to use the canonicalcloudflare/@cf/cloudflare/clef-omniname, since the gate reads that key: on the shortcloudflare/clef-omnialias the flags show inGET /model/infobut clips still answer the 400input_imagetodayFinal 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
e854b20 passes /live-pr-risk
05843fb passes /audit (round 3 of 3 at the tip; round 2 passed at e854b20)