Restore the tool-interaction check that was removed in the previous commit. DeepSeek's documented behavior only requires reasoning_content to be preserved for tool-interaction turns; plain assistant turns between user messages do not need it on replay. This reverts the production code change while keeping the streaming reasoning_content parsing fix from the earlier commit intact. |
||
|---|---|---|
| .. | ||
| provider.go | ||
| provider_test.go | ||