Commit 99a978e
fix(keyless): put recovery URLs in the message text agents actually read (#359)
* fix(keyless): put recovery URLs in the message text agents actually read
Agent hosts surface only the error message string to the model;
structuredContent (next_actions, docs_url, client_commands) is not
passed through. Verified empirically: an agent asked to repeat the
error verbatim reported 'no URLs present in the response'.
Add the OAuth endpoint and the free-API-key signup URL directly to the
four recovery messages (quota exhausted, keyless unavailable, invalid
credential, account-tool required), matching the API-side precedent in
apps/api keyless.ts. With the change, agents relay both URLs and the
Authorization header format to users unprompted.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(keyless): align CREDENTIAL_INVALID message with sibling recovery guidance
Add the Authorization: Bearer wiring instruction so a user replacing a
broken key sees the same how-to as the quota and access messages.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* chore: 3.23.5
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 0f9c068 commit 99a978e
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
976 | | - | |
| 976 | + | |
977 | 977 | | |
978 | | - | |
| 978 | + | |
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
| 982 | + | |
983 | 983 | | |
984 | 984 | | |
985 | | - | |
| 985 | + | |
986 | 986 | | |
987 | 987 | | |
988 | 988 | | |
| |||
0 commit comments