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,5 +1,3 @@
"""Tests for the OpenCode Zen and OpenCode Go provider registrations."""
import asyncio
import hashlib
import json
@@ -194,7 +192,6 @@ def test_opencode_affinity_matches_hostname(base, enabled):
@pytest.mark.parametrize("stream", [False, True])
@pytest.mark.parametrize("configured_header", [None, "x-opencode-session", "X-OpenCode-Session"])
async def test_opencode_wire_affinity(monkeypatch, api_type, stream, configured_header):
"""Exercise SDK header encoding/merging through the public provider entrypoints."""
from openai import AsyncOpenAI
from nanobot.providers import openai_compat_provider