Skip to content

Remove the deepseek-flags default plugin - #275

Merged
fylorn merged 1 commit into
mainfrom
remove-deepseek-flags
Oct 3, 2026
Merged

fylorn merged 1 commit into
mainfrom
remove-deepseek-flags

Conversation

@fylorn

@fylorn fylorn commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Removes the deepseek-flags default plugin ("Avoid DeepSeek request rejections"). It replaced a regional flag emoji that DeepSeek's API refuses. A provider that refuses certain content is for that provider to fix; core does not rewrite requests to get around it.

Two default plugins remain: reply-language and wsl-paths.

  • crates/tw-gateway/src/plugin/defaults/: delete deepseek-flags.js, drop it from ALL, and regenerate manifests.json (UPDATE_DEFAULT_MANIFESTS=1).
  • crates/tw-gateway/tests/plugins_defaults.rs: drop its tests, and outcomes_of from the plugin test harness, which only they used.
  • crates/tw-control/tests/plugin_defaults.rs: the test that a default able to rewrite tool calls turns on only through UpdatePluginConfirmed now uses wsl-paths, which also holds reply_tool_calls.
  • release-notes/0.58.0.md: two default plugins.

No published release contained the plugin, so seeded configurations need no cleanup. Message codes, CONTROL_API_VERSION (34) and SCHEMA (25) do not change.

🤖 Generated with Claude Code

deepseek-flags ("Avoid DeepSeek request rejections") replaced a regional
flag emoji that DeepSeek's API refuses. A provider that refuses certain
content is for that provider to fix; core does not rewrite requests to get
around it. Two default plugins remain: reply-language and wsl-paths.

- Delete defaults/deepseek-flags.js, drop it from defaults::ALL, and
  regenerate defaults/manifests.json (UPDATE_DEFAULT_MANIFESTS=1).
- Drop its gateway tests and the test-harness helper only they used.
  The test that a default able to rewrite tool calls turns on only
  through UpdatePluginConfirmed now uses wsl-paths, which also holds
  reply_tool_calls.
- release-notes/0.58.0.md: two default plugins.

No published release contained the plugin, so seeded configurations need
no cleanup. Message codes, CONTROL_API_VERSION (34) and SCHEMA (25) do not
change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fylorn
fylorn merged commit c2a7bc6 into main Oct 3, 2026
4 checks passed
@fylorn
fylorn deleted the remove-deepseek-flags branch October 3, 2026 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant