Compare commits

..

3 Commits

Author SHA1 Message Date
GitHub Action
252c5516a0 🤖 Auto-update AI summary cache [skip ci] 2025-07-10 00:52:44 +00:00
36492898d4 Merge branch 'main' of https://github.com/Wcowin/Mkdocs-Wcowin 2025-07-10 08:52:05 +08:00
1639ed459f Update resume PDF path and AI summary config
Moved the resume PDF from docs/about to docs/assets and updated the iframe src in resume.md accordingly. Changed the default for AI_SUMMARY_LOCAL_ENABLED to 'false' in ai_summary.py. Updated .ai_cache with new summary and service config timestamp.
2025-07-10 08:51:58 +08:00
7 changed files with 10 additions and 3 deletions

View File

@ -0,0 +1,7 @@
{
"summary": "网站持续优化,包括流畅度提升、教程更新、修复显示问题,引入新材料设计规范和插件,提升用户体验。",
"service": "glm",
"page_title": "2025网站更新记录",
"timestamp": "2025-07-09T23:18:47.552565",
"language": "zh"
}

View File

@ -6,5 +6,5 @@
"gemini"
],
"summary_language": "zh",
"check_time": "2025-07-09T15:19:27.429521"
"check_time": "2025-07-10T00:52:37.373184"
}

View File

@ -28,6 +28,6 @@ comments: false
---
<iframe src="../个人简历.pdf" width="100%" height="1250px" style="border: 1.5px solid #ccc; overflow: auto; border-radius: 18px; background: #fff;"></iframe>
<iframe src="/assets/个人简历.pdf" width="100%" height="1250px" style="border: 1.5px solid #ccc; overflow: auto; border-radius: 18px; background: #fff;"></iframe>
</div>

View File

@ -24,7 +24,7 @@ class AISummaryGenerator:
'enabled_in_ci': os.getenv('AI_SUMMARY_CI_ENABLED', 'true').lower() == 'true',
# 本地部署环境开关 (true=本地开发时启用AI摘要)
'enabled_in_local': os.getenv('AI_SUMMARY_LOCAL_ENABLED', 'true').lower() == 'true',
'enabled_in_local': os.getenv('AI_SUMMARY_LOCAL_ENABLED', 'false').lower() == 'true',
# CI部署仅缓存模式(不用管只在ci.yml中设置有效)
'ci_only_cache': os.getenv('AI_SUMMARY_CI_ONLY_CACHE', 'false').lower() == 'true',