refactor: remove legacy history and proxy migrations (#6518)

This commit is contained in:
chengyongru authored and GitHub committed 2026-10-29 18:28:44 +08:00
1 parent 1c28b20c7e
commit cb3ba45317
47 files changed
+207 -1925

No files matched your search

+1 -2
View File
@@ -138,7 +138,6 @@ class _EmptyGatewaySessionManager:
def state(self):
return SimpleNamespace(
list_sessions=AsyncMock(return_value=[]),
migrate_history=AsyncMock(),
record_delivery=AsyncMock(),
aclose=AsyncMock(),
)
@@ -941,7 +940,7 @@ def test_provider_login_openai_codex_uses_explicit_config_proxy(tmp_path, monkey
proxy = "http://127.0.0.1:23458"
config_path = tmp_path / "config.json"
config_path.write_text(
json.dumps({"providers": {"openaiCodex": {"proxy": proxy}}}),
json.dumps({"network": {"proxy": proxy}, "providers": {"openaiCodex": {"useProxy": True}}}),
encoding="utf-8",
)
active_path: dict[str, Path] = {}