Repository navigation
Commit e09b359
authored
deps: bump go-llm-sdk to v0.3.3 and drop the local workspace overlay (#239)
* deps: bump go-llm-sdk to v0.3.3 and drop the local workspace overlay
v0.3.3 carries the DeepSeek thinking-mode fix: an empty reasoning_content
is echoed on requests that carry tools, so a turn whose reasoning the
provider elided no longer serializes without the key and no longer kills
the rest of the tool loop with a 400.
Bumping to the released module lets the local go.work overlay go away
entirely, so every build resolves the same code: local dev, CI and release.
The overlay existed only to develop the fix in place; now that it is
released it is pure drift risk, because it made local binaries run
unreleased code while CI and releases ran the pinned tag.
Verified with no workspace present (GOWORK unset):
go list -m github.com/BackendStack21/go-llm-sdk -> v0.3.3
go build ./... ok
go test ./internal/llmclient/... ./internal/loop/... ./internal/session/... ok
go test -race ./internal/llmclient/... ok
go.mod: one line. go.sum: two. No other dependency movement.
* docs: document the DeepSeek reasoning-replay requirement and the v0.3.3 floor
The dependency bump alone leaves the contract undocumented: PROVIDERS.md
described the GPT-5.6 tools+reasoning route but said nothing about DeepSeek's
reasoning_content replay rule, which is what breaks long tool loops on the
older SDK. MIGRATION.md pinned "go-llm-sdk v0.3.2+" as the recommended floor.
- PROVIDERS.md: a DeepSeek paragraph next to the GPT-5.6 one, stating that
reasoning_content is required on every assistant turn of a tool-carrying
request (including turns where the provider returned no reasoning), that
v0.3.3+ echoes the key, and that v0.3.2 and older die mid-loop with the
reported 400.
- MIGRATION.md: the recommended pin moves to v0.3.3+ with the DeepSeek reason
added alongside the existing GPT-5.6 and cache reasons.
Docs only, no behaviour change.1 parent 3c25124 commit e09b359
4 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
50 | 59 | | |
51 | 60 | | |
52 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
0 commit comments