Files
windmill/backend/windmill-api/src
centdix 2553d987d9 feat(ai): native bedrock compatibility (#7668)
* check endpoint

* use flag for cred check on worker

* use sdk for auth chat side

* cleaning

* cleaning

* also handle GET

* Add session token support in BedrockClient::from_credentials

Users with temporary STS credentials need session tokens for AWS
authentication. This adds the optional session_token parameter to
support these use cases.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Cache AWS SDK config loading to avoid repeated I/O

aws_config::load_defaults() performs environment variable lookups and
potentially file I/O on each call. Cache the result in a static OnceCell
to improve performance on high-frequency Bedrock requests.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Add debouncing to Bedrock credential check button

Prevent rapid clicks from spawning multiple concurrent flow preview
jobs for the worker credential check.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Remove orphaned SigV4 signing comment

The manual SigV4 signing code was removed in favor of the AWS SDK,
but this documentation comment was left behind.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Remove verbose tracing info and change-related comments

- Remove per-request auth method info logs (too verbose for production)
- Simplify from_env log to single debug-level message
- Remove comments describing future changes rather than current behavior

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* cleaning

* Fix Bedrock feature flag compilation warnings

Gate AWS-specific imports, struct fields, and methods behind the bedrock
feature flag to eliminate dead code warnings when building without the
bedrock feature enabled.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* bedrock flag

* cleaning

* Move BedrockCredentialsCheck from edit drawer to add drawer

The component was incorrectly shown when editing resources instead of
when adding new ones. Moved it from ResourceEditor.svelte to
ApiConnectForm.svelte.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* cleaning

* cleaning

* make aws-config optional

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Ruben Fiszel <ruben@windmill.dev>
2026-01-26 11:04:14 +00:00
..
2026-01-26 09:25:41 +00:00
2025-06-02 22:12:33 +02:00
2026-01-24 19:37:25 +00:00
2025-12-11 13:34:17 +00:00
2025-06-02 22:12:33 +02:00
2025-11-18 23:03:35 +00:00
2025-10-16 09:19:44 +00:00
2025-10-16 09:19:44 +00:00
2025-11-18 23:03:35 +00:00
2026-01-24 19:37:25 +00:00
2026-01-11 09:30:07 +00:00
2025-06-02 22:12:33 +02:00
nit
2025-12-15 20:35:51 +00:00
2025-06-02 22:12:33 +02:00
2025-03-13 09:31:38 +01:00
2024-04-04 04:16:53 +02:00
2026-01-20 21:58:41 +01:00
2025-12-01 15:16:22 +01:00
2026-01-22 16:20:01 +00:00
2026-01-09 07:03:29 +00:00
2025-06-02 22:12:33 +02:00
2025-10-17 14:05:17 +00:00
2026-01-24 19:37:25 +00:00
2025-09-04 22:05:22 +00:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
2026-01-21 11:42:25 +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-09-09 21:04:23 +00:00
nit
2025-09-11 21:57:56 +00:00
2025-09-17 12:15:33 +00:00
2025-09-02 14:34:46 +00:00
2025-06-02 22:12:33 +02:00