Repository navigation
Commit 4dfe995
fix: enable DeepSeek DSML filtering for proxy providers via model id detection
DSML filtering was gated on thinkingFormat === "deepseek", which
resolves only for native deepseek endpoint (api.deepseek.com) or
providers with provider key "deepseek". When DeepSeek models are
served through proxy providers like SiliconFlow, the endpoint class
falls back to "custom" and the filter is never created.
This causes DSML markup to leak into visible text, which triggers
Feishu streaming-card re-render events that create a feedback loop
— resulting in explosive duplicate messages.
Fixes by also enabling the filter when the model id contains
"deepseek" as a defense-in-depth measure.1 parent c4a0ca0 commit 4dfe995
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2640 | 2640 | | |
2641 | 2641 | | |
2642 | 2642 | | |
2643 | | - | |
| 2643 | + | |
2644 | 2644 | | |
2645 | 2645 | | |
2646 | | - | |
| 2646 | + | |
2647 | 2647 | | |
2648 | 2648 | | |
2649 | 2649 | | |
| |||
3074 | 3074 | | |
3075 | 3075 | | |
3076 | 3076 | | |
3077 | | - | |
3078 | | - | |
| 3077 | + | |
| 3078 | + | |
| 3079 | + | |
| 3080 | + | |
| 3081 | + | |
3079 | 3082 | | |
3080 | 3083 | | |
3081 | 3084 | | |
| |||
0 commit comments