mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 00:18:27 +00:00
* fix(capture): validate the Vertex region and model id before captioning Vision captioning passes the region and model id to the Google SDK, which builds the request host from the region and the request path from the model id. A region that is not a plain Google Cloud region name, or a model id with URL delimiters, now skips captioning with a warning instead of building a request. Every real region (including "global") and model id still works. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(capture): accept colons inside Google model id segments Vertex endpoint paths in domain-scoped projects contain a colon (projects/example.com:proj/...). The colon cannot change the request host, so allow it inside a segment. Leading slashes, empty segments, percent signs, query and fragment delimiters stay rejected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>