fix: stop offering end-of-life models for Advanced Parsing#1127
Open
NitroBoss wants to merge 1 commit into
Open
fix: stop offering end-of-life models for Advanced Parsing#1127NitroBoss wants to merge 1 commit into
NitroBoss wants to merge 1 commit into
Conversation
claude-3-5-sonnet-v1 and claude-3-sonnet-v1 reached end of life on Bedrock, so selecting them makes every IngestKnowledgeBaseDocuments call fail with a 404. Only Claude 3 Haiku is still invocable on demand. Legacy values remain valid for stored bots (separate stored Literal and Output schema type) and the CDK mapping falls back to Claude 3 Haiku with a warning so existing bots keep syncing.
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.
Mitigates #1126.
Two of the three selectable Advanced Parsing models (
anthropic.claude-3-5-sonnet-v1,anthropic.claude-3-sonnet-v1) reached end of life on Bedrock, so selecting them makes everyIngestKnowledgeBaseDocumentscall fail with a 404 and the knowledge base silently ends up empty. Claude 3 Haiku is the only option still invocable.What this PR does
type_kb_parsing_model_storedLiteral is used by the repository model and theBedrockKnowledgeBaseOutputschema, so bots created before the cut still deserialize and GET responses do not break.console.warn, so existing bots configured with an EOL model heal on their next sync instead of failing with the 404.What this PR deliberately does not do
Adding current-generation models is not a constant swap: every current Claude model on Bedrock is
INFERENCE_PROFILE-only (no on-demand), so the parsing configuration needs inference-profile ARN support (plus the matching KB role permissions across the profile regions). That is proposed as the follow-up in #1126.The now-unused i18n label keys for the removed option are left in place across locales to keep this diff minimal.
We run the equivalent behavior in our deployment; the "parsing disabled" workaround and the 404 root cause are confirmed there.