修复:更新 PI runtime packages · openclaw/openclaw@3fad770
steipete
·
2026-05-17
·
via Recent Commits to openclaw:main
| 原始文件行号 | 差异行号 | 差异行变更 |
|---|
@@ -9,6 +9,7 @@ Docs: https://docs.openclaw.ai
|
9 | 9 | - 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) |
10 | 10 | - 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. |
11 | 11 | - 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. |
12 | 13 | - 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. |
13 | 14 | - 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. |
14 | 15 | - 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. |
|
| 原始文件行号 | 差异行号 | 差异行变更 |
|---|
@@ -437,7 +437,7 @@ Time format in system prompt. Default: `auto` (OS preference).
|
437 | 437 | - `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. |
438 | 438 | - `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. |
439 | 439 | - `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`. |
441 | 441 | - `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. |
442 | 442 | - `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). |
443 | 443 | - `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). |
|
| 原始文件行号 | 差异行号 | 差异行变更 |
|---|
@@ -500,7 +500,7 @@ Configuring a custom/local provider `baseUrl` is also the narrow network trust d
|
500 | 500 | - `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. |
501 | 501 | - `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. |
502 | 502 | - `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. |
504 | 504 | |
505 | 505 | </Accordion> |
506 | 506 | <Accordion title="Amazon Bedrock discovery"> |
|
| 原始文件行号 | 差异行号 | 差异行变更 |
|---|
@@ -23,10 +23,10 @@ OpenClaw uses the pi SDK to embed an AI coding agent into its messaging gateway
|
23 | 23 | |
24 | 24 | ```json |
25 | 25 | { |
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" |
30 | 30 | } |
31 | 31 | ``` |
32 | 32 | |
|
| 原始文件行号 | 差异行号 | 差异行更改 |
|---|
@@ -10,7 +10,7 @@
|
10 | 10 | "dependencies": { |
11 | 11 | "@anthropic-ai/sdk": "0.95.2", |
12 | 12 | "@aws/bedrock-token-generator": "1.1.0", |
13 | | -"@earendil-works/pi-ai": "0.74.0" |
| 13 | +"@earendil-works/pi-ai": "0.74.1" |
14 | 14 | }, |
15 | 15 | "devDependencies": { |
16 | 16 | "@openclaw/plugin-sdk": "workspace:*" |
|
| 原始文件行号 | 差异行号 | 差异行更改 |
|---|
@@ -11,7 +11,7 @@
|
11 | 11 | "@aws-sdk/client-bedrock": "3.1047.0", |
12 | 12 | "@aws-sdk/client-bedrock-runtime": "3.1045.0", |
13 | 13 | "@aws-sdk/credential-provider-node": "3.972.41", |
14 | | -"@earendil-works/pi-ai": "0.74.0", |
| 14 | +"@earendil-works/pi-ai": "0.74.1", |
15 | 15 | "@smithy/shared-ini-file-loader": "4.5.2" |
16 | 16 | }, |
17 | 17 | "devDependencies": { |
|
| 原始文件行号 | 差异行号 | 差异行更改 |
|---|
@@ -9,8 +9,8 @@
|
9 | 9 | "type": "module", |
10 | 10 | "dependencies": { |
11 | 11 | "@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" |
14 | 14 | }, |
15 | 15 | "devDependencies": { |
16 | 16 | "@openclaw/plugin-sdk": "workspace:*" |
|
| 原始文件行号 | 差异行号 | 差异行更改 |
|---|
@@ -5,7 +5,7 @@
|
5 | 5 | "description": "OpenClaw Anthropic provider plugin", |
6 | 6 | "type": "module", |
7 | 7 | "dependencies": { |
8 | | -"@earendil-works/pi-ai": "0.74.0" |
| 8 | +"@earendil-works/pi-ai": "0.74.1" |
9 | 9 | }, |
10 | 10 | "devDependencies": { |
11 | 11 | "@openclaw/plugin-sdk": "workspace:*" |
|
| 原始文件行号 | 差异行号 | 差异更改 |
|---|
@@ -8,7 +8,7 @@
|
8 | 8 | }, |
9 | 9 | "type": "module", |
10 | 10 | "dependencies": { |
11 | | -"@earendil-works/pi-coding-agent": "0.74.0", |
| 11 | +"@earendil-works/pi-coding-agent": "0.74.1", |
12 | 12 | "@openai/codex": "0.130.0", |
13 | 13 | "ajv": "8.20.0", |
14 | 14 | "ws": "8.20.1", |
|
| 原始文件行号 | 差异行号 | 差异更改 |
|---|
@@ -5,7 +5,7 @@
|
5 | 5 | "description": "OpenClaw Fireworks provider plugin", |
6 | 6 | "type": "module", |
7 | 7 | "dependencies": { |
8 | | -"@earendil-works/pi-ai": "0.74.0" |
| 8 | +"@earendil-works/pi-ai": "0.74.1" |
9 | 9 | }, |
10 | 10 | "devDependencies": { |
11 | 11 | "@openclaw/plugin-sdk": "workspace:*" |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。