Lower max tokens param for Claude on bedrock
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3577651. --> Reported by: [rupertj](https://www.drupal.org/user/549944) Related to !14 >>> <p>We currently set the maxTokens param to 131071 when using Claude on bedrock. This worked for the 3.7 models, but not 4.6, which seems to have a lower maximum of 128000.</p> <p>As bedrock is pushing users of the 3.7 series to upgrade, we should lower the limit for compatibility.</p>
issue