refactor: remove redundant comments and docstrings (#6527)

* refactor: remove redundant comments and docstrings

* fix(signal): annotate async context manager as a generator
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-30 13:07:03 +08:00
1 parent cb3ba45317
commit a4d2430140
922 files changed
+406 -7738

No files matched your search

-1
View File
@@ -110,7 +110,6 @@ def test_auto_routing_retains_same_connection_settings_but_new_connection_accept
"name": ["primary"], "provider": ["auto"], "model": ["tenant_a/new"],
}, oauth_status=_oauth_status)
assert config.model_presets["primary"].extra_headers == {"X-Token": "private"}
# A stale form must not restore the old connection's redacted credential.
with pytest.raises(WebUISettingsError):
update_model_configuration(config.model_copy(deep=True), {
"name": ["primary"], "provider": ["tenant_b"],