- Parse tools/tool_choice from OpenAI and Anthropic requests - Inject tool definitions into system prompt via toolemulation - Parse action blocks (```json action) from model responses - Retry logic for forced tool_choice (any/required) - Return proper tool_calls / tool_use in responses - Support streaming tools via collect-and-replay pattern - Add tool history projection (assistant tool_calls + tool results) - Model ID normalization: use official names (Qwen3.6-Plus, etc.) - Fix resolveSessionMode to use Fresh mode when tools present
11 lines
185 B
JSON
11 lines
185 B
JSON
{
|
|
"host": "127.0.0.1",
|
|
"port": 8095,
|
|
"transport": "websocket",
|
|
"mode": "agent",
|
|
"shell_type": "zsh",
|
|
"session_mode": "auto",
|
|
"timeout": 120,
|
|
"cwd": "/Users/tiancheng"
|
|
}
|