Skip to content

Commit 3fad770

Browse files
committed
fix: update PI runtime packages
1 parent 6a8a655 commit 3fad770

30 files changed

Lines changed: 224 additions & 445 deletions

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Docs: https://docs.openclaw.ai
99
- Agents/skills: apply the full effective tool policy pipeline to inline `command-dispatch: tool` skill dispatch before owner-only filtering, preserving configured allow, deny, sandbox, sender, group, and subagent restrictions. (#78525)
1010
- Providers/GitHub Copilot: request identity-encoded Copilot API responses across token exchange, catalog, model calls, usage, and embeddings so compressed Business-account error payloads no longer reach JSON parsers as gzip bytes. Fixes #82871. Thanks @tonyfe01.
1111
- Telegram: preserve replied-to bot messages, captions, and media metadata in group reply chains so follow-up replies understand what the user is reacting to. (#82863)
12+
- Providers/Together: update PI runtime packages to 0.74.1 and emit Together-style `reasoning.enabled`/`max_tokens` controls for reasoning-capable OpenAI-completions models.
1213
- Agents/diagnostics: split slow embedded-run `attempt-dispatch` startup summaries into workspace, prompt, runtime-plan, and final dispatch subspans so traces identify the delayed setup phase. Fixes #82782. (#82783) Thanks @galiniliev.
1314
- CLI/media: accept HTTP(S) URLs in `openclaw infer image describe --file`, fetching remote images through the guarded media path instead of treating URLs as local files. Fixes #82837. (#82854) Thanks @neeravmakwana.
1415
- Agents/subagents: keep session-backed parent runs active when the child wait call times out before the child session has actually settled, so late subagent completions are reconciled instead of being lost. Fixes #82787. Thanks @ramitrkar-hash.

docs/gateway/config-agents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ Time format in system prompt. Default: `auto` (OS preference).
437437
- `params` merge precedence (config): `agents.defaults.params` (global base) is overridden by `agents.defaults.models["provider/model"].params` (per-model), then `agents.list[].params` (matching agent id) overrides by key. See [Prompt Caching](/reference/prompt-caching) for details.
438438
- `params.extra_body`/`params.extraBody`: advanced pass-through JSON merged into `api: "openai-completions"` request bodies for OpenAI-compatible proxies. If it collides with generated request keys, the extra body wins; non-native completions routes still strip OpenAI-only `store` afterward.
439439
- `params.chat_template_kwargs`: vLLM/OpenAI-compatible chat-template arguments merged into top-level `api: "openai-completions"` request bodies. For `vllm/nemotron-3-*` with thinking off, the bundled vLLM plugin automatically sends `enable_thinking: false` and `force_nonempty_content: true`; explicit `chat_template_kwargs` override generated defaults, and `extra_body.chat_template_kwargs` still has final precedence. For vLLM Qwen thinking controls, set `params.qwenThinkingFormat` to `"chat-template"` or `"top-level"` on that model entry.
440-
- `compat.thinkingFormat`: OpenAI-compatible thinking payload style. Use `"qwen"` for Qwen-style top-level `enable_thinking`, or `"qwen-chat-template"` for `chat_template_kwargs.enable_thinking` on Qwen-family backends that support request-level chat-template kwargs, such as vLLM. OpenClaw maps disabled thinking to `false` and enabled thinking to `true`.
440+
- `compat.thinkingFormat`: OpenAI-compatible thinking payload style. Use `"together"` for Together-style `reasoning.enabled`, `"qwen"` for Qwen-style top-level `enable_thinking`, or `"qwen-chat-template"` for `chat_template_kwargs.enable_thinking` on Qwen-family backends that support request-level chat-template kwargs, such as vLLM. OpenClaw maps disabled thinking to `false` and enabled thinking to `true`.
441441
- `compat.supportedReasoningEfforts`: per-model OpenAI-compatible reasoning effort list. Include `"xhigh"` for custom endpoints that truly accept it; OpenClaw then exposes `/think xhigh` in command menus, Gateway session rows, session patch validation, agent CLI validation, and `llm-task` validation for that configured provider/model. Use `compat.reasoningEffortMap` when the backend wants a provider-specific value for a canonical level.
442442
- `params.preserveThinking`: Z.AI-only opt-in for preserved thinking. When enabled and thinking is on, OpenClaw sends `thinking.clear_thinking: false` and replays prior `reasoning_content`; see [Z.AI thinking and preserved thinking](/providers/zai#thinking-and-preserved-thinking).
443443
- `localService`: optional provider-level process manager for local/self-hosted model servers. When the selected model belongs to that provider, OpenClaw probes `healthUrl` (or `baseUrl + "/models"`), starts `command` with `args` if the endpoint is down, waits up to `readyTimeoutMs`, then sends the model request. `command` must be an absolute path. `idleStopMs: 0` keeps the process alive until OpenClaw exits; a positive value stops the OpenClaw-spawned process after that many idle milliseconds. See [Local model services](/gateway/local-model-services).

docs/gateway/config-tools.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ Configuring a custom/local provider `baseUrl` is also the narrow network trust d
500500
- `models.providers.*.models.*.compat.supportsDeveloperRole`: optional compatibility hint. For `api: "openai-completions"` with a non-empty non-native `baseUrl` (host not `api.openai.com`), OpenClaw forces this to `false` at runtime. Empty/omitted `baseUrl` keeps default OpenAI behavior.
501501
- `models.providers.*.models.*.compat.requiresStringContent`: optional compatibility hint for string-only OpenAI-compatible chat endpoints. When `true`, OpenClaw flattens pure text `messages[].content` arrays into plain strings before sending the request.
502502
- `models.providers.*.models.*.compat.strictMessageKeys`: optional compatibility hint for strict OpenAI-compatible chat endpoints. When `true`, OpenClaw strips outgoing Chat Completions message objects to `role` and `content` before sending the request.
503-
- `models.providers.*.models.*.compat.thinkingFormat`: optional thinking payload hint. Use `"qwen"` for top-level `enable_thinking`, or `"qwen-chat-template"` for `chat_template_kwargs.enable_thinking` on Qwen-family OpenAI-compatible servers that support request-level chat-template kwargs, such as vLLM.
503+
- `models.providers.*.models.*.compat.thinkingFormat`: optional thinking payload hint. Use `"together"` for Together-style `reasoning.enabled`, `"qwen"` for top-level `enable_thinking`, or `"qwen-chat-template"` for `chat_template_kwargs.enable_thinking` on Qwen-family OpenAI-compatible servers that support request-level chat-template kwargs, such as vLLM.
504504

505505
</Accordion>
506506
<Accordion title="Amazon Bedrock discovery">

docs/pi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ OpenClaw uses the pi SDK to embed an AI coding agent into its messaging gateway
2323

2424
```json
2525
{
26-
"@earendil-works/pi-agent-core": "0.74.0",
27-
"@earendil-works/pi-ai": "0.74.0",
28-
"@earendil-works/pi-coding-agent": "0.74.0",
29-
"@earendil-works/pi-tui": "0.74.0"
26+
"@earendil-works/pi-agent-core": "0.74.1",
27+
"@earendil-works/pi-ai": "0.74.1",
28+
"@earendil-works/pi-coding-agent": "0.74.1",
29+
"@earendil-works/pi-tui": "0.74.1"
3030
}
3131
```
3232

extensions/amazon-bedrock-mantle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dependencies": {
1111
"@anthropic-ai/sdk": "0.95.2",
1212
"@aws/bedrock-token-generator": "1.1.0",
13-
"@earendil-works/pi-ai": "0.74.0"
13+
"@earendil-works/pi-ai": "0.74.1"
1414
},
1515
"devDependencies": {
1616
"@openclaw/plugin-sdk": "workspace:*"

extensions/amazon-bedrock/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@aws-sdk/client-bedrock": "3.1047.0",
1212
"@aws-sdk/client-bedrock-runtime": "3.1045.0",
1313
"@aws-sdk/credential-provider-node": "3.972.41",
14-
"@earendil-works/pi-ai": "0.74.0",
14+
"@earendil-works/pi-ai": "0.74.1",
1515
"@smithy/shared-ini-file-loader": "4.5.2"
1616
},
1717
"devDependencies": {

extensions/anthropic-vertex/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"type": "module",
1010
"dependencies": {
1111
"@anthropic-ai/vertex-sdk": "0.16.0",
12-
"@earendil-works/pi-agent-core": "0.74.0",
13-
"@earendil-works/pi-ai": "0.74.0"
12+
"@earendil-works/pi-agent-core": "0.74.1",
13+
"@earendil-works/pi-ai": "0.74.1"
1414
},
1515
"devDependencies": {
1616
"@openclaw/plugin-sdk": "workspace:*"

extensions/anthropic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "OpenClaw Anthropic provider plugin",
66
"type": "module",
77
"dependencies": {
8-
"@earendil-works/pi-ai": "0.74.0"
8+
"@earendil-works/pi-ai": "0.74.1"
99
},
1010
"devDependencies": {
1111
"@openclaw/plugin-sdk": "workspace:*"

extensions/codex/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"type": "module",
1010
"dependencies": {
11-
"@earendil-works/pi-coding-agent": "0.74.0",
11+
"@earendil-works/pi-coding-agent": "0.74.1",
1212
"@openai/codex": "0.130.0",
1313
"ajv": "8.20.0",
1414
"ws": "8.20.1",

extensions/fireworks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "OpenClaw Fireworks provider plugin",
66
"type": "module",
77
"dependencies": {
8-
"@earendil-works/pi-ai": "0.74.0"
8+
"@earendil-works/pi-ai": "0.74.1"
99
},
1010
"devDependencies": {
1111
"@openclaw/plugin-sdk": "workspace:*"

0 commit comments

Comments
 (0)