Repository navigation
Add native Exa-backed web_search support - #29342
Merged
JustinTong0323 merged 4 commits intoJun 27, 2026
Merged
Conversation
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
…ation - Migrate web_search doc updates to docs_new/ and revert legacy docs/ (CI rejects edits under docs/). - Register EXA_API_KEY and SGLANG_EXA_* on the Envs class; read them via envs instead of os.getenv, per env-var conventions. - ExaSearchConfig: @DataClass -> msgspec.Struct (no-dataclasses rule). - ExaClient: reuse a single long-lived aiohttp.ClientSession rather than creating one per request; add close() and clean up in lifespan. - NativeToolServer: inherit DemoToolServer to drop duplicated methods; DemoToolServer gains aclose() and an enable_python flag. - Drop dead tool_config property; document the 0->1 cursor remap.
JustinTong0323
marked this pull request as ready for review
June 27, 2026 05:35
JustinTong0323
requested review from
CatherineSue,
JustinTong0323,
ispobock,
merrymercy,
slin1237,
sogalin,
wisclmy0611 and
zijiexia
as code owners
June 27, 2026 05:35
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Collaborator
|
/tag-and-rerun-ci |
Collaborator
|
/rerun-failed-ci |
3 similar comments
Collaborator
|
/rerun-failed-ci |
Collaborator
|
/rerun-failed-ci |
Collaborator
|
/rerun-failed-ci |
JustinTong0323
approved these changes
Jun 27, 2026
Chronostasys
pushed a commit
to MindLab-Research/sglang
that referenced
this pull request
Aug 24, 2026
Co-authored-by: Xinyuan Tong <115166877+JustinTong0323@users.noreply.github.com>
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 native
web_searchsupport for GPT-OSS/SGLang Responses workflows, backed by Exa whenEXA_API_KEYis configured on the SGLang server.This keeps the user-facing abstraction provider-neutral (
web_search) while using Exa as the default native backend for the existing hosted browser tool path. MCP tool servers remain available for advanced/custom tool configurations.Details
EXA_API_KEY.x-exa-integration: sglang.numResults=10type="auto"web_searchis requested without a browser backend.Tests
python -m py_compileon changed Python filesgit diff --checkNativeToolServer -> HarmonyBrowserTool -> ExaClientNativeToolServer -> HarmonyBrowserTool -> ExaClient -> ExaCI States
Latest PR Test (Base): ✅ Run #28281139432
Latest PR Test (Extra): ⏳ Run #28429641199