b127cafb01
Two minimal additions for the upcoming v0.1.11 client work:
- /kb/search hits now include chunk_index, so the client can call
/source/{id}/chunks?around=N&ctx=K to fetch the matched chunk plus K
chunks before/after as context. Required by the new search-preview
layout for text sources, which until now duplicated the matched chunk
in both panes.
- /source/{id}/chunks accepts around (chunk_index) + ctx (window radius
clamped to 0..10). When around is given, returns only the windowed
range; otherwise unchanged (returns all chunks of the source).
Refs Task Master #1
44 lines
1.0 KiB
JSON
44 lines
1.0 KiB
JSON
{
|
|
"models": {
|
|
"main": {
|
|
"provider": "anthropic",
|
|
"modelId": "claude-sonnet-4-20250514",
|
|
"maxTokens": 64000,
|
|
"temperature": 0.2
|
|
},
|
|
"research": {
|
|
"provider": "perplexity",
|
|
"modelId": "sonar",
|
|
"maxTokens": 8700,
|
|
"temperature": 0.1
|
|
},
|
|
"fallback": {
|
|
"provider": "anthropic",
|
|
"modelId": "claude-3-7-sonnet-20250219",
|
|
"maxTokens": 120000,
|
|
"temperature": 0.2
|
|
}
|
|
},
|
|
"global": {
|
|
"logLevel": "info",
|
|
"debug": false,
|
|
"defaultNumTasks": 10,
|
|
"defaultSubtasks": 5,
|
|
"defaultPriority": "medium",
|
|
"projectName": "Task Master",
|
|
"ollamaBaseURL": "http://localhost:11434/api",
|
|
"bedrockBaseURL": "https://bedrock.us-east-1.amazonaws.com",
|
|
"responseLanguage": "English",
|
|
"enableCodebaseAnalysis": true,
|
|
"enableProxy": false,
|
|
"anonymousTelemetry": true,
|
|
"userId": "1234567890"
|
|
},
|
|
"claudeCode": {},
|
|
"codexCli": {},
|
|
"grokCli": {
|
|
"timeout": 120000,
|
|
"workingDirectory": null,
|
|
"defaultModel": "grok-4-latest"
|
|
}
|
|
} |