Remove Codex tool suggestion marketplace runtime

This commit is contained in:
Meta Vens 2026-05-13 13:54:21 +01:00
commit 161872bdc8
25 changed files with 33 additions and 1205 deletions

View file

@ -146,9 +146,9 @@ impl ToolsConfig {
features.enabled(Feature::DefaultModeRequestUserInput);
let include_search_tool =
model_info.supports_search_tool && features.enabled(Feature::ToolSearch);
let include_tool_suggest = features.enabled(Feature::ToolSuggest)
&& features.enabled(Feature::Apps)
&& features.enabled(Feature::Plugins);
// Epiphany keeps Codex for subscription auth/model routing, not for
// app/plugin marketplace discovery inside model turns.
let include_tool_suggest = false;
let include_original_image_detail = can_request_original_image_detail(model_info);
// API-key auth bypasses Codex backend entitlement/tool normalization, so
// callers must confirm ChatGPT auth before exposing the built-in tool.