Files
windmill/backend/windmill-common/src
centdix 34aeca61ad fix: handle empty base_url and region strings in AI providers (#7719)
When creating an Anthropic resource with "standard platform", the resource
JSON may contain `"base_url": ""` rather than omitting the field. Serde
deserializes this as `Some("")`, which bypassed the fallback logic and
caused "relative URL without a base" errors.

Similarly, AWS Bedrock with an empty region string would produce an
invalid URL like `https://bedrock-runtime..amazonaws.com`.

Filter out empty strings when checking for custom base_url and region
values, allowing the default URLs to be used correctly.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 15:08:30 +00:00
..
2025-12-05 23:08:58 +00:00
2025-11-18 23:03:35 +00:00
2025-04-12 11:09:21 +00:00
2025-11-07 18:38:55 +00:00
2025-06-02 22:12:33 +02:00
2025-09-02 11:28:06 +00:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
2025-10-16 09:19:44 +00:00
2025-11-28 16:00:11 +00:00
2025-07-26 13:48:53 +00:00