Skip to content

feat(web_search): add olostep provider#3505

Merged
Re-bin merged 1 commit into
mainfrom
cherry-pick-3405-to-main
Apr 28, 2026
Merged

feat(web_search): add olostep provider#3505
Re-bin merged 1 commit into
mainfrom
cherry-pick-3405-to-main

Conversation

@chengyongru
Copy link
Copy Markdown
Collaborator

Summary

Backport Olostep web search provider from nightly (#3405) to main.

Web Search

  • feat(web_search): add olostep provider — Adds Olostep (https://www.olostep.com) as an optional web_search backend using the official olostep Python SDK. The provider supports API key-based authentication with automatic fallback to DuckDuckGo when the key is missing. The olostep package is imported lazily inside the search method to avoid a hard runtime dependency. (feat(web_search): add olostep provider #3405)

@umerkay thanks for your contribution

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>
Copy link
Copy Markdown
Collaborator

@Re-bin Re-bin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants