codex: fix CI failure on PR #23230

This commit is contained in:
Dylan Hurd
2026-05-17 20:17:20 -07:00
parent e62d0a7b49
commit 4203429e33

View File

@@ -76,9 +76,8 @@ impl ToolExecutor<ToolCall> for ListInstallablePluginsTool {
fn spec(&self) -> Option<ToolSpec> {
Some(ToolSpec::Function(ResponsesApiTool {
name: LIST_INSTALLABLE_PLUGINS_TOOL_NAME.to_string(),
description: format!(
"Use this ONLY when all of the following are true:\n- The user explicitly asks to use a specific plugin or connector that is not already available in the current context or active `tools` list.\n- `tool_search` is not available, or it has already been called and did not find or make the requested tool callable.\nReturns a list of plugins eligible to be installed."
),
description: "Use this ONLY when all of the following are true:\n- The user explicitly asks to use a specific plugin or connector that is not already available in the current context or active `tools` list.\n- `tool_search` is not available, or it has already been called and did not find or make the requested tool callable.\nReturns a list of plugins eligible to be installed."
.to_string(),
strict: false,
defer_loading: None,
parameters: JsonSchema::object(BTreeMap::new(), Some(Vec::new()), Some(false.into())),