style: lint code

This commit is contained in:
Sun-ZhenXing
2026-02-23 17:41:05 +08:00
parent ced072de66
commit 7e14b01b78
240 changed files with 4301 additions and 1539 deletions

View File

@@ -6,8 +6,8 @@
DeepTutor is an AI-powered personalized learning assistant that transforms any document into an interactive learning experience with multi-agent intelligence. It helps you solve problems, generate questions, conduct research, collaborate on writing, organize notes, and guides you through learning paths.
**Project:** <https://github.com/HKUDS/DeepTutor>
**License:** Apache-2.0
**Project:** <https://github.com/HKUDS/DeepTutor>
**License:** Apache-2.0
**Documentation:** <https://hkuds.github.io/DeepTutor/>
## Features

View File

@@ -6,8 +6,8 @@
DeepTutor 是一个 AI 驱动的个性化学习助手,通过多智能体系统将任何文档转化为交互式学习体验。它可以帮助您解决问题、生成题目、进行研究、协作写作、整理笔记,并引导您完成学习路径。
**项目地址:** <https://github.com/HKUDS/DeepTutor>
**许可证:** Apache-2.0
**项目地址:** <https://github.com/HKUDS/DeepTutor>
**许可证:** Apache-2.0
**文档:** <https://hkuds.github.io/DeepTutor/>
## 功能特性

View File

@@ -8,15 +8,15 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
deeptutor:
<<: *defaults
image: ${GLOBAL_REGISTRY:-ghcr.io}/hkuds/deeptutor:${DEEPTUTOR_VERSION:-latest}
ports:
- "${DEEPTUTOR_BACKEND_PORT_OVERRIDE:-8001}:${BACKEND_PORT:-8001}"
- "${DEEPTUTOR_FRONTEND_PORT_OVERRIDE:-3782}:${FRONTEND_PORT:-3782}"
- '${DEEPTUTOR_BACKEND_PORT_OVERRIDE:-8001}:${BACKEND_PORT:-8001}'
- '${DEEPTUTOR_FRONTEND_PORT_OVERRIDE:-3782}:${FRONTEND_PORT:-3782}'
volumes:
- deeptutor_data:/app/data
- ./config:/app/config:ro
@@ -42,15 +42,14 @@ services:
- PGID=${PGID:-1000}
healthcheck:
test:
[
"CMD",
"curl",
"-f",
"http://localhost:${BACKEND_PORT:-8001}/health",
"||",
"exit",
"1",
]
- CMD
- curl
- -f
- 'http://localhost:${BACKEND_PORT:-8001}/health'
- '||'
- exit
- '1'
interval: 30s
timeout: 10s
retries: 3