Repository navigation
chore(ui): regenerate schema.d.ts for the complexity router classifier descriptions - #40667
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
…r descriptions Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Greptile SummaryRegenerates the dashboard API schema declarations so the complexity router classifier descriptions match the proxy OpenAPI specification
Confidence Score: 5/5The PR appears safe to merge because the generated declarations match the proxy schema and introduce no behavioral or type changes The two documentation updates align with the authoritative field descriptions and the implemented Claude Code classifier behavior, with no remaining actionable findings
|
| Filename | Overview |
|---|---|
| ui/litellm-dashboard/src/lib/http/schema.d.ts | Updates two generated complexity-router field descriptions to match the authoritative proxy schema |
Reviews (1): Last reviewed commit: "chore(ui): regenerate schema.d.ts for th..." | Re-trigger Greptile
|
The same schema.d.ts regeneration already landed on the base with #40624, so this duplicate has nothing left to merge |
TLDR
Problem this solves:
schema.d.tslitellm/proxypathVerify schema.d.ts matches the proxy OpenAPI speccheckHow it solves it:
npm run gen:apiagainst the staging tip and commits the two changed@descriptionlinesUser Flow
Before: a contributor opens any PR touching
litellm/proxy/and a required check fails on code they did not touchlitellm_internal_stagingVerify schema.d.ts matches the proxy OpenAPI specfails with "Generated API types are out of sync with the proxy OpenAPI spec"classifier_context_*descriptions of the complexity router, which their PR never changedAfter: the same PR passes the check
Verify schema.d.ts matches the proxy OpenAPI specpasses because the committedschema.d.tsalready matches the spec on stagingRelevant issues
Follow-up to #40655. Unblocks #38241, whose check reports exactly this diff
Linear ticket
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
uv run pytest tests/test_litellm/<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@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Screenshots / Proof of Fix
Before (7419a53, staging tip)
Regenerate types from the live spec
The two changed lines are the
classifier_context_max_charsandclassifier_context_turnsdescriptions. This is the same diff CI printed on #38241 (job 103124728177)After (b18c968)
Regenerate types from the live spec
No output:
schema.d.tsmatches the specBehavior changes
None. Generated dashboard type descriptions only
Backward compatibility
Not applicable
Link to Devin session: https://app.devin.ai/sessions/ef78f05d83264d3f82b348e7cf32c165
Open in Devin Desktop: https://app.devin.ai/desktop/session/ef78f05d83264d3f82b348e7cf32c165?variant=devin
Requested by: @yucheng-berri