Conversation
Adds admin guides for CodeMie's tier-based Switchyard router declarations and LiteLLM's own native auto-router recognition, cross-linked from the LLM model config reference, integration overview, and chat input settings; includes matching FAQ entries.
PR Preview Ready!Your preview documentation is ready! Visit it here: Preview URL: http://codemie-docs-pr-previews.s3-website.eu-central-1.amazonaws.com/pr-412/
This preview will be automatically updated when you push new commits to this PR. |
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 two independent, admin-facing LLM auto-routing mechanisms in AI/Run CodeMie's model configuration:
signal/classifiermodes)litellm_router, so it is not misconfigured as a normal deployment or chained with a Switchyard routerChanges
docs/admin/configuration/codemie/ai-models-integration/switchyard-model-routing.md— YAML router schema, tuning parameters, model dropdown effect, response headersdocs/admin/configuration/codemie/ai-models-integration/litellm-native-auto-routing.md—litellm_routerdeclaration in LiteLLM'smodel_info, kept as a separate, alternative mechanism (not part of Switchyard)sidebars.ts,api-configuration.md,ai-models-integration/index.md,codemie-native-llm-config.md,extensions/litellm-proxy/model-configuration.md(terseswitchyard/litellm_routerfield entries, linking out to avoid duplication), anduser-guide/assistants/chat-input-settings.md(end-user note onSY-prefixed model entries)faq/what-is-switchyard-auto-routing-in-codemie.md,faq/how-do-i-configure-a-switchyard-router-for-a-model.mdTesting
npm startQuality Checks
npm run checkpasses (typecheck + lint + commitlint)<text>must be`<text>`)static/img/)Additional Notes
Content is based on the currently open MR
epm-cdme/codemie!4241("Migrate to official Switchyard and introduce a Router abstraction"). Thelitellm_routerrecognition via LiteLLM'smodel_infoblock depends on a parsing fix planned for that same MR — the current merged code only readslitellm_routerfrom CodeMie's native config, not from a live-synced LiteLLM catalog.