Files
deepseek-harness/packages/web/README.zh.md
T
Turtleandturtle1999 2f01ad549c fix(web)!: let web_fetch reach non-public destinations
The HTTP fetch provider resolved each hostname, rejected any non-public
answer, and pinned the connection. That refused every page behind
TUN-mode proxies with fake-IP DNS and did not confine a model that has
shell network access. Requests now go through the installed proxy
dispatcher and the system resolver with no address restriction.

HttpFetchResolver and the HttpFetchProvider resolver parameter are
removed; the upgrade guide covers the migration.

Co-authored-by: turtle1999 <[email protected]>
2026-10-20 12:44:14 +08:00

2.4 KiB
Raw Blame History

description, kind
description kind
web 访问能力家族的包映射:搜索与抓取服务、其提供方后端,以及消费它们的面向模型工具。 package-group

web/:web 访问能力家族

English | 中文

概述

web/ 包让模型通过 web_search 与 web_fetch 工具搜索公共 web 和抓取 HTTP(S) 页面。部署可为搜索选择 Exa、Perplexity 或 DeepSeek,并通过匿名 HTTP(S) 或 DeepSeek 抓取页面;可用性与资源上限取决于配置的提供方。该家族用于搜索和页面检索,不用于交互式浏览、内容提取或逐 URL 策略执行。提供方变化时,模型仍能获得一致的工具行为、取消与错误报告。

目录


包

六个包分别承担 web 角色;完整词汇与约定以子系统参考文档为准。

包 职责 ctx 键
web/ 搜索与抓取服务:通过可互换的后端搜索与抓取 URL,统一选择与错误策略 ctx.web
web-search-exa/ 通过 Exa 搜索 web 注册到 ctx.web
web-search-perplexity/ 通过 Perplexity 搜索 web 注册到 ctx.web
web-search-deepseek/ 通过 DeepSeek Messages 搜索网页 注册到 ctx.web
web-deepseek-api/ 通过 DeepSeek Search 与 Fetch API 搜索和抓取网页 注册到 ctx.web
web-fetch-http/ 匿名抓取 HTTP(S) 页面 注册到 ctx.web
tool-web/ 向模型公开 web_search 与 web_fetch 注册到 ctx.tools

相关文档

先从子系统参考文档了解共享词汇,再看单一提供方选择服务背后的设计决策。

  • web 子系统——搜索与抓取的请求和结果、提供方可用性、WebError 与抓取网络策略。
  • web 能力 seam 决策——搜索与抓取为何共用一项提供方选择服务。

开发备注

维护者的工作上下文——点击展开

无。