Peter Steinberger
baea671ef3
fix(anthropic): delegate adaptive Claude CLI effort ( #103815 )
...
* fix(anthropic): delegate adaptive CLI effort
Strip static --effort args for adaptive runs so Claude Code resolves effort from its environment, settings, and model default. Preserve configured effort for off or absent thinking and replace it only for concrete OpenClaw levels.
Fixes #103245
Co-authored-by: Dan Korotin <korotin.daniil@gmail.com >
* fix(anthropic): make effort dispatch exhaustive
---------
Co-authored-by: Dan Korotin <korotin.daniil@gmail.com >
2026-07-10 17:57:50 +01:00
JC
59e95fe3fd
feat: support GPT-5.6 Ultra across OpenClaw and Codex runtimes ( #98021 )
...
* feat: support GPT-5.6 Ultra across agent runtimes
Co-authored-by: J Cai <anyech@gmail.com >
* fix: keep harness projections discovery-free
* fix(codex): mirror V2 native subagent tasks
* chore: refresh plugin SDK surface budgets
* test: expose Ultra wire effort proof
* test(cron): avoid hoisted mock initialization race
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-07-10 15:23:24 +01:00
Peter Steinberger
67ff8dfc15
fix(ui): apply selected reasoning and speed before sending ( #103253 )
...
* fix(ui): gate sends on pending session settings
* chore(ui): keep changelog release-owned
2026-07-10 03:14:23 +01:00
Peter Steinberger
f7d7148cf0
docs: rewrite published docs grounded in current source ( #100142 )
...
Source-grounded rewrite of 529 published docs pages with per-unit information-loss verification: 1,713 factual corrections cited to src/**, generated surfaces regenerated, frontmatter titles preserved for i18n, release notes pages untouched. All docs gates green.
Closes #100141
2026-07-05 00:32:47 -04:00
NianJiuZst
08079ecb44
docs: align OpenRouter DeepSeek V4 thinking guide
2026-07-02 22:50:58 -07:00
Vincent Koc
2b75806197
feat: forward-port fast talks auto mode ( #85104 )
2026-06-22 09:37:09 +08:00
Zak
50c2cc6a45
fix(zai): expose GLM-5.2 reasoning levels [AI-assisted] ( #94136 )
...
Merged via squash.
Prepared head SHA: 432214158a
Co-authored-by: BorClaw <268442329+BorClaw@users.noreply.github.com >
Co-authored-by: steipete <58493+steipete@users.noreply.github.com >
Reviewed-by: @steipete
2026-06-20 23:57:49 -04:00
Peter Steinberger
8c7e5c6918
feat(moonshot): add Kimi K2.7 Code support ( #92554 )
...
* feat(moonshot): add Kimi K2.7 Code support
* test(moonshot): surface K2.7 live provider errors
* ci(live): accept Kimi key for Moonshot sweeps
* test(moonshot): verify K2.7 across API regions
2026-06-12 17:37:28 -07:00
Vinayaka Jyothi
443ac732a1
fix(minimax): keep thinking active for M3
...
Fix MiniMax-M3 Anthropic-compatible requests so OpenClaw no longer sends the disabled-thinking payload that makes M3 return empty content. M3 defaults now stay on MiniMax's omitted/adaptive thinking path, explicit `/think off` is still respected, and MiniMax-M2.x keeps the disabled-thinking default that prevents reasoning_content leaks.
Also wires the MiniMax thinking policy through bundled provider-policy loading so pre-runtime and configless embedded-agent paths resolve the same defaults.
Thanks @IamVNIE for the live MiniMax API repro and initial patch.
2026-06-06 22:56:17 -07:00
Peter Steinberger
d92b3b5cc2
refactor: unify OpenAI provider identity
...
Refactor OpenAI provider identity so OpenAI remains the canonical provider for API-key and OAuth-backed flows while legacy openai-codex state is doctor/migration-only.
Keeps OpenAI Codex Responses as an API/transport class rather than a provider identity, moves auth aliases through providerAuthAliases, updates doctor repair sequencing for old auth/profile state, and refreshes tests/docs around the canonical OpenAI behavior.
2026-05-30 11:48:41 +02:00
兰之
b620c58e65
fix: remove telegram-only reasoning stream copy
...
Remove stale Telegram-only wording from the reasoning stream acknowledgement and docs so channel-neutral behavior is reflected.
Fixes #68305 .
Co-authored-by: Lanzhi <lizhan3@xiaomi.com >
2026-05-29 09:54:37 +01:00
Peter Steinberger
1188aa3b81
feat: add Claude Opus 4.8 support ( #87890 )
...
* feat: add Claude Opus 4.8 support
* fix: omit Vertex Opus sampling overrides
* fix: preserve Opus adaptive thinking levels
* fix: clamp Anthropic max effort support
* fix: use sha256 for QA mock call ids
* fix: type Anthropic transport test model metadata
* test: update PDF model default for Opus 4.8
2026-05-29 06:10:42 +01:00
Peter Steinberger
e5adde9fe3
fix(auto-reply): respect provider for directive persistence ( #87683 )
2026-05-28 16:27:19 +01:00
Peter Steinberger
bb46b79d3c
refactor: internalize OpenClaw agent runtime ( #85341 )
...
* refactor: extract agent core package
Introduce packages/agent-core as the OpenClaw-owned home for reusable agent loop, harness, session, prompt, and runtime dependency contracts.
* refactor: extract shared llm runtime
Move provider model registries, stream wrappers, OAuth helpers, and LLM utilities into src/llm with plugin-sdk barrels instead of depending on the old embedded runtime layout.
* refactor: remove pi runtime internals
Rename remaining Pi-shaped agent surfaces to OpenClaw agent runtime names, delete obsolete Pi docs and package graph checks, and add the third-party notice for incorporated code.
* refactor: tighten agent session runtime
Make agent-core/runtime dependencies explicit, consolidate compaction and session transcript helpers, and move model/session helpers behind OpenClaw-owned contracts.
* refactor: remove static model and pi auth paths
Drop static model catalogs and Pi auth bridges, move model/provider facts to manifest-owned runtime contracts, and harden internal embedded-agent utilities.
* refactor: remove legacy provider compat paths
* docs: remove agent parity notes
* fix: skip provider wildcard metadata parsing
* refactor: share session extension sdk loading
* refactor: inline acpx proxy error formatter
* refactor: fold edit recovery into edit tool
* fix: accept extension batch separator
* test: align startup provider plugin expectations
* fix: restore provider-scoped release discovery
* test: align static asset packaging expectations
* fix: run static provider catalogs during scoped discovery
* fix: add provider entry catalogs for scoped live discovery
* fix: load lightweight provider catalog entries
* fix: refresh provider-scoped plugin metadata
* fix: keep provider catalog entries on release live path
* fix: keep static manifest models in release live checks
* fix: harden release model discovery
* fix: reduce OpenAI live cache probe reasoning
* fix: disable OpenAI cache probe reasoning
* ci: extend OpenAI gateway live timeout
* fix: extend live gateway model budget
* fix: stabilize release validation regressions
* fix: honor provider aliases in model rows
* fix: stabilize release validation lanes
* fix: stabilize release memory qa
* ci: stabilize release validation lanes
* ci: prefer ipv4 for live docker node calls
* fix: restore shared tool-call stream wrapper
* ci: remove legacy pi test shard alias
* fix: clean up embedded agent test drift
* fix: stabilize runtime alias status
* fix: clean up embedded agent ci drift
* fix: restore release ci invariants
* fix: clean up post-rebase runtime drift
* fix: restore release ci checks
* fix: restore release ci after rebase
* fix: remove stale pi runtime path
* test: align compaction runtime expectations
* test: update plugin prerelease expectations
* fix: handle claude live tool approvals
* fix: stabilize release validation gates
* fix: finish agent runtime import
* test: finish post-rebase agent runtime mocks
* fix: keep codex compaction native
* fix: stabilize codex app-server hook tests
* test: isolate codex diagnostic active run
* test: remove codex diagnostic completion race
# Conflicts:
# extensions/codex/src/app-server/run-attempt.test.ts
* ci: fix full release manifest performance run id
* refactor: narrow llm plugin sdk boundary
* chore: drop generated google boundary stamps
* fix: repair rebase fallout
* fix: clean up rebased runtime references
* fix: decode codex jwt payloads as base64url
* fix: preserve shipped pi runtime alias
* fix: add scoped sdk virtual modules
* fix: decode llm codex oauth jwt as base64url
* fix: avoid stale vertex adc negative cache
* fix: harden tool arg decoding and codeql path
* fix: keep vertex adc negative checks live
* refactor: consolidate codex jwt and edit helpers
* fix: await codex oauth node runtime imports
* fix: preserve sdk tool and notice contracts
* fix: preserve shipped compat config boundaries
* fix: align codex oauth callback host
* fix: terminate agent-core loop streams on failure
* fix: keep codex oauth callback alive during fallback
* ci: include session tools in critical codeql scans
* fix: keep Cloudflare Anthropic provider auth header
* docs: redirect legacy pi runtime pages
* fix: honor bundled web provider compat discovery
* fix: protect session output spill files
* fix: keep legacy agent dir env blocked
* fix: contain auto-discovered skill symlinks
* fix: harden agent core sdk proxy surfaces
* fix: restore approval reaction sdk compat
* fix: keep live docker runs bounded
* fix: keep codex oauth redirect host aligned
* fix: resolve post-rebase agent runtime drift
* fix: redact anthropic oauth parse failures
* fix: preserve responses strict tool shaping
* fix: repair agent runtime rebase cleanup
* docs: redirect retired parity pages
* fix: bound auto-discovered resources to roots
* fix: repair post-rebase agent test drift
* fix: preserve bundled provider allowlist migration
* fix: preserve manifest-owned provider aliases
* fix: declare photon image dependency
* fix: keep provider headers out of proxy body
* fix: preserve shipped env aliases
* fix: refresh control ui i18n generated state
* fix: quote read fallback paths
* fix: preview edits through configured backend
* test: satisfy core test typecheck
* fix: preserve ZAI usage auth fallback
* test: repair codex diagnostic test
* fix: repair agent runtime rebase drift
* test: finish embedded runner import rename
* fix: repair agent runtime rebase integrations
* test: align compaction oauth fallback expectations
* fix: allow sdk-auth session models
* fix: update doctor tool schema import
* fix: preserve bedrock plugin region
* fix: stream harmony-like prose immediately
* ci: include session runtime in codeql shards
* fix: repair latest rebase integrations
* fix: honor explicit codex websocket transport
* fix: keep openai-compatible credentials provider-scoped
* fix: refresh sdk api baseline after rebase
* fix: route cli runtime aliases through openclaw harness
* test: rename stale harness mock expectation
* test: rename embedded agent overflow calls
* test: clean embedded auth test wording
* test: use openclaw stream types in deepinfra cache test
* fix: refresh sdk api baseline on latest main
* fix: honor bundled discovery compat allowlists
* fix: refresh sdk api baseline after latest rebase
* fix: remove stale rebase imports
* test: rename stale model catalog mock
* test: mock renamed doctor runtime modules
* fix: map canonical kimi env auth
* fix: use internal model registry in bench script
* fix: migrate deepinfra provider catalog entry
* fix: enforce builtin tool suppression
* fix: route compaction auth and proxy payloads safely
* refactor: prune unused llm registry leftovers
* test: update codex hooks session import
* test: fix model picker ci coverage
* test: align model picker auth mock types
2026-05-27 19:24:04 +01:00
rendrag-git
e153eceea5
fix(vllm): wire configured thinking params
...
Move vLLM Qwen thinking control onto configured model compat metadata and carry it through catalog/model-selection/runtime thinking contexts.
Also migrate legacy provider/default request params in doctor and keep Pi/runtime model rows buildable with explicit reasoning defaults.
Thanks @rendrag-git.
Co-authored-by: rendrag-git <253747599+rendrag-git@users.noreply.github.com >
2026-05-27 13:32:18 +01:00
Alex Knight
b7356e4e58
fix(ui): clarify inherited thinking off label ( #85223 )
...
Control UI thinking selectors now show inherited disabled reasoning as Inherited: Off while keeping explicit Off distinct.
2026-05-22 15:14:30 +10:00
clawsweeper[bot]
7811e313b3
fix(channels): suppress verbose failed-tool dumps ( #84354 )
...
Summary:
- The branch suppresses regular verbose failed-tool raw output after final replies across shared dispatch, Codex, Telegram, and Discord paths, keeps raw detail under `/verbose full`, and updates tests, docs, and changelog.
- Reproducibility: yes. The current-main source path and supplied before screenshot show failed text-only tool ... ping after a final reply; I did not rerun a live Telegram or Discord reproduction in this read-only review.
Automerge notes:
- PR branch already contained follow-up commit before automerge: fix message-tool delivery gating
- PR branch already contained follow-up commit before automerge: fix(channels): keep verbose tool failures compact
- PR branch already contained follow-up commit before automerge: fix(channels): suppress in-flight final progress
- PR branch already contained follow-up commit before automerge: fix(replies): suppress failed tool dumps in message-only mode
- PR branch already contained follow-up commit before automerge: fix(replies): avoid duplicate exec failure warnings
- PR branch already contained follow-up commit before automerge: Revert "fix(replies): avoid duplicate exec failure warnings"
Validation:
- ClawSweeper review passed for head d15ae6951b .
- Required merge gates passed before the squash merge.
Prepared head SHA: d15ae6951b
Review: https://github.com/openclaw/openclaw/pull/84354#issuecomment-4493007024
Co-authored-by: VACInc <3279061+VACInc@users.noreply.github.com >
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com >
2026-05-20 05:09:38 +00:00
Patrick Erichsen
d60ab48511
Add Telegram progress preview flows ( #83847 )
...
* feat(telegram): add progress preview flow tooling
* docs: add channel flow preview skill
* test(telegram): exercise native draft flow fixture
* fix(telegram): remove progress label ellipsis animation
* fix(telegram): address progress preview review
2026-05-18 21:23:55 -07:00
VACInc
b8e2f648a7
chat: clear thinking and fast defaults
2026-05-09 06:51:20 -04:00
Ayaan Zaidi
30e079dd89
fix(channels): honor reasoning defaults in previews ( #71817 ) (thanks @anagnorisis2peripeteia)
2026-05-08 18:32:04 +05:30
Val Alexander
a8d8d49ab8
fix(ui): label inherited thinking overrides
...
Closes #77581 .
## Summary
- Add a shared thinking-label formatter for inherited vs explicit reasoning values.
- Show inherited thinking controls as `Inherited (Default: <Level>)` in chat and Sessions selectors.
- Preserve provider/model labels for explicit thinking overrides and document the inherited/default wording.
## Verification
- `pnpm docs:list`
- `pnpm tsgo:core` on current `origin/main` (`70defcc046`) -> passes
- `git diff --check`
- `pnpm exec oxfmt --check --threads=1 ui/src/ui/thinking-labels.ts ui/src/ui/chat/session-controls.ts ui/src/ui/views/chat.test.ts ui/src/ui/views/sessions.ts ui/src/ui/views/sessions.test.ts docs/tools/thinking.md CHANGELOG.md`
- `pnpm changed:lanes --json` -> `core`, `coreTests`, `docs`
- `pnpm test ui/src/ui/views/chat.test.ts ui/src/ui/views/sessions.test.ts src/gateway/server.sessions.list-changed.test.ts` -> 3 Vitest shards, 58 tests
- Testbox `pnpm check:changed` on `a906cb75ce` -> passes
- GitHub PR checks for #78176 on `a906cb75ce` -> no pending or failed jobs
2026-05-07 00:31:41 -05:00
Vincent Koc
68a82cb2e2
docs: typography hygiene + 2 in-body H1 removals across 6 pages
...
Replaced 60 typography characters (curly quotes, apostrophes, em/en
dashes, non-breaking hyphens) with ASCII equivalents per
docs/CLAUDE.md heading and content hygiene rules.
- docs/start/openclaw.md: 10 chars; removed the duplicate '# Building
a personal assistant with OpenClaw' H1 (Mintlify renders title from
frontmatter).
- docs/platforms/mac/remote.md: 10 chars; removed the duplicate
'# Remote OpenClaw (macOS ⇄ remote host)' H1 (the U+21C4 codepoint
and parens both produced brittle anchors).
- docs/tools/thinking.md: 10 chars
- docs/reference/templates/BOOTSTRAP.md: 10 chars (kept the in-body
'# BOOTSTRAP.md - Hello, World' heading because the page is a
template whose content is meant to be copied verbatim into a
workspace BOOTSTRAP.md).
- docs/plugins/sdk-provider-plugins.md: 10 chars
- docs/platforms/macos.md: 10 chars
2026-05-05 20:58:10 -07:00
Sally O'Malley
02ac7dc5a6
fix(openrouter): keep DeepSeek V4 reasoning effort valid ( #77423 )
...
Summary:
- The PR removes `max` from OpenRouter DeepSeek V4 thinking profiles, maps stale OpenRouter `max` overrides to `xhigh`, preserves direct DeepSeek behavior, and updates docs, tests, and changelog.
- Reproducibility: yes. Source inspection on current main shows OpenRouter DeepSeek V4 advertises `max` and se ... ffort: "max"`, matching the linked 400 logs; I did not need a live OpenRouter request for this assist pass.
Automerge notes:
- Ran the ClawSweeper repair loop before final review.
- Addressed earlier ClawSweeper review findings before merge.
- Included post-review commit in the final squash: docs(changelog): credit OpenRouter duplicate fix
- Included post-review commit in the final squash: fix(openrouter): keep DeepSeek V4 reasoning effort valid
Validation:
- ClawSweeper review passed for head becdea4223 .
- Required merge gates passed before the squash merge.
Prepared head SHA: becdea4223
Review: https://github.com/openclaw/openclaw/pull/77423#issuecomment-4372880583
Co-authored-by: sallyom <somalley@redhat.com >
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-04 21:05:05 +00:00
stain lu
74ab62c6a2
fix: pass claude cli thinking effort ( #77410 )
...
Summary:
- Adds a plugin-owned CLI backend argument rewrite hook and wires Anthropic `claude-cli` to translate non-off `/think` levels into Claude Code `--effort`, with docs, changelog, API baseline, and tests.
- Reproducibility: yes. Current main has a high-confidence source reproduction: choose `claude-cli`, set a non ... builds argv from backend args that contain no `--effort` even though `thinkLevel` exists on the run params.
Automerge notes:
- No ClawSweeper repair was needed after automerge opt-in.
Validation:
- ClawSweeper review passed for head be17754009 .
- Required merge gates passed before the squash merge.
Prepared head SHA: be17754009
Review: https://github.com/openclaw/openclaw/pull/77410#issuecomment-4372812685
Co-authored-by: stainlu <stainlu@newtype-ai.org >
2026-05-04 18:13:53 +00:00
Peter Steinberger
5d09b4b92c
feat(agents): add tool progress detail modes
2026-05-04 01:35:27 +01:00
NVIDIAN
797d574dfd
fix(deepseek): expose V4 max thinking levels ( #73008 )
...
Merged via squash.
Prepared head SHA: ef561a59de
Co-authored-by: ai-hpc <183861985+ai-hpc@users.noreply.github.com >
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com >
Reviewed-by: @hxy91819
2026-04-30 23:34:05 +08:00
Peter Steinberger
93d5cd1015
fix: honor configured xhigh thinking compat ( #74273 )
...
* fix: honor configured xhigh thinking compat
* test: update agent command model selection mock
2026-04-29 11:35:03 +01:00
Peter Steinberger
f6bda8d36b
refactor(providers): share Claude thinking profiles
2026-04-27 14:23:12 +01:00
Peter Steinberger
67a447c175
refactor: tighten plugin runtime sdk boundaries
2026-04-27 14:15:53 +01:00
Peter Steinberger
f3528e7755
fix(openrouter): retire stealth model catalog entries
2026-04-27 13:36:49 +01:00
Peter Steinberger
c0ea89cfd2
fix(agents): recover unclosed reasoning-only replies
2026-04-27 12:45:11 +01:00
Peter Steinberger
ff570f3a61
fix(ollama): expose native thinking efforts
2026-04-26 22:49:13 +01:00
Peter Steinberger
cc0f3067a0
fix: map google adaptive thinking dynamically
2026-04-25 02:04:40 +01:00
Peter Steinberger
b3db7c6987
fix: expose dynamic thinking options to UI
2026-04-25 00:33:42 +01:00
Peter Steinberger
d4d307e07a
test: cover OpenAI GPT xhigh reasoning
2026-04-24 01:30:44 +01:00
Vincent Koc
789e71cdb8
docs: remove H1 on pages where frontmatter + summary already cover the parenthetical
2026-04-23 15:47:48 -07:00
Vincent Koc
2777b089b5
docs: normalize frontmatter titles to sentence case
2026-04-23 13:15:17 -07:00
openclaw-docs-agent[bot]
70d41130ff
docs: refresh documentation
2026-04-23 13:08:56 +00:00
Peter Steinberger
8714badc0c
fix: show fast mode in status
2026-04-23 08:04:24 +01:00
Peter Steinberger
bcfa781a1b
fix: remap thinking levels on model switch
2026-04-21 18:53:49 +01:00
Peter Steinberger
f1805ab54d
fix: centralize provider thinking profiles
2026-04-21 09:13:35 +01:00
Peter Steinberger
6ce17db11a
fix: gate max thinking by model support
2026-04-21 07:02:43 +01:00
Peter Steinberger
e4adb0b0e3
fix: hide adaptive think option for GPT models
2026-04-21 06:19:29 +01:00
Peter Steinberger
2641b052dc
fix: align OpenAI reasoning effort handling
2026-04-21 04:58:31 +01:00
Peter Steinberger
a2753e2d9f
fix: keep Opus 4.7 effort separate from adaptive thinking
2026-04-17 01:26:11 +01:00
Peter Steinberger
c73a6d2f68
feat: support xhigh for Claude Opus 4.7
2026-04-17 01:26:11 +01:00
Tak Hoffman
c37e49f275
Add /trace toggle and fix Active Memory diagnostics
2026-04-12 13:20:22 -05:00
Peter Steinberger
2ab8acb2c9
docs: refresh chat thinking and compaction refs
2026-04-04 18:25:13 +01:00
Peter Steinberger
3ec0463da9
docs: refresh minimax thinking refs
2026-04-04 12:23:33 +01:00
Vincent Koc
475defdf82
Anthropic: wire explicit service tier params ( #45453 )
...
* Anthropic: add explicit service tier wrapper
* Runner: wire explicit Anthropic service tiers
* Tests: cover explicit Anthropic service tiers
* Changelog: note Anthropic service tier follow-up
* fix(agents): make Anthropic service tiers override fast mode
* fix(config): drop duplicate healed sourceConfig
* docs(anthropic): update fast mode service tier guidance
* fix(agents): remove dead Anthropic Bedrock exports
* fix(agents): avoid cross-provider Anthropic tier warnings
* fix(agents): avoid cross-provider OpenAI tier warnings
2026-03-30 08:54:56 +09:00