cli : fix reasoning responses in CLI (#18961)

* cli : fix reasoning responses in CLI

* fix build

* fix build (2)
This commit is contained in:
Xuan-Son Nguyen 2026-01-20 18:23:25 +01:00 committed by GitHub
parent d1e3556481
commit 2c1f199653
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 417 additions and 390 deletions

View file

@ -284,6 +284,7 @@ struct common_params_diffusion {
};
// reasoning API response format (not to be confused as chat template's reasoning format)
// only used by server
enum common_reasoning_format {
COMMON_REASONING_FORMAT_NONE,
COMMON_REASONING_FORMAT_AUTO, // Same as deepseek, using `message.reasoning_content`