fix(agentic-ai): update AWS Bedrock model field to use inference profile IDs#6876
Conversation
26b88c4 to
890b0f6
Compare
There was a problem hiding this comment.
Pull request overview
Updates the Agentic AI connector’s Bedrock “Model” template field to reflect AWS Bedrock’s move from model IDs to inference profile IDs, and removes previously hardcoded default model values.
Changes:
- Updated AWS Bedrock model field description/link to reference inference profile IDs.
- Removed hardcoded default model values for Bedrock (and also Anthropic) in Java annotation sources.
- Updated generated element template JSON files to remove the previous default values and add an example placeholder.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| connectors/agentic-ai/src/main/java/io/camunda/connector/agenticai/aiagent/model/request/provider/BedrockProviderConfiguration.java | Updates Bedrock model field description/link and removes default model ID. |
| connectors/agentic-ai/src/main/java/io/camunda/connector/agenticai/aiagent/model/request/provider/AnthropicProviderConfiguration.java | Removes the default Anthropic model value (behavioral change beyond stated PR scope). |
| connectors/agentic-ai/element-templates/hybrid/agenticai-aiagent-outbound-connector-hybrid.json | Removes default values and adds a placeholder example for model fields. |
| connectors/agentic-ai/element-templates/hybrid/agenticai-aiagent-job-worker-hybrid.json | Removes default values and adds a placeholder example for model fields. |
| connectors/agentic-ai/element-templates/agenticai-aiagent-outbound-connector.json | Removes default values and adds a placeholder example for model fields. |
| connectors/agentic-ai/element-templates/agenticai-aiagent-job-worker.json | Removes default values and adds a placeholder example for model fields. |
81ca0ed to
c19a674
Compare
| defaultValue = "anthropic.claude-3-5-sonnet-20240620-v1:0", | ||
| defaultValue = "", | ||
| defaultValueType = TemplateProperty.DefaultValueType.String, | ||
| placeholder = "global.anthropic.claude-sonnet-4-5-20250929-v1:0", |
There was a problem hiding this comment.
Can we use latest/greatest without the date identifier (as this would be easier to maintain and to update)? I didn't test it, but according to the docs page global.anthropic.claude-sonnet-4-6 should work, correct?
| defaultValue = "claude-3-5-sonnet-20240620", | ||
| defaultValue = "", | ||
| defaultValueType = TemplateProperty.DefaultValueType.String, | ||
| placeholder = "claude-3-5-sonnet-20240620", |
There was a problem hiding this comment.
I would also update this to latest/greatest without the date suffix:
| placeholder = "claude-3-5-sonnet-20240620", | |
| placeholder = "claude-sonnet-4-6", |
c19a674 to
77a717b
Compare
77a717b to
46bf7ab
Compare
Now that element-template-generator supports @TemplateProperty(placeholder), use it to show example model IDs in the Anthropic and Bedrock model fields instead of embedding them in the description or setting value to empty string. Also removes 'value: ""' from JSON templates - the generator omits the value field when defaultValue is blank, so this was inconsistent and won't survive regeneration. Depends on: #6879
…ders Address review feedback from maff: use the version alias without the date identifier so placeholders stay relevant longer. - Bedrock: global.anthropic.claude-sonnet-4-6 - Anthropic: claude-sonnet-4-6
adc4e8c to
d432c57
Compare
|
🎉 This pull request has been included in release Thank you for your contribution! 🚀 |
Description
Update the AWS Bedrock model field in the AI Agent connector element templates to use inference profile IDs. The previous description linked to the model IDs documentation page and used an outdated model ID as the default value. AWS Bedrock now requires inference profile IDs.
Changes:
Related issues
closes #6875
Checklist