Commit a6d392e
build(deps): require anthropic>=1,<2
This PR makes the messages API work with the 1.x anthropic client
(routes `temperature` through `extra_body` instead of the typed kwarg
that 1.x removed), and the lock already resolves 1.2.0. Bump the
dependency floor to `>=1` so the declared constraint matches what the
code targets, and cap at `<2` so the next major can't silently break us
the way 1.x did.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 81f29d6 commit a6d392e
2 files changed
Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| |||
0 commit comments