TeamLeaderRunner を4モジュールに分割(execution, aggregation, common, streaming)し、 パート完了時にキュー残数が refill_threshold 以下になると追加タスクを動的に生成する worker pool 型の実行モデルを実装。ParallelLogger に LineTimeSliceBuffer を追加し ストリーミング出力を改善。deep-research ピースに team_leader 設定を追加。
42 lines
1.0 KiB
JSON
42 lines
1.0 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"done": {
|
|
"type": "boolean",
|
|
"description": "True when no additional part is needed"
|
|
},
|
|
"reasoning": {
|
|
"type": "string",
|
|
"description": "Brief reason for the decision"
|
|
},
|
|
"parts": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "Unique part identifier"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"description": "Human-readable part title"
|
|
},
|
|
"instruction": {
|
|
"type": "string",
|
|
"description": "Instruction for the part agent"
|
|
},
|
|
"timeout_ms": {
|
|
"type": ["integer", "null"],
|
|
"description": "Optional timeout in ms"
|
|
}
|
|
},
|
|
"required": ["id", "title", "instruction", "timeout_ms"],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": ["done", "reasoning", "parts"],
|
|
"additionalProperties": false
|
|
}
|