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 @@
"""Model-facing search failures through real ddgs parsing and aggregation."""
from __future__ import annotations
import json
@@ -31,7 +29,6 @@ from nanobot.providers.base import LLMProvider, LLMResponse, ToolCallRequest
],
)
async def test_ddgs_failure_reaches_model_with_observable_cause(monkeypatch, outcome, expected_header):
# Keep the released parser and aggregator, selecting one real engine offline.
engine = Wikipedia(timeout=1)
monkeypatch.setattr(DDGS, "_get_engines", lambda *_args: [engine])
requests: list[str] = []