技术博客 / Coder
🤡 由 Kimi 死循环消耗了两个周限额带来的 CC User-Agent 分析
被 CC 计费头坑了,但无关缓存
[2026-06-24 13:09:41][DEBUG] Received request: POST to /v1/messages with body {
"model": "google/gemma-4-12b-qat",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "<session>\nHello memory agent, you are continuing to observe the primary Claude session..."
}
]
}
],
"system": [
{
"type": "text",
"text": "x-anthropic-billing-header: cc_version=2.1.186.a9d; cc_entrypoint=sdk-cli;"
},
{
"type": "text",
"text": "You are a Claude agent, built on Anthropic's Claude Agent SDK."
},
{
"type": "text",
"text": "Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear ..."
}
],
"tools": [],
"metadata": {
"user_id": "{...}"
},
"max_tokens": 32000,
"output_config": {
"effort": "high",
"format": {
"type": "json_schema",
"schema": {
"type": "object",
"properties": {
"title": {
"type": "string"
}
},
"required": [
"title"
],
"additionalProperties": false
}
}
},
"stream": true
}