Skip to content

fix(agentic-ai): update AWS Bedrock model field to use inference profile IDs#6876

Merged
gbetances089 merged 3 commits into
mainfrom
6875-bedrock-inference-profile-ids
Apr 14, 2026
Merged

fix(agentic-ai): update AWS Bedrock model field to use inference profile IDs#6876
gbetances089 merged 3 commits into
mainfrom
6875-bedrock-inference-profile-ids

Conversation

@gbetances089
Copy link
Copy Markdown
Member

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

  • Backport labels are added if these code changes should be backported.

Copilot AI review requested due to automatic review settings April 2, 2026 12:09
@gbetances089 gbetances089 requested review from a team as code owners April 2, 2026 12:09
@gbetances089 gbetances089 requested a review from chillleader April 2, 2026 12:09
@gbetances089 gbetances089 self-assigned this Apr 2, 2026
@gbetances089 gbetances089 force-pushed the 6875-bedrock-inference-profile-ids branch from 26b88c4 to 890b0f6 Compare April 2, 2026 12:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread connectors/agentic-ai/element-templates/agenticai-aiagent-outbound-connector.json Outdated
Comment thread connectors/agentic-ai/element-templates/agenticai-aiagent-job-worker.json Outdated
@gbetances089 gbetances089 marked this pull request as draft April 2, 2026 14:52
@gbetances089 gbetances089 force-pushed the 6875-bedrock-inference-profile-ids branch from 81ca0ed to c19a674 Compare April 9, 2026 13:47
@gbetances089 gbetances089 requested a review from Copilot April 9, 2026 13:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

defaultValue = "anthropic.claude-3-5-sonnet-20240620-v1:0",
defaultValue = "",
defaultValueType = TemplateProperty.DefaultValueType.String,
placeholder = "global.anthropic.claude-sonnet-4-5-20250929-v1:0",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also update this to latest/greatest without the date suffix:

Suggested change
placeholder = "claude-3-5-sonnet-20240620",
placeholder = "claude-sonnet-4-6",

@gbetances089 gbetances089 force-pushed the 6875-bedrock-inference-profile-ids branch from c19a674 to 77a717b Compare April 10, 2026 06:26
@gbetances089 gbetances089 requested a review from maff April 10, 2026 06:29
@gbetances089 gbetances089 marked this pull request as ready for review April 10, 2026 06:29
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
@gbetances089 gbetances089 force-pushed the 6875-bedrock-inference-profile-ids branch 2 times, most recently from adc4e8c to d432c57 Compare April 14, 2026 06:21
@gbetances089 gbetances089 enabled auto-merge April 14, 2026 06:27
@gbetances089 gbetances089 added this pull request to the merge queue Apr 14, 2026
Merged via the queue into main with commit 65325c3 Apr 14, 2026
55 of 57 checks passed
@gbetances089 gbetances089 deleted the 6875-bedrock-inference-profile-ids branch April 14, 2026 06:48
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This pull request has been included in release 8.10.0-alpha1!

Thank you for your contribution! 🚀

@github-actions github-actions Bot added the version:8.10.0-alpha1 Released in version 8.10.0-alpha1 label May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agentic-ai e2e-tests version:8.10.0-alpha1 Released in version 8.10.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(agentic-ai): update AWS Bedrock model field to use a placeholder for inference profile ID format

5 participants