openclaw/docs
clawsweeper[bot] d44553dade
fix(gateway): wire max_completion_tokens/max_tokens through openai-http (#81013)
Summary:
- The branch adds Chat Completions token-cap fields to the Gateway request type, forwards them as agent stream parameters, and documents/tests the behavior.
- Reproducibility: yes. Source inspection gives a high-confidence current-main path: send `max_completion_toke ... tokens` to `/v1/chat/completions` and observe that the current handler never sets `streamParams.maxTokens`.

Automerge notes:
- PR branch already contained follow-up commit before automerge: fix(gateway): wire max_completion_tokens/max_tokens through openai-http

Validation:
- ClawSweeper review passed for head a9c39f7d4a.
- Required merge gates passed before the squash merge.

Prepared head SHA: a9c39f7d4a
Review: https://github.com/openclaw/openclaw/pull/81013#issuecomment-4430303959

Co-authored-by: Bingsen <dingheng.huang@urbanic.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-12 12:08:07 +00:00
..
.generated chore: release 2026.5.12-beta.1 2026-05-12 06:33:41 +01:00
.i18n docs: reorganize tools automation nav (#80116) 2026-05-11 15:59:27 -07:00
announcements fix: add channel status filtering (#80706) 2026-05-11 18:44:54 +01:00
assets Add browser and tool profile quick settings (#80609) 2026-05-11 10:06:00 +00:00
automation docs: reorganize tools automation nav (#80116) 2026-05-11 15:59:27 -07:00
channels fix(telegram): preserve supported html replies 2026-05-12 15:54:01 +05:30
clawhub docs: add ClawHub publishing page 2026-05-07 19:43:06 -07:00
cli fix(gateway): honor minimal discovery mode for wide-area DNS-SD [AI] (#80903) 2026-05-12 16:03:50 +05:30
concepts fix(matrix): default markdown tables to bullets across Matrix clients 2026-05-12 15:15:05 +05:30
debug
diagnostics
gateway fix(gateway): wire max_completion_tokens/max_tokens through openai-http (#81013) 2026-05-12 12:08:07 +00:00
help docs(help): correct built-in opus/gpt aliases to match DEFAULT_MODEL_ALIASES 2026-05-12 11:04:19 +08:00
images
install docs(docker): document auth profile key mount 2026-05-12 16:35:53 +05:30
nodes feat(openrouter): add inbound audio STT support 2026-05-12 06:50:12 +01:00
plan
platforms feat: add native sqlite Kysely dialect 2026-05-07 13:07:03 +01:00
plugins fix(codex): release quiet completed app-server turns (#80776) 2026-05-12 09:39:09 +02:00
providers feat(openrouter): add inbound audio STT support 2026-05-12 06:50:12 +01:00
refactor docs: reorganize tools automation nav (#80116) 2026-05-11 15:59:27 -07:00
reference ci: speed up beta release verification 2026-05-12 06:21:09 +01:00
security lint: classify raw socket callsites 2026-05-08 01:18:04 +10:00
snippets/plugin-publish
start docs: reorganize tools automation nav (#80116) 2026-05-11 15:59:27 -07:00
superpowers/specs
tools fix(plugins): load untracked TS source plugins 2026-05-12 07:08:38 +01:00
web fix(auth): align operator bootstrap scopes 2026-05-11 14:14:33 -05:00
AGENTS.md docs: keep qa broker notes internal 2026-05-08 06:01:23 +01:00
auth-credential-semantics.md
brave-search.md
ci.md ci: add plugin inspector prerelease advisory 2026-05-11 12:46:33 +01:00
CLAUDE.md
date-time.md
docs.json docs: reorganize tools automation nav (#80116) 2026-05-11 15:59:27 -07:00
index.md feat: add native sqlite Kysely dialect 2026-05-07 13:07:03 +01:00
logging.md chore: add model transport debugging 2026-05-11 10:11:03 +01:00
nav-tabs-underline.js
network.md
perplexity.md
pi-dev.md
pi.md build: refresh deps and route testbox through crabbox 2026-05-11 03:41:00 +01:00
prose.md
style.css
tts.md
vps.md
whatsapp-openclaw-ai-zh.jpg
whatsapp-openclaw.jpg