sync: 同步服务器最新代码 (2026-01-27)
Some checks failed
continuous-integration/drone/push Build is failing

更新内容:
- 后端 AI 服务优化(能力分析、知识点解析等)
- 前端考试和陪练界面更新
- 修复多个 prompt 和 JSON 解析问题
- 更新 Coze 语音客户端
This commit is contained in:
111
2026-01-27 10:03:28 +08:00
parent fcef140d1a
commit 442ac78b56
28 changed files with 324 additions and 121 deletions

View File

@@ -213,3 +213,8 @@ PRIORITY_LEVELS = ["high", "medium", "low"]

View File

@@ -46,3 +46,8 @@ INCORRECT_KEYWORDS = ["错误", "incorrect", "false", "no", "wrong", "不正确"

View File

@@ -72,3 +72,8 @@ DEFAULT_TEMPERATURE = 0.7

View File

@@ -254,8 +254,11 @@ QUESTION_SCHEMA = {
"description": "知识点ID"
},
"correct": {
"type": "string",
"description": "正确答案"
"oneOf": [
{"type": "string"},
{"type": "array", "items": {"type": "string"}}
],
"description": "正确答案(单选/判断/填空为字符串,多选为数组)"
},
"analysis": {
"type": "string",
@@ -298,3 +301,8 @@ MAX_DIFFICULTY_LEVEL = 5

View File

@@ -146,3 +146,8 @@ DEFAULT_KNOWLEDGE_TYPE = "理论知识"

View File

@@ -191,3 +191,8 @@ ANNOTATION_TAGS = [

View File

@@ -190,3 +190,8 @@ DEFAULT_DIFFICULTY = "intermediate"