merlyn/docker
Tristan Stahnke b64a77f29f
Refactor AWS Bedrock Provider for Multi-modal Support & Correct Token Limits (#3714)
* Fixed two primary issues discovered while using AWS Bedrock with Anthropic Claude Sonnet models:
- Context Window defaults to 8192 maximum, which isn't correct
- Multimodal stopped working when removing langchain, which was transparently handling image_url to a format sonnet expects.

* Ran `yarn lint`

* Updated .env.example to have aws bedrock examples too

* Refactor for readability
move utils for AWS specific functionality to subfile
add token output max to ENV so setting persits

---------

Co-authored-by: Tristan Stahnke <tristan.stahnke+gpsec@guidepointsecurity.com>
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-06 12:55:24 -07:00
..
vex Add known VEX files to build process (#1969) 2024-07-25 11:13:57 -07:00
.env.example Refactor AWS Bedrock Provider for Multi-modal Support & Correct Token Limits (#3714) 2025-05-06 12:55:24 -07:00
docker-compose.yml Docker build frontend layer improvements (#1904) 2024-07-19 15:01:16 -07:00
docker-entrypoint.sh Update Ubuntu base image and improve Dockerfile (#609) 2024-03-06 16:34:45 -08:00
docker-healthcheck.sh Update Ubuntu base image and improve Dockerfile (#609) 2024-03-06 16:34:45 -08:00
Dockerfile ModelContextProtocol (MCP) Full Compatibility (#3547) 2025-03-31 16:15:19 -05:00
HOW_TO_USE_DOCKER.md Feature/add searchapi web browsing (#2224) 2024-09-05 10:36:46 -07:00