Revert "feat: add VS Code ChatGPT plugin config sync functionality"

This reverts commit 9bf216b102.
This commit is contained in:
Jason
2025-09-18 17:57:32 +08:00
parent 60eb9ce2a4
commit c6e4f3599e
7 changed files with 1 additions and 272 deletions

View File

@@ -288,10 +288,3 @@ export const hasTomlCommonConfigSnippet = (
return existingSnippet === snippetString.trim();
};
// 从 Codex TOML 配置中提取 base_url
export const extractBaseUrlFromToml = (tomlString: string): string => {
if (!tomlString) return "";
const match = tomlString.match(/base_url\s*=\s*"([^"]+)"/);
return match?.[1] ?? "";
};