fix: 修复AI处理f-string中JSON花括号转义问题

This commit is contained in:
2026-04-13 17:03:09 +08:00
parent 6f0905d83a
commit 3eae1595aa

View File

@@ -185,7 +185,7 @@ def ai_process():
{text}
请按以下JSON格式返回结果只返回JSON不要其他内容
{
{{
"type": "text/link/column/todo",
"title": "提取的标题(简短概括)",
"content": "主要内容(如果是文本类型)",
@@ -195,7 +195,7 @@ def ai_process():
"note": "补充说明或备注",
"status": "如果是待办默认pending",
"priority": "如果是待办默认medium"
}
}}
类型判断规则:
- link: 包含http/https链接且不是专栏订阅地址