docs(virtual_keys): document allowed_routes in default_key_generate_params - #1477
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
…arams Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
🤖 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:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
7 tasks
Contributor
|
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 5f67fe3. Configure here.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the new
allowed_routessupport inlitellm_settings.default_key_generate_params(BerriAI/litellm branchlitellm_default_key_generate_params_allowed_routes, Linear LIT-7788). Adds the field to the yaml example indocs/proxy/virtual_keys.mdand a sentence explaining that it fills unset requests, that a non-empty value is an allowlist (sollm_api_routesmust be included alongside/key/spend/report), and that akey_typepreset on the request takes precedenceLink to Devin session: https://app.devin.ai/sessions/efc6675e3f474edeabfb8e84de0855e4
Open in Devin Desktop: https://app.devin.ai/desktop/session/efc6675e3f474edeabfb8e84de0855e4?variant=devin
Note
Low Risk
Documentation-only; no runtime or config parsing behavior changes in this diff.
Overview
Updates
docs/proxy/virtual_keys.mdsolitellm_settings.default_key_generate_paramsdocumentsallowed_routes: defaults apply when the field is missing ornull(like other params, with the samebudget_durationexception noted elsewhere). The new text explains using["llm_api_routes", "/key/spend/report"]so new keys can report spend, that a non-empty value is an allowlist (so route groups such asllm_api_routesmust be included), and that an explicitkey_typeon the request wins over the default.The sample
default_key_generate_paramsYAML now includesallowed_routes. A stray blank line under the Teams API reference heading is removed.Reviewed by Cursor Bugbot for commit 5f67fe3. Bugbot is set up for automated code reviews on this repo. Configure here.