b05e1c8488
The floating chat called Espo.Ajax.postRequest with timeout:180000, which is shorter than the agentic loop's worst-case latency. On 2026-05-13 a prod request to generate a direct-access report sat 227s in the first ai-gateway iteration (large skill+context payload), so the browser fired the .catch() handler at 180s and rendered "שגיאה בתקשורת" — even though the backend completed the work 47s later (report attached to case 42). Changes: - floating-chat.js: timeout 180000 → 600000 (matches the PHP curl timeout already set to 600s in SmartAssistantService.php:521). - After 60s the spinner label swaps to a "still working" hint so the user knows long requests are normal, not stuck. - i18n: new SlowHint label in en_US + fa_IR (the project uses fa_IR as the Hebrew slot). Refs Task Master #3 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"models": {
|
|
"main": {
|
|
"provider": "claude-code",
|
|
"modelId": "sonnet",
|
|
"maxTokens": 64000,
|
|
"temperature": 0.2,
|
|
"id": "sonnet"
|
|
},
|
|
"research": {
|
|
"provider": "claude-code",
|
|
"modelId": "sonnet",
|
|
"maxTokens": 8700,
|
|
"temperature": 0.1,
|
|
"id": "claude-sonnet-4-20250514"
|
|
},
|
|
"fallback": {
|
|
"provider": "claude-code",
|
|
"modelId": "sonnet",
|
|
"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"
|
|
}
|
|
} |