Tools: add xAI-backed code_execution

This commit is contained in:
huntharo
2026-03-27 22:24:40 -04:00
committed by Peter Steinberger
parent 1c9684608a
commit 396bf20cc6
26 changed files with 1074 additions and 19 deletions

View File

@@ -10,6 +10,7 @@ describe("command secret target ids", () => {
const ids = getAgentRuntimeCommandSecretTargetIds();
expect(ids.has("agents.defaults.memorySearch.remote.apiKey")).toBe(true);
expect(ids.has("agents.list[].memorySearch.remote.apiKey")).toBe(true);
expect(ids.has("tools.code_execution.apiKey")).toBe(true);
expect(ids.has("tools.web.fetch.firecrawl.apiKey")).toBe(true);
expect(ids.has("tools.web.x_search.apiKey")).toBe(true);
});

View File

@@ -23,6 +23,7 @@ const COMMAND_SECRET_TARGETS = {
"agents.list[].memorySearch.remote.",
"skills.entries.",
"messages.tts.",
"tools.code_execution",
"tools.web.search",
"tools.web.fetch.firecrawl.",
"tools.web.x_search",