curl --location --request POST 'https://api.qnaigc.com/v1/chat/completions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "claude-4.6-opus",
"messages": [
{
"content": [
{
"text": "什么是太阳",
"type": "text"
}
],
"role": "user"
}
],
"thinking": {
"type": "enabled",
"budget_tokens": 1024 // claude-4.6-opus 模型支持最小为 1024,但要小于 max_token
}
}'{}