Liu Wenyu
c91fffdd67
feat(config): support Qwen thinkingFormat values (#79777)
## Summary
- allow configured OpenAI-compatible Qwen models to opt into `qwen` and `qwen-chat-template` thinking payloads
- preserve those compat values through schema validation and catalog normalization
- map OpenClaw `/think` levels to `enable_thinking` or `chat_template_kwargs.enable_thinking` without also sending `reasoning_effort`
- clarify docs that request-level chat-template kwargs require compatible backends such as vLLM
## Verification
- git diff --check
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md docs/gateway/config-agents.md docs/gateway/config-tools.md src/config/zod-schema.core.ts src/config/types.models.ts src/model-catalog/normalize.ts src/agents/openai-transport-stream.ts src/config/config-misc.test.ts src/model-catalog/normalize.test.ts src/agents/openai-transport-stream.test.ts
- pnpm config:schema:check
- pnpm test src/config/config-misc.test.ts src/model-catalog/normalize.test.ts src/agents/openai-transport-stream.test.ts
- GitHub CI on 2404edca39
Thanks @indulgeback.
2026-05-09 08:02:39 -04:00
..
2026-05-09 12:36:37 +01:00
2026-05-09 04:41:45 -04:00
2026-04-04 13:36:58 +09:00
2026-05-07 18:55:08 -07:00
2026-05-09 12:36:37 +01:00
2026-05-07 19:43:06 -07:00
2026-05-09 12:16:58 +01:00
2026-05-09 15:28:54 +05:30
2026-05-06 08:49:27 -07:00
2026-05-02 07:49:12 +01:00
2026-05-09 08:02:39 -04:00
2026-05-09 06:06:08 -04:00
2026-04-13 18:03:44 +08:00
2026-05-08 13:19:55 +05:30
2026-05-09 06:51:20 -04:00
2026-05-03 13:46:26 +09:00
2026-05-07 13:07:03 +01:00
2026-05-09 06:51:20 -04:00
2026-05-09 11:45:43 +01:00
2026-05-07 03:39:26 -07:00
2026-05-09 06:06:08 -04:00
2026-05-08 01:18:04 +10:00
2026-04-28 03:13:20 +01:00
2026-05-07 18:55:08 -07:00
2026-05-02 22:37:01 +01:00
2026-05-09 06:51:20 -04:00
2026-05-08 16:11:17 +02:00
2026-05-08 06:01:23 +01:00
2026-05-07 10:24:19 +01:00
2026-05-02 04:42:55 +01:00
2026-05-07 03:56:53 +01:00
2026-04-12 09:09:50 +01:00
2026-05-05 21:14:55 -07:00
2026-05-09 06:06:08 -04:00
2026-05-07 13:07:03 +01:00
2026-05-06 03:02:02 -07:00
2026-05-05 21:14:55 -07:00
2026-05-05 17:38:21 +01:00
2026-04-26 23:57:10 -07:00
2026-05-05 21:14:55 -07:00
2026-04-23 20:40:15 -07:00
2026-04-17 16:05:10 +01:00
2026-04-23 20:40:15 -07:00
2026-04-29 14:36:33 -07:00