Two frontend/UX issues found while probing custom-provider connections: the model picker mislabels some valid vault models as unavailable, and a Bedrock connection with bad credentials hangs for a long time before failing with an unhelpful error.
1. False "model not available" badge
Steps to reproduce
- Add a vault connection whose model id doesn't encode a recognizable provider family (for example a custom-provider model id that doesn't match a known
provider/model shape).
- Open the model picker for an agent config.
Observed
The model is flagged with a "not available" badge, even though the backend accepts it and a run against it succeeds.
Where this lives
web/packages/agenta-entity-ui/src/DrillInView/SchemaControls/agentTemplate/useModelHarness.tsx (around lines 483-524) — availability is derived from the shape of the model id rather than from what the backend actually supports for the selected harness.
2. Bedrock bad-credentials run hangs instead of failing fast
Steps to reproduce
- Connect a Bedrock provider with invalid access key/secret.
- Run against it and time how long it takes to fail.
Observed
The run hangs for roughly 210 seconds before failing, and then surfaces a generic 500 rather than a clear "invalid credentials" error.
Context
Found while probing custom-provider connections end to end against the dev stack (2026-07-07). Surfaced by the new connect-model drawer in #5096. Related: this is one of five connection gaps found in the same investigation — see also the Pi-side, Claude-side, and resolution-ranking issues.
Two frontend/UX issues found while probing custom-provider connections: the model picker mislabels some valid vault models as unavailable, and a Bedrock connection with bad credentials hangs for a long time before failing with an unhelpful error.
1. False "model not available" badge
Steps to reproduce
provider/modelshape).Observed
The model is flagged with a "not available" badge, even though the backend accepts it and a run against it succeeds.
Where this lives
web/packages/agenta-entity-ui/src/DrillInView/SchemaControls/agentTemplate/useModelHarness.tsx(around lines 483-524) — availability is derived from the shape of the model id rather than from what the backend actually supports for the selected harness.2. Bedrock bad-credentials run hangs instead of failing fast
Steps to reproduce
Observed
The run hangs for roughly 210 seconds before failing, and then surfaces a generic 500 rather than a clear "invalid credentials" error.
Context
Found while probing custom-provider connections end to end against the dev stack (2026-07-07). Surfaced by the new connect-model drawer in #5096. Related: this is one of five connection gaps found in the same investigation — see also the Pi-side, Claude-side, and resolution-ranking issues.