Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(agents-api): codec route fixed + handled explicit checks for code…
… decoding (#809) <!-- ELLIPSIS_HIDDEN --> > [!IMPORTANT] > Improves payload decoding and routing in agents-api with enhanced error handling and compatibility checks. > > - **Behavior**: > - Enhanced `decode_payloads()` in `internal/router.py` to handle Pydantic models, bytes, and metadata more robustly. > - Added error handling for payload decoding failures, logging errors in `internal/router.py`. > - **Codec**: > - Updated `from_payload()` in `codec.py` to include explicit checks for encoding and Python version compatibility. > - Added logging for decoding failures in `codec.py`. > - **Routing**: > - Added `agents-api-internal` route in `traefik.yml.template` for `/api/temporal/{path:.*}` with higher priority than general route. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=julep-ai%2Fjulep&utm_source=github&utm_medium=referral)<sup> for 75e2363. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: standard-input[bot] <183254018+standard-input[bot]@users.noreply.github.com> Co-authored-by: Vedantsahai18 <[email protected]>
- Loading branch information