Commit a0529ae
build(deps): bump locked anthropic to 1.2.0 + real-signature guard test
The `temperature` crash only reproduces on anthropic versions that removed the
parameter (1.2.0), which a fresh `pip install` already resolves (the constraint
is `anthropic>=0.86.0` with no upper bound); CI missed it only because the lock
pinned 0.116.0, which still has `temperature`.
- Bump the lockfile to anthropic 1.2.0 so CI runs against the version users
actually get. Full unit suite + typecheck pass on 1.2.0.
- Add an integration guard that binds the SDK's actual create() kwargs against
the real installed client signature, so forwarding any unsupported parameter
fails in CI (on 1.2.0 this fails if the temperature fix is reverted).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 15256c8 commit a0529ae
2 files changed
Lines changed: 110 additions & 23 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 | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
0 commit comments