Files
higress/plugins/wasm-go/extensions/ai-proxy/provider
johnlanni bdfe9950ce feat(ai-proxy): add promoteThinkingOnEmpty and hiclawMode config options
When some models (e.g. kimi-k2.5) put user-facing replies into
reasoning_content/thinking blocks without generating text content,
downstream clients receive empty responses. This adds a new
promoteThinkingOnEmpty option that promotes reasoning content to
text content when the response has no text block.

Also adds hiclawMode as a convenience flag that enables both
mergeConsecutiveMessages and promoteThinkingOnEmpty for multi-agent
collaboration scenarios.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 23:28:17 +08:00
..
2025-11-11 19:36:26 +08:00
2026-03-19 19:25:55 +08:00
2026-03-19 19:25:55 +08:00
2025-10-29 14:31:38 +08:00