The switch is off unless CONSULT_ANSWER_REASONING_EFFORT is set, so today's request body stays the same. A set value is sent as top-level reasoning_effort only on the answer step. The real A/B did not run: there is no model key. Request-body probe, the named frontend tests (114 pass, 0 fail), tsc, and lint (0 errors) were run. Co-Authored-By: Grok (agent loop) Co-authored-by: Cursor <cursoragent@cursor.com>
132 lines
3.1 KiB
JSON
132 lines
3.1 KiB
JSON
{
|
|
"fixtureProvenance": "node node_modules/tsx/dist/cli.mjs scripts/research/answer-effort-probe.mts --dry-run --save-baseline(开关尚未读取环境变量时的整份请求体)",
|
|
"natal": [
|
|
{
|
|
"model": "deepseek-flash",
|
|
"max_tokens": 24576,
|
|
"thinking": {
|
|
"type": "enabled"
|
|
},
|
|
"messages": [
|
|
{
|
|
"role": "system",
|
|
"content": "Reply ok."
|
|
},
|
|
{
|
|
"role": "user",
|
|
"content": "ping"
|
|
}
|
|
],
|
|
"tools": [
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "run-jyotish-consultation",
|
|
"description": "Mark the calculation done.",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"additionalProperties": false,
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"required": []
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"tool_choice": "auto",
|
|
"stream": true
|
|
},
|
|
{
|
|
"model": "deepseek-flash",
|
|
"max_tokens": 24576,
|
|
"thinking": {
|
|
"type": "enabled"
|
|
},
|
|
"messages": [
|
|
{
|
|
"role": "system",
|
|
"content": "Reply ok."
|
|
},
|
|
{
|
|
"role": "user",
|
|
"content": "ping"
|
|
},
|
|
{
|
|
"role": "assistant",
|
|
"content": "",
|
|
"tool_calls": [
|
|
{
|
|
"id": "call_1",
|
|
"type": "function",
|
|
"function": {
|
|
"name": "run-jyotish-consultation",
|
|
"arguments": "{}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"role": "tool",
|
|
"tool_call_id": "call_1",
|
|
"content": "{\"ok\":true}"
|
|
}
|
|
],
|
|
"tools": [
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "run-jyotish-consultation",
|
|
"description": "Mark the calculation done.",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"additionalProperties": false,
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"required": []
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"tool_choice": "auto",
|
|
"stream": true
|
|
}
|
|
],
|
|
"continue": [
|
|
{
|
|
"model": "deepseek-flash",
|
|
"max_tokens": 16384,
|
|
"thinking": {
|
|
"type": "disabled"
|
|
},
|
|
"messages": [
|
|
{
|
|
"role": "system",
|
|
"content": "Reply ok."
|
|
},
|
|
{
|
|
"role": "user",
|
|
"content": "ping"
|
|
}
|
|
],
|
|
"tools": [
|
|
{
|
|
"type": "function",
|
|
"function": {
|
|
"name": "run-jyotish-consultation",
|
|
"description": "Mark the calculation done.",
|
|
"parameters": {
|
|
"type": "object",
|
|
"properties": {},
|
|
"additionalProperties": false,
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"required": []
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"tool_choice": "auto",
|
|
"stream": true
|
|
}
|
|
]
|
|
}
|