mirror of
https://github.com/bendtherules/opencode-plugin-dsml-fix.git
synced 2026-10-17 16:56:50 +00:00
chore: scrub stale provenance wording (synthetic fixtures, generic trigger)
This commit is contained in:
+2
-2
@@ -22,8 +22,8 @@ fix **new streams** and repair **old stored transcripts**.
|
|||||||
- Failing path in the user's real session: provider **`opencode-go`**, model
|
- Failing path in the user's real session: provider **`opencode-go`**, model
|
||||||
**`deepseek-v4.1-flash`**, package **`@ai-sdk/openai-compatible`**, baseURL
|
**`deepseek-v4.1-flash`**, package **`@ai-sdk/openai-compatible`**, baseURL
|
||||||
`https://opencode.ai/zen/go/v1`. The `opencode` (Zen) provider uses the same shape.
|
`https://opencode.ai/zen/go/v1`. The `opencode` (Zen) provider uses the same shape.
|
||||||
- Trigger (evidence from a real long-context session: an Android speech-to-text
|
- Trigger (evidence from a real long-context DeepSeek session on
|
||||||
project on `opencode-go/deepseek-v4.1-flash`): **all leaks happen late in a huge
|
`opencode-go/deepseek-v4.1-flash`): **all leaks happen late in a huge
|
||||||
context** (seq 5177+ of ~5700 messages). Degradation:
|
context** (seq 5177+ of ~5700 messages). Degradation:
|
||||||
outer `<DSML tool_calls>` opener missing, `invoke` opener mangled to a bare
|
outer `<DSML tool_calls>` opener missing, `invoke` opener mangled to a bare
|
||||||
`parameter name="edit"`, and only inner params carry the DSML token. `finish_reason`
|
`parameter name="edit"`, and only inner params carry the DSML token. `finish_reason`
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* SSE rewriter tests. Mirror of test/stream.test.ts, asserting on the rewritten
|
* SSE rewriter tests. Mirror of test/stream.test.ts, asserting on the rewritten
|
||||||
* OpenAI-Chat SSE bytes — the exact contract the native protocol parser reads.
|
* OpenAI-Chat SSE bytes — the exact contract the native protocol parser reads.
|
||||||
* Plus a golden run over the real DB failure messages serialized as SSE.
|
* Plus a golden run over the synthetic fixtures serialized as SSE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { describe, expect, test } from "bun:test"
|
import { describe, expect, test } from "bun:test"
|
||||||
|
|||||||
Reference in New Issue
Block a user