The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
revert: back out #133714 (merged accidentally; still under review)
kshitijk4poor93cbf617c700
diff --git a/tests/agent/test_error_classifier_observed.py b/tests/agent/test_error_classifier_observed.pydeleted file mode 100644index 096a06e6dd5..00000000000--- a/tests/agent/test_error_classifier_observed.py+++ /dev/null@@ -1,93 +0,0 @@-"""Provider error bodies observed in real sessions, through the real SDK exception types.--Every row is a body Hermes actually received (relay traces + agent.log, scrubbed of request ids-and account data), raised as the exception class the OpenAI SDK / httpx raises for it, so a-classifier change is checked against what providers really send rather than hand-written-strings. Add a row whenever a new production body shows up in a bug report or trace.--The last two tests are bodies main still mishandles; each is a run-time xfail keyed on the current-wrong outcome, so it turns into a passing regression test the moment its fix lands:--* #49769 — OpenRouter's "can only afford N tokens" 402 is recoverable by lowering max_tokens,- but the main loop classifies it as terminal billing and abandons the provider.-* #85005 — "<model> is not a multimodal model" (vLLM/text-only endpoints) is not recognised as- an image rejection, so the image is never stripped and every retry fails identically.-"""--from __future__ import annotations--import httpx-import openai-import pytest--from agent.error_classifier import FailoverReason, classify_api_error-from agent.message_sanitization import _looks_like_image_content_rejection-from tests.e2e.core._pending_fixes import known_failure--_REQUEST = httpx.Request("POST", "https://example.invalid/v1/chat/completions")---def _status(cls: type, code: int, body: dict) -> Exception:- return cls(f"Error code: {code} - {body}", response=httpx.Response(code, request=_REQUEST, json=body), body=body)---AFFORD_402 = {"error": {"message": (- "This request requires more credits, or fewer max_tokens. You requested up to 128000 tokens, but can only "- "afford 81664. To increase, visit https://openrouter.ai/settings/credits and upgrade to a paid account"),- "code": 402}}-NOT_MULTIMODAL_400 = {"error": {"message": "glm-5.2-fp8 is not a multimodal model", "type": "BadRequestError",- "param": None, "code": 400}}--# (id, provider, exception, expected reason, retryable, should_fallback)-OBSERVED = [- ("connection-error", "custom", openai.APIConnectionError(request=_REQUEST), FailoverReason.timeout, True, False),- ("broken-pipe", "nous", httpx.ReadError("[Errno 32] Broken pipe", request=_REQUEST),- FailoverReason.timeout, True, False),- ("peer-closed-mid-body", "custom", httpx.RemoteProtocolError(- "peer closed connection without sending complete message body (incomplete chunked read)", request=_REQUEST),- FailoverReason.timeout, True, False),- ("request-timeout", "nous", openai.APITimeoutError(request=_REQUEST), FailoverReason.timeout, True, False),- ("nous-404-no-credits", "nous", _status(openai.NotFoundError, 404, {"status": 404, "message": (- "Model 'anthropic/claude-opus-5' requires available credits. Your account balance is too low to use paid "- "models — add credits at https://portal.nousresearch.com or pick a free model.")}),- FailoverReason.billing, False, True),- ("nous-401-invalid-key", "nous", _status(openai.AuthenticationError, 401, {"status": 401, "message": (- "Your API key is invalid, blocked or out of funds. Please go visit the portal to sort that out: "- "https://portal.nousresearch.com ")}),- FailoverReason.auth, False, True),- ("cloudflare-502", "nous", _status(openai.InternalServerError, 502, {- "type": "https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/"- "error-502/", "title": "Error 502: Bad gateway", "status": 502,- "detail": "The origin web server returned an invalid or incomplete response to Cloudflare.",- "error_code": 502, "error_name": "origin_bad_gateway", "error_category": "origin"}),- FailoverReason.server_error, True, False),- ("nous-500-unexpected", "nous", _status(openai.InternalServerError, 500, {"status": 500, "message": (- "Something unexpected happened while processing your request. Please try again in a moment, or contact us "- "if the issue persists.")}),- FailoverReason.server_error, True, False),- ("router-no-workers", "custom", _status(openai.InternalServerError, 500, {"error": {- "message": "No available workers (all circuits open or unhealthy)"}}),- FailoverReason.server_error, True, False),-]--[email protected]("provider,error,reason,retryable,fallback", [r[1:] for r in OBSERVED],- ids=[r[0] for r in OBSERVED])-def test_observed_body_routes_to_its_recovery(provider, error, reason, retryable, fallback):- result = classify_api_error(error, provider=provider, model="test-model")- assert (result.reason, result.retryable, result.should_fallback) == (reason, retryable, fallback)---def test_affordable_402_is_retried_on_the_same_provider():- result = classify_api_error(_status(openai.APIStatusError, 402, AFFORD_402), provider="openrouter",- model="anthropic/claude-opus-5.5")- outcome = f"reason={result.reason.name} retryable={result.retryable}"- with known_failure(r"reason=billing retryable=False", "#49769: affordable-tokens 402 treated as terminal billing"):- assert result.retryable and result.reason != FailoverReason.billing, (- f"402 'can only afford N' must be retried on this provider, not abandoned as billing: {outcome}")---def test_not_a_multimodal_model_is_an_image_rejection():- body = str(_status(openai.BadRequestError, 400, NOT_MULTIMODAL_400))- with known_failure(r"not recognised", "#85005: text-only endpoint image rejection not recognised"):- assert _looks_like_image_content_rejection(body), f"image rejection not recognised: {body[:120]}"diff --git a/tests/agent/test_prompt_cache_prefix_contract.py b/tests/agent/test_prompt_cache_prefix_contract.pydeleted file mode 100644index 0edb11dcd5e..00000000000--- a/tests/agent/test_prompt_cache_prefix_contract.py+++ /dev/null@@ -1,109 +0,0 @@-"""Prompt-cache prefix contract on caching routes, through a real AIAgent and a recording fake provider.--Provider prompt caches key on the request content up to each ``cache_control`` breakpoint, so every-request in a session must re-send the previous request's content unchanged and only append; a-request that rewrites earlier content re-bills the whole prefix. Marker placement is NOT part of the-key: the rolling breakpoint window moves every request, and a single text part with a marker is-the same content as the plain string it decorates (production telemetry: plain sessions reuse the-full previous prefix on 99.5% of consecutive calls). Splitting one string into several parts is a-content change.--The cells mirror what real sessions do on the two cache layouts Hermes emits (OpenAI-wire envelope-markers: OpenRouter / Nous Portal / custom relays; native Anthropic Messages content-block markers)-and were chosen from per-call cache telemetry (``agent.log`` ``cache=R/T write=W``): consecutive-calls in one session reuse the whole previous prefix except where these cells say otherwise.--Regression pinned here (#133715): a skill turn's first user message must go out as the same-[scaffold, tail] parts on every request, marked or not. It used to be split only while it sat inside-the last-N marker window (#81867), then re-sent as a plain string once the tool round pushed it out,-so request 3 re-wrote the whole skill body — the ~20k-token re-write seen on call 2 of skill-invoked-sessions.-"""--from __future__ import annotations--import os-from pathlib import Path-from typing import Any--import pytest--from tests.e2e.core.history._helpers import NO_BACKGROUND_REVIEW, OFFLINE_CONFIG, canon, prefix_breaks-from tests.fakes.fake_llm_provider import FakeLLMServer, Text, ToolCall, write_hermes_home--SKILL_BODY = "Follow these steps carefully. " * 300---def _cache_content(value: Any) -> Any:- """What the cache keys on: markers dropped, a lone text part folded back to its string."""- if isinstance(value, list):- value = [_cache_content(v) for v in value]- if len(value) == 1 and isinstance(value[0], dict) and set(value[0]) == {"type", "text"}:- return value[0]["text"]- return value- if isinstance(value, dict):- return {k: _cache_content(v) for k, v in value.items() if k != "cache_control"}- return value---def _prefix_breaks(requests: list[dict[str, Any]]) -> list[tuple[int, str]]:- """``prefix_breaks`` over what the cache keys on, after asserting markers reached the wire."""- assert any("cache_control" in canon(r) for r in requests), "caching route sent no cache_control markers"- return prefix_breaks([_cache_content(r) for r in requests])---def caching_route():- """A custom OpenAI-wire relay declared ``prompt_caching: true`` -> envelope cache layout."""- home = Path(os.environ["HERMES_HOME"])- skill = home / "skills" / "demo"- skill.mkdir(parents=True)- (skill / "SKILL.md").write_text(f"---\nname: demo\ndescription: Demo skill.\n---\n\n# Demo\n\n{SKILL_BODY}\n")- srv = FakeLLMServer([]).__enter__()- route = (f"custom_providers:\n - name: cacherelay\n base_url: {srv.base_url}\n api_key: sk-fake-e2e\n"- " models:\n fake-model:\n prompt_caching: true\n")- write_hermes_home(home, srv.base_url, extra_config=OFFLINE_CONFIG + NO_BACKGROUND_REVIEW + route)- yield srv, home- srv.__exit__(None, None, None)---def _agent(srv, home):- from hermes_state import SessionDB- from run_agent import AIAgent-- agent = AIAgent(provider="custom:cacherelay", base_url=srv.base_url, api_key="sk-fake-e2e", model="fake-model",- session_db=SessionDB(db_path=home / "state.db"), session_id="cache-contract", quiet_mode=True,- platform="cli")- assert (agent._use_prompt_caching, agent._use_native_cache_layout) == (True, False)- return agent---def test_tool_rounds_and_follow_up_turns_only_append(caching_route):- srv, home = caching_route- srv.push(ToolCall("terminal", {"command": "echo one"}), ToolCall("terminal", {"command": "echo two"}),- Text("first done"), ToolCall("terminal", {"command": "echo three"}), Text("second done"))- agent = _agent(srv, home)- history: list[dict[str, Any]] = []- for text in ("run two commands", "and one more"):- history = agent.run_conversation(text, conversation_history=history, task_id="t")["messages"]- agent.close()- main = srv.main_requests()- assert len(main) == 5- assert not _prefix_breaks(main), _prefix_breaks(main)---def test_skill_turn_keeps_its_scaffold_bytes_across_the_tool_loop(caching_route):- from agent.skill_commands import build_skill_invocation_message, scan_skill_commands-- srv, home = caching_route- srv.push(ToolCall("terminal", {"command": "echo one"}), ToolCall("terminal", {"command": "echo two"}),- Text("done"))- scan_skill_commands()- message = build_skill_invocation_message("/demo", "do the thing", task_id="t")- assert message and SKILL_BODY.strip() in message- agent = _agent(srv, home)- agent.run_conversation(message, conversation_history=[], task_id="t")- agent.close()- main = srv.main_requests()- assert len(main) == 3- assert not _prefix_breaks(main), f"skill scaffold re-sent with different bytes: {_prefix_breaks(main)}"diff --git a/tests/agent/transports/test_provider_wire_snapshot.py b/tests/agent/transports/test_provider_wire_snapshot.pydeleted file mode 100644index 3f71c244a27..00000000000--- a/tests/agent/transports/test_provider_wire_snapshot.py+++ /dev/null@@ -1,197 +0,0 @@-"""Golden wire snapshot: the exact request every registered provider is sent.--Each cell builds one request through the production assembly path-(``agent.turn_api_request.build_api_request``: cache decoration, sanitization, transport-kwargs, Codex preflight, request middleware) for one provider x three reasoning settings,-and compares it against ``tests/fixtures/provider_wire_snapshot.json``.--A change to shared request code that alters what ANY provider receives fails here, naming-the provider and the first diverging key, before a user on that provider finds out. A new-provider fails ``test_snapshot_covers_every_provider`` until its wire is reviewed and recorded.--Intentional wire changes: regenerate and review the JSON diff in the same PR::-- HERMES_UPDATE_WIRE_SNAPSHOT=1 .venv/bin/python -m pytest tests/agent/transports/test_provider_wire_snapshot.py-"""--from __future__ import annotations--import json-import os-import re-import socket-from pathlib import Path-from typing import Any-from unittest.mock import patch--import pytest--SNAPSHOT = Path(__file__).resolve().parents[2] / "fixtures" / "provider_wire_snapshot.json"-UPDATE = os.environ.get("HERMES_UPDATE_WIRE_SNAPSHOT") == "1"--REASONING = {- "unset": None,- "high": {"enabled": True, "effort": "high"},- "off": {"enabled": False},-}--TOOLS = [{"type": "function", "function": {- "name": "terminal", "description": "Run a shell command.",- "parameters": {"type": "object", "properties": {"command": {"type": "string"}}, "required": ["command"]}}}]--# One completed tool round, then a fresh user turn: role mapping, tool-call/result pairing-# and every cache breakpoint slot.-MESSAGES = [- {"role": "system", "content": "You are a test agent."},- {"role": "user", "content": "list files"},- {"role": "assistant", "content": "", "tool_calls": [{"id": "call_1", "type": "function", "function": {- "name": "terminal", "arguments": "{\"command\": \"ls\"}"}}]},- {"role": "tool", "tool_call_id": "call_1", "content": "a.txt\nb.txt"},- {"role": "user", "content": "thanks, now summarize"},-]--# A representative model per provider (else the profile's first curated model).-MODELS = {- "nous": "anthropic/claude-opus-5.5", "openai-codex": "gpt-5.5", "openai-api": "gpt-5.5",- "xai-oauth": "grok-4", "qwen-oauth": "qwen3-coder-plus", "lmstudio": "qwen/qwen3-8b",- "copilot": "gpt-5.5", "gemini": "gemini-3-pro", "kimi-coding": "kimi-k3", "kimi-coding-cn": "kimi-k2.5",- "stepfun": "step-3", "arcee": "trinity-large", "actual": "actual-1", "minimax": "MiniMax-M3",- "minimax-oauth": "MiniMax-M3", "minimax-cn": "MiniMax-M3", "anthropic": "claude-opus-5.5",- "alibaba": "qwen3.5-plus", "alibaba-coding-plan": "qwen3-coder-plus", "xai": "grok-4",- "ai-gateway": "anthropic/claude-opus-5.5", "opencode-zen": "claude-opus-5.5", "opencode-go": "kimi-k2.5",- "kilocode": "anthropic/claude-opus-5.5", "xiaomi": "mimo-v2-pro", "tencent-tokenhub": "hunyuan-t1",- "tencent-tokenplan": "hunyuan-t1", "ollama-cloud": "gpt-oss:120b",- "bedrock": "us.anthropic.claude-opus-5-5-v1:0", "vertex": "gemini-3-pro", "azure-foundry": "gpt-5.5",- "alibaba-cn": "qwen3.5-plus", "alibaba-token-plan": "qwen3.5-plus", "alibaba-token-plan-cn": "qwen3.5-plus",- "alibaba-coding-plan-cn": "qwen3-coder-plus", "deepinfra": "deepseek-ai/DeepSeek-V4",- "router": "openai/gpt-5.5", "openrouter": "anthropic/claude-opus-5.5", "custom": "my-local-model",-}-# Providers with a user-configured endpoint, or outside the auth registry.-BASE_URLS = {- "vertex": "https://aiplatform.googleapis.com/v1/projects/p/locations/global/endpoints/openapi",- "azure-foundry": "https://example.openai.azure.com/openai/v1",- "openrouter": "https://openrouter.ai/api/v1",- "custom": "http://127.0.0.1:8080/v1",-}--# Values that legitimately differ per run or per release; everything else compares exactly.-_VOLATILE = (- (re.compile(r"client=hermes-client-v[^\"]*"), "client=hermes-client-v<VERSION>"),- (re.compile(r'"promptId": "[0-9a-f-]{36}"'), '"promptId": "<UUID>"'),-)---def _cells() -> list[tuple[str, str, str]]:- from hermes_cli.auth import PROVIDER_REGISTRY- from providers import get_provider_profile-- seen: set[str] = set()- cells = []- for pid, cfg in PROVIDER_REGISTRY.items():- profile = get_provider_profile(pid)- name = profile.name if profile else pid- if name in seen or cfg.auth_type == "external_process":- continue- seen.add(name)- fallback = profile.fallback_models[0] if profile and profile.fallback_models else "test-model"- cells.append((name, MODELS.get(name, fallback), BASE_URLS.get(name) or cfg.inference_base_url))- for name in ("openrouter", "custom"):- if name not in seen:- cells.append((name, MODELS[name], BASE_URLS[name]))- return cells---def offline(monkeypatch):- """No network and no ambient AWS profile. Capability probes (Ollama ``/api/show``, LM Studio,- catalogs) must take their offline answer, or the recorded wire depends on a live server.- Name resolution is blocked too: some clients connect through paths ``socket.connect`` misses."""- real_connect = socket.socket.connect-- def guarded(sock, address, *args, **kwargs):- if sock.family in (socket.AF_INET, socket.AF_INET6):- raise OSError(f"network disabled in wire snapshot: {address}")- return real_connect(sock, address, *args, **kwargs)-- def no_dns(*_args, **_kwargs):- raise socket.gaierror("DNS disabled in wire snapshot")-- monkeypatch.setattr(socket.socket, "connect", guarded)- monkeypatch.setattr(socket, "getaddrinfo", no_dns)- monkeypatch.setenv("AWS_REGION", "us-east-1")- monkeypatch.setenv("AWS_CONFIG_FILE", os.devnull)- monkeypatch.setenv("AWS_SHARED_CREDENTIALS_FILE", os.devnull)---def _wire(provider: str, model: str, base_url: str) -> dict[str, Any]:- from agent.turn_api_request import build_api_request- from agent.turn_context import _PER_TURN_RESET_STATE- from run_agent import AIAgent-- with patch("model_tools.get_tool_definitions", return_value=TOOLS), \- patch("model_tools.check_toolset_requirements", return_value={}), \- patch("agent.process_bootstrap.OpenAI"):- agent = AIAgent(provider=provider, model=model, base_url=base_url, api_key="sk-test-0000000000",- quiet_mode=True, skip_context_files=True, skip_memory=True, session_id="wire-snapshot")- for name, value in _PER_TURN_RESET_STATE:- setattr(agent, name, value)- out: dict[str, Any] = {"api_mode": agent.api_mode}- for label, reasoning in REASONING.items():- agent.reasoning_config = reasoning- messages = json.loads(json.dumps(MESSAGES))- built = build_api_request(- agent, api_messages=messages, _moa_prepared_request=None, tools_for_api=agent.tools,- system_message=messages[0]["content"], messages=messages,- original_user_message=messages[-1]["content"], approx_tokens=0, total_chars=0, retry_count=0,- api_call_count=1, api_request_id="req-1", api_start_time=0.0, effective_task_id="task-1",- turn_id="turn-1",- )- text = json.dumps(built.api_kwargs, sort_keys=True, default=repr)- for pattern, replacement in _VOLATILE:- text = pattern.sub(replacement, text)- out[label] = json.loads(text)- return out---def _first_divergence(expected: Any, actual: Any, path: str = "") -> str:- if isinstance(expected, dict) and isinstance(actual, dict):- for key in sorted(set(expected) | set(actual)):- if key not in actual:- return f"{path}.{key}: missing (expected {json.dumps(expected[key])[:200]})"- if key not in expected:- return f"{path}.{key}: unexpected {json.dumps(actual[key])[:200]}"- if expected[key] != actual[key]:- return _first_divergence(expected[key], actual[key], f"{path}.{key}")- if isinstance(expected, list) and isinstance(actual, list) and len(expected) == len(actual):- for i, (e, a) in enumerate(zip(expected, actual)):- if e != a:- return _first_divergence(e, a, f"{path}[{i}]")- return f"{path}: expected {json.dumps(expected)[:200]} got {json.dumps(actual)[:200]}"---def _load() -> dict[str, Any]:- return json.loads(SNAPSHOT.read_text(encoding="utf-8")) if SNAPSHOT.exists() else {}---CELLS = _cells()--[email protected]("provider,model,base_url", CELLS, ids=[c[0] for c in CELLS])-def test_provider_wire_matches_snapshot(offline, provider, model, base_url):- actual = _wire(provider, model, base_url)- if UPDATE:- golden = _load()- golden[provider] = {"model": model, "base_url": base_url, **actual}- SNAPSHOT.write_text(json.dumps(dict(sorted(golden.items())), indent=1, sort_keys=True) + "\n",- encoding="utf-8")- return- expected = _load().get(provider)- assert expected is not None, f"{provider} has no recorded wire; regenerate the snapshot (module docstring)"- expected = {k: v for k, v in expected.items() if k not in ("model", "base_url")}- assert actual == expected, f"{provider} wire changed — {_first_divergence(expected, actual)}"---def test_snapshot_covers_every_provider():- recorded, current = set(_load()), {c[0] for c in CELLS}- assert current <= recorded, f"providers without a recorded wire: {sorted(current - recorded)}"- assert recorded <= current, f"snapshot entries for providers that no longer exist: {sorted(recorded - current)}"diff --git a/tests/fixtures/provider_wire_snapshot.json b/tests/fixtures/provider_wire_snapshot.jsondeleted file mode 100644index e313644a4f8..00000000000--- a/tests/fixtures/provider_wire_snapshot.json+++ /dev/null@@ -1,9985 +0,0 @@-{- "actual": {- "api_mode": "chat_completions",- "base_url": "https://api.actual.inc/v1",- "high": {- "extra_body": {- "thinking": {- "type": "enabled"- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "actual-1",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "actual-1",- "off": {- "extra_body": {- "thinking": {- "type": "disabled"- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "actual-1",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "actual-1",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "ai-gateway": {- "api_mode": "chat_completions",- "base_url": "https://ai-gateway.vercel.sh/v1",- "high": {- "extra_body": {- "reasoning": {- "effort": "high",- "enabled": true- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "anthropic/claude-opus-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "anthropic/claude-opus-5.5",- "off": {- "extra_body": {- "reasoning": {- "enabled": false- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "anthropic/claude-opus-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "extra_body": {- "reasoning": {- "effort": "medium",- "enabled": true- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "anthropic/claude-opus-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "alibaba": {- "api_mode": "chat_completions",- "base_url": "https://dashscope-intl.aliyuncs.com/compatible-mode/v1",- "high": {- "messages": [- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "You are a test agent.",- "type": "text"- }- ],- "role": "system"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "list files",- "type": "text"- }- ],- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "a.txt\nb.txt",- "type": "text"- }- ],- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "qwen3.5-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "qwen3.5-plus",- "off": {- "messages": [- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "You are a test agent.",- "type": "text"- }- ],- "role": "system"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "list files",- "type": "text"- }- ],- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "a.txt\nb.txt",- "type": "text"- }- ],- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "qwen3.5-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "You are a test agent.",- "type": "text"- }- ],- "role": "system"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "list files",- "type": "text"- }- ],- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "a.txt\nb.txt",- "type": "text"- }- ],- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "qwen3.5-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "alibaba-cn": {- "api_mode": "chat_completions",- "base_url": "https://dashscope.aliyuncs.com/compatible-mode/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3.5-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "qwen3.5-plus",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3.5-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3.5-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "alibaba-coding-plan": {- "api_mode": "chat_completions",- "base_url": "https://coding-intl.dashscope.aliyuncs.com/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3-coder-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "qwen3-coder-plus",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3-coder-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3-coder-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "alibaba-coding-plan-cn": {- "api_mode": "chat_completions",- "base_url": "https://coding.dashscope.aliyuncs.com/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3-coder-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "qwen3-coder-plus",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3-coder-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3-coder-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "alibaba-token-plan": {- "api_mode": "chat_completions",- "base_url": "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3.5-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "qwen3.5-plus",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3.5-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3.5-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "alibaba-token-plan-cn": {- "api_mode": "chat_completions",- "base_url": "https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3.5-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "qwen3.5-plus",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3.5-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen3.5-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "anthropic": {- "api_mode": "anthropic_messages",- "base_url": "https://api.anthropic.com",- "high": {- "max_tokens": 128000,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "cache_control": {- "type": "ephemeral"- },- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "claude-opus-5-5",- "output_config": {- "effort": "high"- },- "system": "You are a test agent.",- "thinking": {- "display": "summarized",- "type": "adaptive"- },- "tool_choice": {- "type": "auto"- },- "tools": [- {- "cache_control": {- "type": "ephemeral"- },- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- },- "model": "claude-opus-5.5",- "off": {- "max_tokens": 128000,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "cache_control": {- "type": "ephemeral"- },- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "claude-opus-5-5",- "system": "You are a test agent.",- "tool_choice": {- "type": "auto"- },- "tools": [- {- "cache_control": {- "type": "ephemeral"- },- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- },- "unset": {- "max_tokens": 128000,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "cache_control": {- "type": "ephemeral"- },- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "claude-opus-5-5",- "system": "You are a test agent.",- "tool_choice": {- "type": "auto"- },- "tools": [- {- "cache_control": {- "type": "ephemeral"- },- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- }- },- "arcee": {- "api_mode": "chat_completions",- "base_url": "https://api.arcee.ai/api/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "trinity-large",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "trinity-large",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "trinity-large",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "trinity-large",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "azure-foundry": {- "api_mode": "chat_completions",- "base_url": "https://example.openai.azure.com/openai/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "developer"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gpt-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "gpt-5.5",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "developer"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gpt-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "developer"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gpt-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "bedrock": {- "api_mode": "bedrock_converse",- "base_url": "https://bedrock-runtime.us-east-1.amazonaws.com",- "high": {- "__bedrock_converse__": true,- "__bedrock_region__": "us-east-1",- "messages": [- {- "content": [- {- "text": "list files"- }- ],- "role": "user"- },- {- "content": [- {- "toolUse": {- "input": {- "command": "ls"- },- "name": "terminal",- "toolUseId": "call_1"- }- },- {- "cachePoint": {- "type": "default"- }- }- ],- "role": "assistant"- },- {- "content": [- {- "toolResult": {- "content": [- {- "text": "a.txt\nb.txt"- }- ],- "toolUseId": "call_1"- }- },- {- "text": "thanks, now summarize"- }- ],- "role": "user"- }- ],- "modelId": "us.anthropic.claude-opus-5-5-v1:0",- "system": [- {- "text": "You are a test agent."- },- {- "cachePoint": {- "type": "default"- }- }- ],- "toolConfig": {- "tools": [- {- "toolSpec": {- "description": "Run a shell command.",- "inputSchema": {- "json": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "name": "terminal"- }- },- {- "cachePoint": {- "type": "default"- }- }- ]- }- },- "model": "us.anthropic.claude-opus-5-5-v1:0",- "off": {- "__bedrock_converse__": true,- "__bedrock_region__": "us-east-1",- "messages": [- {- "content": [- {- "text": "list files"- }- ],- "role": "user"- },- {- "content": [- {- "toolUse": {- "input": {- "command": "ls"- },- "name": "terminal",- "toolUseId": "call_1"- }- },- {- "cachePoint": {- "type": "default"- }- }- ],- "role": "assistant"- },- {- "content": [- {- "toolResult": {- "content": [- {- "text": "a.txt\nb.txt"- }- ],- "toolUseId": "call_1"- }- },- {- "text": "thanks, now summarize"- }- ],- "role": "user"- }- ],- "modelId": "us.anthropic.claude-opus-5-5-v1:0",- "system": [- {- "text": "You are a test agent."- },- {- "cachePoint": {- "type": "default"- }- }- ],- "toolConfig": {- "tools": [- {- "toolSpec": {- "description": "Run a shell command.",- "inputSchema": {- "json": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "name": "terminal"- }- },- {- "cachePoint": {- "type": "default"- }- }- ]- }- },- "unset": {- "__bedrock_converse__": true,- "__bedrock_region__": "us-east-1",- "messages": [- {- "content": [- {- "text": "list files"- }- ],- "role": "user"- },- {- "content": [- {- "toolUse": {- "input": {- "command": "ls"- },- "name": "terminal",- "toolUseId": "call_1"- }- },- {- "cachePoint": {- "type": "default"- }- }- ],- "role": "assistant"- },- {- "content": [- {- "toolResult": {- "content": [- {- "text": "a.txt\nb.txt"- }- ],- "toolUseId": "call_1"- }- },- {- "text": "thanks, now summarize"- }- ],- "role": "user"- }- ],- "modelId": "us.anthropic.claude-opus-5-5-v1:0",- "system": [- {- "text": "You are a test agent."- },- {- "cachePoint": {- "type": "default"- }- }- ],- "toolConfig": {- "tools": [- {- "toolSpec": {- "description": "Run a shell command.",- "inputSchema": {- "json": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "name": "terminal"- }- },- {- "cachePoint": {- "type": "default"- }- }- ]- }- }- },- "commandcode": {- "api_mode": "chat_completions",- "base_url": "https://api.commandcode.ai/provider/v1",- "high": {- "extra_body": {- "thinking": {- "type": "enabled"- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "deepseek/deepseek-v4-pro",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "deepseek/deepseek-v4-pro",- "off": {- "extra_body": {- "thinking": {- "type": "disabled"- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "deepseek/deepseek-v4-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "extra_body": {- "thinking": {- "type": "enabled"- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "deepseek/deepseek-v4-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "commandcode-anthropic": {- "api_mode": "chat_completions",- "base_url": "https://api.commandcode.ai/provider/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "claude-sonnet-4-6",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "claude-sonnet-4-6",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "claude-sonnet-4-6",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "claude-sonnet-4-6",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "copilot": {- "api_mode": "codex_responses",- "base_url": "https://api.githubcopilot.com",- "high": {- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "gpt-5.5",- "parallel_tool_calls": true,- "reasoning": {- "effort": "high"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "model": "gpt-5.5",- "off": {- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "gpt-5.5",- "parallel_tool_calls": true,- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "unset": {- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "gpt-5.5",- "parallel_tool_calls": true,- "reasoning": {- "effort": "medium"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- }- },- "custom": {- "api_mode": "chat_completions",- "base_url": "http://127.0.0.1:8080/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "my-local-model",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "my-local-model",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "my-local-model",- "reasoning_effort": "none",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "my-local-model",- "reasoning_effort": "medium",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "deepinfra": {- "api_mode": "chat_completions",- "base_url": "https://api.deepinfra.com/v1/openai",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "deepseek-ai/DeepSeek-V4",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "deepseek-ai/DeepSeek-V4",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "deepseek-ai/DeepSeek-V4",- "reasoning_effort": "none",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "deepseek-ai/DeepSeek-V4",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "deepseek": {- "api_mode": "chat_completions",- "base_url": "https://api.deepseek.com/v1",- "high": {- "extra_body": {- "thinking": {- "type": "enabled"- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "deepseek-v4-pro",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "deepseek-v4-pro",- "off": {- "extra_body": {- "thinking": {- "type": "disabled"- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "deepseek-v4-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "extra_body": {- "thinking": {- "type": "enabled"- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "deepseek-v4-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "fireworks": {- "api_mode": "chat_completions",- "base_url": "https://api.fireworks.ai/inference/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "accounts/fireworks/models/kimi-k2p6",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "accounts/fireworks/models/kimi-k2p6",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "accounts/fireworks/models/kimi-k2p6",- "reasoning_effort": "none",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "accounts/fireworks/models/kimi-k2p6",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "gemini": {- "api_mode": "chat_completions",- "base_url": "https://generativelanguage.googleapis.com/v1beta",- "high": {- "extra_body": {- "thinking_config": {- "includeThoughts": true,- "thinkingLevel": "high"- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gemini-3-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "gemini-3-pro",- "off": {- "extra_body": {- "thinking_config": {- "includeThoughts": false,- "thinkingBudget": 0- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gemini-3-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gemini-3-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "gmi": {- "api_mode": "chat_completions",- "base_url": "https://api.gmi-serving.com/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "zai-org/GLM-5.1-FP8",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "zai-org/GLM-5.1-FP8",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "zai-org/GLM-5.1-FP8",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "zai-org/GLM-5.1-FP8",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "huggingface": {- "api_mode": "chat_completions",- "base_url": "https://router.huggingface.co/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "Qwen/Qwen3.5-72B-Instruct",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "Qwen/Qwen3.5-72B-Instruct",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "Qwen/Qwen3.5-72B-Instruct",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "Qwen/Qwen3.5-72B-Instruct",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "kilocode": {- "api_mode": "chat_completions",- "base_url": "https://api.kilo.ai/api/gateway",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "anthropic/claude-opus-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "anthropic/claude-opus-5.5",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "anthropic/claude-opus-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "anthropic/claude-opus-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "kimi-coding": {- "api_mode": "chat_completions",- "base_url": "https://api.moonshot.ai/v1",- "high": {- "max_tokens": 32000,- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "kimi-k3",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "kimi-k3",- "off": {- "extra_body": {- "thinking": {- "type": "disabled"- }- },- "max_tokens": 32000,- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "kimi-k3",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "extra_body": {- "thinking": {- "type": "enabled"- }- },- "max_tokens": 32000,- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "kimi-k3",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "kimi-coding-cn": {- "api_mode": "chat_completions",- "base_url": "https://api.moonshot.cn/v1",- "high": {- "max_tokens": 32000,- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "kimi-k2.5",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "kimi-k2.5",- "off": {- "extra_body": {- "thinking": {- "type": "disabled"- }- },- "max_tokens": 32000,- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "kimi-k2.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "extra_body": {- "thinking": {- "type": "enabled"- }- },- "max_tokens": 32000,- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "kimi-k2.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "lmstudio": {- "api_mode": "chat_completions",- "base_url": "http://127.0.0.1:1234/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen/qwen3-8b",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "qwen/qwen3-8b",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen/qwen3-8b",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "qwen/qwen3-8b",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "meta-ai": {- "api_mode": "codex_responses",- "base_url": "https://api.meta.ai/v1",- "high": {- "include": [- "reasoning.encrypted_content"- ],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "muse-spark-1.2",- "parallel_tool_calls": true,- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e",- "prompt_cache_retention": "24h",- "reasoning": {- "effort": "high",- "summary": "auto"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "model": "muse-spark-1.2",- "off": {- "include": [],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "muse-spark-1.2",- "parallel_tool_calls": true,- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e",- "prompt_cache_retention": "24h",- "reasoning": {- "effort": "none"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "unset": {- "include": [- "reasoning.encrypted_content"- ],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "muse-spark-1.2",- "parallel_tool_calls": true,- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e",- "prompt_cache_retention": "24h",- "reasoning": {- "effort": "medium",- "summary": "auto"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- }- },- "minimax": {- "api_mode": "anthropic_messages",- "base_url": "https://api.minimax.io/anthropic",- "high": {- "max_tokens": 131072,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "MiniMax-M3",- "system": "You are a test agent.",- "temperature": 1,- "thinking": {- "budget_tokens": 16000,- "type": "enabled"- },- "tool_choice": {- "type": "auto"- },- "tools": [- {- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- },- "model": "MiniMax-M3",- "off": {- "max_tokens": 131072,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "MiniMax-M3",- "system": "You are a test agent.",- "tool_choice": {- "type": "auto"- },- "tools": [- {- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- },- "unset": {- "max_tokens": 131072,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "MiniMax-M3",- "system": "You are a test agent.",- "tool_choice": {- "type": "auto"- },- "tools": [- {- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- }- },- "minimax-cn": {- "api_mode": "anthropic_messages",- "base_url": "https://api.minimaxi.com/anthropic",- "high": {- "max_tokens": 131072,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "MiniMax-M3",- "system": "You are a test agent.",- "temperature": 1,- "thinking": {- "budget_tokens": 16000,- "type": "enabled"- },- "tool_choice": {- "type": "auto"- },- "tools": [- {- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- },- "model": "MiniMax-M3",- "off": {- "max_tokens": 131072,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "MiniMax-M3",- "system": "You are a test agent.",- "tool_choice": {- "type": "auto"- },- "tools": [- {- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- },- "unset": {- "max_tokens": 131072,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "MiniMax-M3",- "system": "You are a test agent.",- "tool_choice": {- "type": "auto"- },- "tools": [- {- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- }- },- "minimax-oauth": {- "api_mode": "anthropic_messages",- "base_url": "https://api.minimax.io/anthropic",- "high": {- "max_tokens": 131072,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "MiniMax-M3",- "system": "You are a test agent.",- "temperature": 1,- "thinking": {- "budget_tokens": 16000,- "type": "enabled"- },- "tool_choice": {- "type": "auto"- },- "tools": [- {- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- },- "model": "MiniMax-M3",- "off": {- "max_tokens": 131072,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "MiniMax-M3",- "system": "You are a test agent.",- "tool_choice": {- "type": "auto"- },- "tools": [- {- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- },- "unset": {- "max_tokens": 131072,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "MiniMax-M3",- "system": "You are a test agent.",- "tool_choice": {- "type": "auto"- },- "tools": [- {- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- }- },- "nebius-token-factory": {- "api_mode": "chat_completions",- "base_url": "https://api.tokenfactory.nebius.com/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "Qwen/Qwen3.5-397B-A17B-fast",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "Qwen/Qwen3.5-397B-A17B-fast",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "Qwen/Qwen3.5-397B-A17B-fast",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "Qwen/Qwen3.5-397B-A17B-fast",- "reasoning_effort": "medium",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "nous": {- "api_mode": "chat_completions",- "base_url": "https://inference-api.nousresearch.com/v1",- "high": {- "extra_body": {- "reasoning": {- "effort": "high",- "enabled": true- },- "session_id": "wire-snapshot",- "tags": [- "product=hermes-agent",- "client=hermes-client-v<VERSION>",- "conversation=wire-snapshot"- ]- },- "messages": [- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "You are a test agent.",- "type": "text"- }- ],- "role": "system"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "list files",- "type": "text"- }- ],- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "a.txt\nb.txt",- "type": "text"- }- ],- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "anthropic/claude-opus-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "anthropic/claude-opus-5.5",- "off": {- "extra_body": {- "session_id": "wire-snapshot",- "tags": [- "product=hermes-agent",- "client=hermes-client-v<VERSION>",- "conversation=wire-snapshot"- ]- },- "messages": [- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "You are a test agent.",- "type": "text"- }- ],- "role": "system"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "list files",- "type": "text"- }- ],- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "a.txt\nb.txt",- "type": "text"- }- ],- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "anthropic/claude-opus-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "extra_body": {- "reasoning": {- "effort": "medium",- "enabled": true- },- "session_id": "wire-snapshot",- "tags": [- "product=hermes-agent",- "client=hermes-client-v<VERSION>",- "conversation=wire-snapshot"- ]- },- "messages": [- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "You are a test agent.",- "type": "text"- }- ],- "role": "system"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "list files",- "type": "text"- }- ],- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "a.txt\nb.txt",- "type": "text"- }- ],- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "anthropic/claude-opus-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "novita": {- "api_mode": "chat_completions",- "base_url": "https://api.novita.ai/openai/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "moonshotai/kimi-k2.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "moonshotai/kimi-k2.5",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "moonshotai/kimi-k2.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "moonshotai/kimi-k2.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "nvidia": {- "api_mode": "chat_completions",- "base_url": "https://integrate.api.nvidia.com/v1",- "high": {- "max_tokens": 16384,- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "nvidia/llama-3.1-nemotron-70b-instruct",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "nvidia/llama-3.1-nemotron-70b-instruct",- "off": {- "max_tokens": 16384,- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "nvidia/llama-3.1-nemotron-70b-instruct",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "max_tokens": 16384,- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "nvidia/llama-3.1-nemotron-70b-instruct",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "ollama-cloud": {- "api_mode": "chat_completions",- "base_url": "https://ollama.com/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gpt-oss:120b",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "gpt-oss:120b",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gpt-oss:120b",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gpt-oss:120b",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "openai-api": {- "api_mode": "codex_responses",- "base_url": "https://api.openai.com/v1",- "high": {- "include": [- "reasoning.encrypted_content"- ],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "gpt-5.5",- "parallel_tool_calls": true,- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e",- "reasoning": {- "effort": "high",- "summary": "auto"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "model": "gpt-5.5",- "off": {- "include": [],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "gpt-5.5",- "parallel_tool_calls": true,- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e",- "reasoning": {- "effort": "none"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "unset": {- "include": [- "reasoning.encrypted_content"- ],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "gpt-5.5",- "parallel_tool_calls": true,- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e",- "reasoning": {- "effort": "medium",- "summary": "auto"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- }- },- "openai-codex": {- "api_mode": "codex_responses",- "base_url": "https://chatgpt.com/backend-api/codex",- "high": {- "extra_headers": {- "session_id": "wire-snapshot",- "x-client-request-id": "pck_f6d11aab44ec88459ba6fe2e"- },- "include": [- "reasoning.encrypted_content"- ],- "input": [- {- "content": [- {- "text": "list files",- "type": "input_text"- }- ],- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": [- {- "text": "thanks, now summarize",- "type": "input_text"- }- ],- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "gpt-5.5",- "parallel_tool_calls": true,- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e",- "reasoning": {- "effort": "high",- "summary": "auto"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "model": "gpt-5.5",- "off": {- "extra_headers": {- "session_id": "wire-snapshot",- "x-client-request-id": "pck_f6d11aab44ec88459ba6fe2e"- },- "include": [],- "input": [- {- "content": [- {- "text": "list files",- "type": "input_text"- }- ],- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": [- {- "text": "thanks, now summarize",- "type": "input_text"- }- ],- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "gpt-5.5",- "parallel_tool_calls": true,- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e",- "reasoning": {- "effort": "none"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "unset": {- "extra_headers": {- "session_id": "wire-snapshot",- "x-client-request-id": "pck_f6d11aab44ec88459ba6fe2e"- },- "include": [- "reasoning.encrypted_content"- ],- "input": [- {- "content": [- {- "text": "list files",- "type": "input_text"- }- ],- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": [- {- "text": "thanks, now summarize",- "type": "input_text"- }- ],- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "gpt-5.5",- "parallel_tool_calls": true,- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e",- "reasoning": {- "effort": "medium",- "summary": "auto"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- }- },- "opencode-go": {- "api_mode": "chat_completions",- "base_url": "https://opencode.ai/zen/go/v1",- "high": {- "extra_headers": {- "x-opencode-session": "wire-snapshot"- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "kimi-k2.5",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "kimi-k2.5",- "off": {- "extra_body": {- "thinking": {- "type": "disabled"- }- },- "extra_headers": {- "x-opencode-session": "wire-snapshot"- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "kimi-k2.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "extra_headers": {- "x-opencode-session": "wire-snapshot"- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "kimi-k2.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "opencode-zen": {- "api_mode": "chat_completions",- "base_url": "https://opencode.ai/zen/v1",- "high": {- "extra_headers": {- "x-opencode-session": "wire-snapshot"- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "claude-opus-5-5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "claude-opus-5.5",- "off": {- "extra_headers": {- "x-opencode-session": "wire-snapshot"- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "claude-opus-5-5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "extra_headers": {- "x-opencode-session": "wire-snapshot"- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "claude-opus-5-5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "openrouter": {- "api_mode": "chat_completions",- "base_url": "https://openrouter.ai/api/v1",- "high": {- "extra_body": {- "session_id": "wire-snapshot"- },- "messages": [- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "You are a test agent.",- "type": "text"- }- ],- "role": "system"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "list files",- "type": "text"- }- ],- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "a.txt\nb.txt",- "type": "text"- }- ],- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "anthropic/claude-opus-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ],- "verbosity": "high"- },- "model": "anthropic/claude-opus-5.5",- "off": {- "extra_body": {- "session_id": "wire-snapshot"- },- "messages": [- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "You are a test agent.",- "type": "text"- }- ],- "role": "system"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "list files",- "type": "text"- }- ],- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "a.txt\nb.txt",- "type": "text"- }- ],- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "anthropic/claude-opus-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "extra_body": {- "session_id": "wire-snapshot"- },- "messages": [- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "You are a test agent.",- "type": "text"- }- ],- "role": "system"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "list files",- "type": "text"- }- ],- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "a.txt\nb.txt",- "type": "text"- }- ],- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "anthropic/claude-opus-5.5",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "qwen-oauth": {- "api_mode": "chat_completions",- "base_url": "https://portal.qwen.ai/v1",- "high": {- "extra_body": {- "vl_high_resolution_images": true- },- "max_tokens": 65536,- "messages": [- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "You are a test agent.",- "type": "text"- }- ],- "role": "system"- },- {- "content": [- {- "text": "list files",- "type": "text"- }- ],- "role": "user"- },- {- "content": [- {- "text": "",- "type": "text"- }- ],- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": [- {- "text": "a.txt\nb.txt",- "type": "text"- }- ],- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": [- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "metadata": {- "promptId": "<UUID>",- "sessionId": "wire-snapshot"- },- "model": "qwen3-coder-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "qwen3-coder-plus",- "off": {- "extra_body": {- "vl_high_resolution_images": true- },- "max_tokens": 65536,- "messages": [- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "You are a test agent.",- "type": "text"- }- ],- "role": "system"- },- {- "content": [- {- "text": "list files",- "type": "text"- }- ],- "role": "user"- },- {- "content": [- {- "text": "",- "type": "text"- }- ],- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": [- {- "text": "a.txt\nb.txt",- "type": "text"- }- ],- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": [- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "metadata": {- "promptId": "<UUID>",- "sessionId": "wire-snapshot"- },- "model": "qwen3-coder-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "extra_body": {- "vl_high_resolution_images": true- },- "max_tokens": 65536,- "messages": [- {- "content": [- {- "cache_control": {- "type": "ephemeral"- },- "text": "You are a test agent.",- "type": "text"- }- ],- "role": "system"- },- {- "content": [- {- "text": "list files",- "type": "text"- }- ],- "role": "user"- },- {- "content": [- {- "text": "",- "type": "text"- }- ],- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": [- {- "text": "a.txt\nb.txt",- "type": "text"- }- ],- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": [- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "metadata": {- "promptId": "<UUID>",- "sessionId": "wire-snapshot"- },- "model": "qwen3-coder-plus",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "router": {- "api_mode": "codex_responses",- "base_url": "https://api.router.com/v1",- "high": {- "include": [- "reasoning.encrypted_content"- ],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "openai/gpt-5.5",- "parallel_tool_calls": true,- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e",- "reasoning": {- "effort": "high",- "summary": "auto"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "model": "openai/gpt-5.5",- "off": {- "include": [],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "openai/gpt-5.5",- "parallel_tool_calls": true,- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e",- "reasoning": {- "effort": "none"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "unset": {- "include": [- "reasoning.encrypted_content"- ],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "openai/gpt-5.5",- "parallel_tool_calls": true,- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e",- "reasoning": {- "effort": "medium",- "summary": "auto"- },- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- }- },- "solstice": {- "api_mode": "chat_completions",- "base_url": "https://generativelanguage.googleapis.com/v1alpha",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gemini-3.5-flash",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "gemini-3.5-flash",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gemini-3.5-flash",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gemini-3.5-flash",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "stepfun": {- "api_mode": "chat_completions",- "base_url": "https://api.stepfun.ai/step_plan/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "step-3",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "step-3",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "step-3",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "step-3",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "tencent-tokenhub": {- "api_mode": "chat_completions",- "base_url": "https://tokenhub.tencentmaas.com/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "hunyuan-t1",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "hunyuan-t1",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "hunyuan-t1",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "hunyuan-t1",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "tencent-tokenplan": {- "api_mode": "anthropic_messages",- "base_url": "https://api.lkeap.cloud.tencent.com/plan/anthropic",- "high": {- "max_tokens": 128000,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "hunyuan-t1",- "system": "You are a test agent.",- "temperature": 1,- "thinking": {- "budget_tokens": 16000,- "type": "enabled"- },- "tool_choice": {- "type": "auto"- },- "tools": [- {- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- },- "model": "hunyuan-t1",- "off": {- "max_tokens": 128000,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "hunyuan-t1",- "system": "You are a test agent.",- "tool_choice": {- "type": "auto"- },- "tools": [- {- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- },- "unset": {- "max_tokens": 128000,- "messages": [- {- "content": "list files",- "role": "user"- },- {- "content": [- {- "id": "call_1",- "input": {- "command": "ls"- },- "name": "terminal",- "type": "tool_use"- }- ],- "role": "assistant"- },- {- "content": [- {- "content": "a.txt\nb.txt",- "tool_use_id": "call_1",- "type": "tool_result"- },- {- "text": "thanks, now summarize",- "type": "text"- }- ],- "role": "user"- }- ],- "model": "hunyuan-t1",- "system": "You are a test agent.",- "tool_choice": {- "type": "auto"- },- "tools": [- {- "description": "Run a shell command.",- "input_schema": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "name": "terminal"- }- ]- }- },- "upstage": {- "api_mode": "chat_completions",- "base_url": "https://api.upstage.ai/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "solar-pro3",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "solar-pro3",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "solar-pro3",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "solar-pro3",- "reasoning_effort": "medium",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "vertex": {- "api_mode": "chat_completions",- "base_url": "https://aiplatform.googleapis.com/v1/projects/p/locations/global/endpoints/openapi",- "high": {- "extra_body": {- "extra_body": {- "google": {- "thinking_config": {- "include_thoughts": true,- "thinking_level": "high"- }- }- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gemini-3-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "gemini-3-pro",- "off": {- "extra_body": {- "extra_body": {- "google": {- "thinking_config": {- "include_thoughts": false,- "thinking_budget": 0- }- }- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gemini-3-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "gemini-3-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "xai": {- "api_mode": "codex_responses",- "base_url": "https://api.x.ai/v1",- "high": {- "extra_body": {- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e"- },- "extra_headers": {- "x-grok-conv-id": "wire-snapshot"- },- "include": [- "reasoning.encrypted_content"- ],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "grok-4",- "parallel_tool_calls": true,- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "model": "grok-4",- "off": {- "extra_body": {- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e"- },- "extra_headers": {- "x-grok-conv-id": "wire-snapshot"- },- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "grok-4",- "parallel_tool_calls": true,- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "unset": {- "extra_body": {- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e"- },- "extra_headers": {- "x-grok-conv-id": "wire-snapshot"- },- "include": [- "reasoning.encrypted_content"- ],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "grok-4",- "parallel_tool_calls": true,- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- }- },- "xai-oauth": {- "api_mode": "codex_responses",- "base_url": "https://api.x.ai/v1",- "high": {- "extra_body": {- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e"- },- "extra_headers": {- "x-grok-conv-id": "wire-snapshot"- },- "include": [- "reasoning.encrypted_content"- ],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "grok-4",- "parallel_tool_calls": true,- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "model": "grok-4",- "off": {- "extra_body": {- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e"- },- "extra_headers": {- "x-grok-conv-id": "wire-snapshot"- },- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "grok-4",- "parallel_tool_calls": true,- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- },- "unset": {- "extra_body": {- "prompt_cache_key": "pck_f6d11aab44ec88459ba6fe2e"- },- "extra_headers": {- "x-grok-conv-id": "wire-snapshot"- },- "include": [- "reasoning.encrypted_content"- ],- "input": [- {- "content": "list files",- "role": "user",- "type": "message"- },- {- "arguments": "{\"command\": \"ls\"}",- "call_id": "call_1",- "name": "terminal",- "type": "function_call"- },- {- "call_id": "call_1",- "output": "a.txt\nb.txt",- "type": "function_call_output"- },- {- "content": "thanks, now summarize",- "role": "user",- "type": "message"- }- ],- "instructions": "You are a test agent.",- "model": "grok-4",- "parallel_tool_calls": true,- "store": false,- "timeout": 1800.0,- "tool_choice": "auto",- "tools": [- {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- },- "strict": false,- "type": "function"- }- ]- }- },- "xiaomi": {- "api_mode": "chat_completions",- "base_url": "https://api.xiaomimimo.com/v1",- "high": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "mimo-v2-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "mimo-v2-pro",- "off": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "mimo-v2-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "reasoning_content": " ",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "mimo-v2-pro",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- },- "zai": {- "api_mode": "chat_completions",- "base_url": "https://api.z.ai/api/paas/v4",- "high": {- "extra_body": {- "thinking": {- "type": "enabled"- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "glm-5.2",- "reasoning_effort": "high",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "model": "glm-5.2",- "off": {- "extra_body": {- "thinking": {- "type": "disabled"- }- },- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "glm-5.2",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- },- "unset": {- "messages": [- {- "content": "You are a test agent.",- "role": "system"- },- {- "content": "list files",- "role": "user"- },- {- "content": "",- "role": "assistant",- "tool_calls": [- {- "function": {- "arguments": "{\"command\": \"ls\"}",- "name": "terminal"- },- "id": "call_1",- "type": "function"- }- ]- },- {- "content": "a.txt\nb.txt",- "role": "tool",- "tool_call_id": "call_1"- },- {- "content": "thanks, now summarize",- "role": "user"- }- ],- "model": "glm-5.2",- "timeout": 1800.0,- "tools": [- {- "function": {- "description": "Run a shell command.",- "name": "terminal",- "parameters": {- "properties": {- "command": {- "type": "string"- }- },- "required": [- "command"- ],- "type": "object"- }- },- "type": "function"- }- ]- }- }-}