chore(deadcode): dedupe repeated literal lists · openclaw/openclaw@edd1d33
vincentkoc
·
2026-06-22
·
via Recent Commits to openclaw:main
File tree
extensions/memory-core/src
| Original file line number | Diff line number | Diff line change |
|---|
@@ -209,7 +209,6 @@ const LANGUAGE_STOP_WORDS = {
|
209 | 209 | "할", |
210 | 210 | "해", |
211 | 211 | "했다", |
212 | | -"했다", |
213 | 212 | ], |
214 | 213 | pathNoise: [ |
215 | 214 | "cjs", |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,7 +12,6 @@ const OPENAI_FAMILY_GPT5_PROMPT_OVERLAY_PROVIDERS = new Set([
|
12 | 12 | "codex", |
13 | 13 | "codex-cli", |
14 | 14 | "openai", |
15 | | -"openai", |
16 | 15 | "azure-openai", |
17 | 16 | "azure-openai-responses", |
18 | 17 | ]); |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -463,7 +463,6 @@ const BUILT_IN_MODEL_PROVIDER_OVERLAY_IDS = new Set([
|
463 | 463 | "nvidia", |
464 | 464 | "ollama", |
465 | 465 | "openai", |
466 | | -"openai", |
467 | 466 | "opencode", |
468 | 467 | "opencode-go", |
469 | 468 | "openrouter", |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -23,12 +23,7 @@ import {
|
23 | 23 | import { buildBaseOptions } from "./simple-options.js"; |
24 | 24 | |
25 | 25 | const DEFAULT_AZURE_API_VERSION = "v1"; |
26 | | -const AZURE_TOOL_CALL_PROVIDERS = new Set([ |
27 | | -"openai", |
28 | | -"openai", |
29 | | -"opencode", |
30 | | -"azure-openai-responses", |
31 | | -]); |
| 26 | +const AZURE_TOOL_CALL_PROVIDERS = new Set(["openai", "opencode", "azure-openai-responses"]); |
32 | 27 | |
33 | 28 | function resolveDeploymentName( |
34 | 29 | model: Model<"azure-openai-responses">, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。