mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-24 22:09:56 +00:00
* test(responses): cover bridged system prompts too long for instructions Black-box wire tests for chat completions and /v1/messages on a Responses bridged OpenAI model. A system prompt over the instructions length limit must reach the upstream in input on truncation auto and on a follow-up whose stored chain lacks it, while short prompts and prompts the chain already holds keep today's shape * fix(responses): send bridged system prompts too long for instructions as input OpenAI and Azure reject an instructions string over 1,048,576 code points. The chat completions and /v1/messages bridges still sent long system prompts there on truncation auto and on follow-ups whose stored chain did not hold the prompt, so those requests failed with a 400. After the stored chain check, instructions over the limit now go out as a leading system input item, and a truncation auto follow-up skips a prompt its stored chain already holds instead of sending it again * fix(responses): keep a long system prompt when the caller overrides input in extra_body A caller's extra_body input replaced the input that carried the moved system prompt, so the prompt was dropped. The moved prompt now goes into whichever input the request sends * ci(unit): run the new instructions length tests in the responses shard |
||
|---|---|---|
| .. | ||
| auto-close-duplicates.yml | ||
| check-schema-sync.yml | ||
| codeql.yml | ||
| codspeed.yml | ||
| compat-matrix-image.yml | ||
| conventional-commits.yml | ||
| cost-map-guard.yml | ||
| cost-map-pins-recheck.yml | ||
| create-rc-branch.yml | ||
| create-release-branch.yml | ||
| duplicate_issue_check.yml | ||
| e2e_record_replay.yml | ||
| guard-fork-dependencies.yml | ||
| image-scan.yml | ||
| interactions-spec-canary.yml | ||
| issue-keyword-labeler.yml | ||
| issue_classifier.yml | ||
| issue_fixed_comment.yml | ||
| issue_label_claude_code.yml | ||
| issue_label_sync.yml | ||
| linear-release.yml | ||
| mutation-test.yml | ||
| osv-scan.yml | ||
| publish-lint-base-counts.yml | ||
| root-entry-limit.yml | ||
| scorecard.yml | ||
| spend-logs-guard.yml | ||
| stale.yml | ||
| sync-schema.yml | ||
| test-e2e-redis-chaos.yml | ||
| test-integration.yml | ||
| test-linting.yml | ||
| test-mcp-dependency-resolution.yml | ||
| test-merge-smoke.yml | ||
| test-rust-db.yml | ||
| test-rust.yml | ||
| test-terraform-modules.yml | ||
| test-terraform-provider.yml | ||
| test-unit.yml | ||
| test-vscode-extension.yml | ||
| zizmor.yml | ||