[ 
https://issues.apache.org/jira/browse/CAMEL-23465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on CAMEL-23465 started by Andrea Cosentino.
------------------------------------------------
> Camel-AWS-Bedrock: BedrockAgentRuntimeConfiguration.modelId enum lists only 
> retired Anthropic Claude models
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-23465
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23465
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Minor
>
> {{BedrockAgentRuntimeConfiguration.modelId}} declares an enum of three 
> Anthropic Claude models that have all been retired by AWS:
> {code:java}
> @UriParam(enums = 
> "anthropic.claude-instant-v1,anthropic.claude-v2,anthropic.claude-v2:1")
> @Metadata(required = true)
> private String modelId;
> {code}
> This forces users to look up valid model IDs externally. The enum should at 
> minimum align with the much richer enum in {{BedrockConfiguration}} (Claude 
> 3+, Nova, Llama 3+, Mistral, Cohere R, etc.). Ideally the model list should 
> be sourced from a single canonical place to avoid drift across the three 
> Bedrock configuration classes.
> *Files:*
> * 
> {{components/camel-aws/camel-aws-bedrock/src/main/java/org/apache/camel/component/aws2/bedrock/agentruntime/BedrockAgentRuntimeConfiguration.java:43}}
> * 
> {{components/camel-aws/camel-aws-bedrock/src/main/java/org/apache/camel/component/aws2/bedrock/runtime/BedrockConfiguration.java:46}}
> *Suggested fix:*
> * Update the enum to mirror the {{BedrockConfiguration}} list; or generate it 
> from the {{BedrockModels}} enum at build time.
> ----
> _Filed by Claude Code on behalf of Andrea Cosentino._



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to