diff --git a/backend/mindmap.db b/backend/mindmap.db index 6f86a79..a432576 100644 Binary files a/backend/mindmap.db and b/backend/mindmap.db differ diff --git a/backend/mindmap/ai_service.py b/backend/mindmap/ai_service.py index 148c01b..8cc26de 100644 --- a/backend/mindmap/ai_service.py +++ b/backend/mindmap/ai_service.py @@ -50,7 +50,7 @@ def call_ai_api(system_prompt, user_prompt, model="glm-4.5", base_url="https://o model=model, messages=messages, temperature=0.7, - max_tokens=2000, + max_tokens=8000, # 增加token限制,避免内容截断 stream=False ) except Exception as e: diff --git a/frontend/src/components/AISidebar.vue b/frontend/src/components/AISidebar.vue index 66165af..5c2d10e 100644 --- a/frontend/src/components/AISidebar.vue +++ b/frontend/src/components/AISidebar.vue @@ -77,15 +77,15 @@ - -
+ +

📝 AI生成的Markdown结果

@@ -100,9 +100,9 @@
- -