1. TSPAssistant.create_work_order 补齐 tenant_id 参数 2. workorder_sync._create_workorder 修复 SQLAlchemy session 泄漏(用 flush 替代 commit+refresh+expunge) 3. _find_existing_workorder 返回 order_id 字符串而非 ORM 对象 4. 飞书同步日志精简: - feishu_client API 请求/响应日志降为 DEBUG - flexible_field_mapper 字段映射日志降为 DEBUG - workorder_sync 字段转换日志降为 DEBUG - 只保留关键的创建/同步结果为 INFO
37 lines
853 B
JSON
37 lines
853 B
JSON
{
|
|
"agent_mode": true,
|
|
"api_base_url": "",
|
|
"api_key": "",
|
|
"api_provider": "openai",
|
|
"api_timeout": 30,
|
|
"auto_monitoring": true,
|
|
"cpu_usage_percent": 0,
|
|
"current_server_port": 5000,
|
|
"current_websocket_port": 8765,
|
|
"log_level": "INFO",
|
|
"max_history": 10,
|
|
"memory_usage_percent": 70.9,
|
|
"model_max_tokens": 1000,
|
|
"model_name": "qwen-turbo",
|
|
"model_temperature": 0.7,
|
|
"refresh_interval": 10,
|
|
"server_port": 5000,
|
|
"uptime_seconds": 0,
|
|
"websocket_port": 8765,
|
|
"modules": {
|
|
"dashboard": true,
|
|
"chat": true,
|
|
"knowledge": true,
|
|
"workorders": true,
|
|
"conversation-history": true,
|
|
"alerts": true,
|
|
"feishu-sync": true,
|
|
"agent": false,
|
|
"token-monitor": true,
|
|
"ai-monitor": true,
|
|
"analytics": true,
|
|
"system-optimizer": true,
|
|
"settings": true,
|
|
"tenant-management": true
|
|
}
|
|
} |