Add turbo search mode support#22
Merged
anshultomar746 merged 3 commits intoJul 10, 2026
Merged
Conversation
Adds `turbo` to the accepted Search API modes in ParallelWebSearchTool (the lowest-latency/lowest-cost tier, Parallel Search Turbo). Valid modes are now turbo, basic, and advanced (default advanced). - _VALID_MODES, mode Literal, field description, and class docstring updated - test_passthrough asserts turbo is accepted - CHANGELOG + version bump 0.4.0 -> 0.5.0 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Author
|
@anshultomar746 tagging you as the package owner for review. This adds |
anshultomar746
approved these changes
Jul 6, 2026
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
anshultomar746
approved these changes
Jul 8, 2026
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
parallel-m
approved these changes
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds support for Parallel Search Turbo mode to
ParallelWebSearchTool. Today the tool hard-rejectsmode="turbo"(_VALID_MODES = {"basic", "advanced"}), so LangChain users can't reach the new lowest-latency/lowest-cost Search tier.Changes
_VALID_MODESnow includesturbomodetype widened toLiteral["turbo", "basic", "advanced"]test_passthroughassertsturbois accepted (legacyfast/one-shot/agenticstill correctly rejected)CHANGELOG.md+ version bump0.4.0→0.5.0Why
Turbo launches July 13 (p50 ~200ms, $1/1K). The docs at
parallel-web/documentationreferenceturbofor LangChain and note it requireslangchain-parallelv0.5.0+ — this PR is that release. The value is forwarded straight to the Search API, which already acceptsturbo.Notes
🤖 Generated with Claude Code