[Bugfix][Frontend] Apply output_config and thinking in Anthropic count_tokens (#59180)

Signed-off-by: Kang Nahoon <ejrtks102020@gmail.com>
Co-authored-by: Flora Feng <4florafeng@gmail.com>
This commit is contained in:
Kang Nahoon
2026-10-08 00:24:20 +00:00
committed by GitHub
co-authored by Flora Feng
parent 1283362e76
commit 1995c0fcd0
3 changed files with 32 additions and 4 deletions
+2
View File
@@ -385,7 +385,9 @@ class AnthropicCountTokensRequest(BaseModel):
model: str
messages: list[AnthropicMessage]
output_config: AnthropicOutputConfig | None = None
system: str | list[AnthropicContentBlock] | None = None
thinking: AnthropicThinkingConfig | None = None
tool_choice: AnthropicToolChoice | None = None
tools: list[AnthropicTool] | None = None