Skip to content

Claude/dreamy tesla l2 oah#21

Merged
Hesamsamani merged 2 commits into
mainfrom
claude/dreamy-tesla-L2OAH
Jun 6, 2026
Merged

Claude/dreamy tesla l2 oah#21
Hesamsamani merged 2 commits into
mainfrom
claude/dreamy-tesla-L2OAH

Conversation

@Hesamsamani
Copy link
Copy Markdown
Owner

No description provided.

claude added 2 commits June 5, 2026 23:56
The setup wizard wrote engine settings (Bedrock keys, region, model id,
API keys) into cfg and refreshed the Convert page, but the Settings/Engine
tab widgets were built once at startup and never re-read cfg, so they kept
showing stale/blank values after the wizard ran.

Add SettingsPage.refresh_from_cfg() (reverse of _save) and call it from the
wizard handoff alongside ConvertPage.apply_cfg().
AWS SigV4 requires the canonical URI path to be URI-encoded twice for
non-S3 services. Bedrock model ids contain ':' (e.g. '...-v1:0'), which is
single-encoded ('%3A') on the wire but must be double-encoded ('%253A') in
the string-to-sign. The previous code single-encoded both, so the computed
signature never matched AWS's, yielding HTTP 403 'signature does not match'
for every model id with a ':0' suffix.

Build the wire path with single encoding and the canonical (signing) path
with double encoding. Verified against the canonical string AWS returned.
@Hesamsamani
Copy link
Copy Markdown
Owner Author

yes

@Hesamsamani Hesamsamani merged commit 770578a into main Jun 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants