Repository navigation
Commit b330571
Release 2.4.2: align assess() default error message (#33)
## Summary
- **`assess()`/`aassess()` default error message**: when the API
response omits `error.message`, the SDK now surfaces `"Request failed
with status N"` (was the raw response body); the raw JSON body is still
preserved in `details`. Brings the python client in line with the node
client.
- **version → 2.4.2** (lockstep with `@agent-score/sdk`).
## Test plan
- [x] `uv run ruff check` clean
- [x] `uv run ty check` clean
- [x] `uv run pytest --cov-branch` — **100% branch**, 176 passed
- [x] e2e: consumers (core/store + node merchants via commerce)
unaffected; no consumer asserts on the error message
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent a9c8876 commit b330571
4 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2219 | 2219 | | |
2220 | 2220 | | |
2221 | 2221 | | |
2222 | | - | |
| 2222 | + | |
2223 | 2223 | | |
2224 | 2224 | | |
2225 | 2225 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments