原来 gpt-5.2-codex 是没有原生搜索的吗?

查看 5|回复 0
作者:longxinglink   
openclaw 以前用 Claude opus4.6 ( Claude Pro )和 gpt-5.4 ( GPT Free ),
一直没配搜索 API Key ,
今天发现 GPT Free 里 gpt-5.4 和 gpt-5.3-codex 突然用不了了,
就试了一下 gpt-5.2-codex ,结果它直接报错:

web_search 需要配置 Brave 的搜索 API Key (当前没配,所以搜索被拒绝)。

研究了一下,大概是这么回事:
  • gpt-5.4 这类模型有原生 browser tool ,openclaw 直接透传,不需要你自己提供 search key
  • gpt-5.2-codex 没有原生搜索,openclaw 降级到自己实现的 web_search function ,这条路就得你自己配 Brave (或者其他)的 API Key

    当然也可以用免费的 Tavily skills
    顺带一提,即使使用模型别名 gpt-5.4 = gpt-5.2-codex ,也会出现需要配置搜索 API Key
  • 您需要登录后才可以回帖 登录 | 立即注册

    返回顶部