feat(web_search): add olostep provider

Adds Olostep (https://www.olostep.com) as an optional web_search backend
using the official olostep Python SDK (client.answers.create()).

Changes:
- pyproject.toml: adds olostep>=0.1.0 optional dependency
- schema.py: adds olostep to provider comment in WebSearchConfig
- web.py: adds _search_olostep() with lazy import and provider branching
- docs/configuration.md: documents Olostep setup under web search config
- tests: unit tests for the new provider

Backward compatible: existing users see no behavior change unless they
opt into provider: "olostep". No hard dependency at runtime path.

Co-authored-by: umerkay <umerkk164@gmail.com>
This commit is contained in:
chengyongru
2026-04-28 19:09:38 +08:00
committed by Xubin Ren
co-authored by umerkay
parent 0053e68423
commit 28f9bbff31
5 changed files with 157 additions and 1 deletions
+3
View File
@@ -92,6 +92,9 @@ langsmith = [
pdf = [
"pymupdf>=1.25.0",
]
olostep = [
"olostep>=0.1.0",
]
dev = [
"pytest>=9.0.0,<10.0.0",
"pytest-asyncio>=1.3.0,<2.0.0",