docs: document explicit reasoning disable in translations (#151)

This commit is contained in:
Jason Xu authored and GitHub committed 2026-10-23 08:46:03 +08:00
1 parent 394acb5de3
commit ab55803cdc
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -283,7 +283,7 @@ Consulta [config.example.json](config.example.json) per una configurazione inizi
}
```
Un livello specificato esplicitamente dal client ha sempre la precedenza. L'impostazione sostituisce solo un livello non richiesto: assente oppure derivato da `thinking.budget_tokens`. Usa `"none"` per rimuovere il ragionamento dalle richieste che non lo richiedono.
Le disattivazioni esplicite del client restano attive durante la conversione tra protocolli: `thinking.type="disabled"` nativo di Anthropic e l'effort `"none"` di Chat/Responses non possono essere riattivati da un valore predefinito configurato.
I livelli vengono riportati fedelmente in entrambe le direzioni. Un `output_config.effort` esplicito sopravvive alla conversione e non viene sovrascritto da un blocco `thinking`; `budget_tokens` conserva il proprio livello (`8192` corrisponde a `high`, `32000` a `xhigh`), e la destinazione Responses trasporta il livello in `reasoning.effort`.
+1 -1
View File
@@ -291,7 +291,7 @@ Xem [config.example.json](config.example.json) để có một cấu hình khở
}
```
Bậc do client nêu tường minh luôn thắng, nên thiết lập này chỉ thay thế một bậc mà không ai yêu cầu: bậc bị thiếu, hoặc bậc suy ra từ `thinking.budget_tokens`. Dùng `"none"` để loại bỏ reasoning khỏi các request không yêu cầu nó.
Việc tắt reasoning do client chỉ định luôn được ưu tiên. `thinking.type="disabled"` nguyên bản của Anthropic và effort `"none"` của Chat/Responses vẫn được giữ ở trạng thái tắt sau khi chuyển đổi giao thức, không thể bị bật lại bởi giá trị mặc định đã cấu hình.
Các bậc được báo trung thực theo cả hai chiều. Một `output_config.effort` tường minh sống sót qua chuyển đổi thay vì bị khối `thinking` che khuất, `budget_tokens` giữ đúng bậc của nó (`8192` là `high`, `32000` là `xhigh`, nên hai mức vẫn phân biệt được), và phía Responses mang bậc này dưới dạng `reasoning.effort` thay vì bỏ mất.