Repository navigation
[Docs] Describe model selection behavior for unknown model IDs - #80
Draft
zoomote[bot] wants to merge 1 commit into
Draft
zoomote[bot] wants to merge 1 commit into
zoomote[bot] wants to merge 1 commit into
Conversation
9 of 12 tasks
This branch has not been 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.
What changed
The provider docs now describe what Zoo Code does when the selected model ID is not in the model list. Zoo Code stops the request with an error that names the model ID, and no request leaves Zoo Code with a different model.
docs/providers/bedrock.mdgains a "Model Selection Behavior" section. It covers the unselected default, dropdown selections, unknown model IDs, inference-profile IDs, and custom ARN rules. It also removes the outdated note that a manually entered model ID only loses prompt caching support.docs/providers/vertex.md,docs/providers/minimax.md, anddocs/providers/openai.mdgain the same short note. The OpenAI note also states that a configured deployment name replaces the catalog ID on the wire, so the check does not apply there.Why this change was made
Zoo Code now fails a request with an actionable error when an explicitly selected model ID misses a provider model registry (see Zoo-Code-Org/Zoo-Code#2831). The docs must match this behavior, so users know why a request stopped and how to fix the selection.
Impact
No code change in this repository. Users of Amazon Bedrock, Anthropic Vertex, MiniMax, and OpenAI can read the exact selection rules, including the ARN passthrough for non-foundation-model ARNs.
Related PRs