Problem/Motivation
AWS has started forcing using inference profiles for certain models in the system, like Anthropic. This renders them unusable for this provider because the model IDs can't be called directly like normal on-demand models and they're not provisioned models.
Proposed resolution
The model's inference support is returned in the initial model call, so the easiest solution would be to look for that and adjust the model IDs to use the inference profile names which can be either 'us' or 'global' depending on where the user is calling the models from.
Issue fork ai_provider_aws_bedrock-3586773
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #6
ishani patel commentedHello,
I've resolved the PHPCS error and updated the MR.
Thank you!