wizardchen
2a99e2458d
feat: add SSRF protection for URL fetching
2026-01-21 19:13:14 +08:00
wizardchen
e55cbaa057
fix: switch to append mode on retry to prevent data loss
2026-01-21 19:13:14 +08:00
wizardchen
f183b5c598
feat: offload large FAQ imports to object storage
2026-01-21 19:13:14 +08:00
DJ
8b160bba15
fix: use typed context key instead of string literal- Add UserContextKey constant to types package- Replace bare string 'user' with types.UserContextKey in auth middleware- Update user service to use UserContextKey for context value retrieval- Fixes staticcheck SA1029 warningThis prevents potential context key collisions.
2026-01-21 19:12:24 +08:00
wizardchen
aa4af5365e
feat: add thinking mode support for agents
2026-01-20 18:19:44 +08:00
wizardchen
b1895f7443
perf: batch tag reference counting
2026-01-20 18:19:44 +08:00
wizardchen
a6ba12f389
fix: switch to append mode on retry to prevent data loss
2026-01-20 18:19:44 +08:00
wizardchen
4636bca2b7
perf: optimize FAQ security check with concurrency
2026-01-20 18:19:44 +08:00
wizardchen
5665fb00cb
refactor: store FAQ import task info instead of ID
2026-01-20 18:19:44 +08:00
wizardchen
fad72fc272
refactor: web search provider registry pattern
2026-01-20 18:19:44 +08:00
wizardchen
b74545b007
fix: check existing progress before saving
2026-01-20 18:19:44 +08:00
wizardchen
b969681269
fix: only cleanup unused tags in replace mode
2026-01-20 18:19:44 +08:00
wizardchen
cb9369b16b
feat: support large FAQ imports via object storage
2026-01-20 18:19:44 +08:00
wizardchen
a9df80b5db
feat: offload large FAQ imports to object storage
2026-01-20 18:19:44 +08:00
nullkey
8784018d86
docs: update README and add agent.md for Agent API
2026-01-20 12:07:30 +08:00
begoniezhao
15f98d214b
refactor: Simplify content merging and align with backend logic
2026-01-16 16:50:54 +08:00
begoniezhao
e655b49ed2
docs: Update README and FAQ for config, OCR, and troubleshooting
2026-01-16 16:05:31 +08:00
begoniezhao
88fd42cbc3
refactor: Restructure OCR module and centralize config
2026-01-16 16:05:31 +08:00
cc
74bf76eb3f
fix(parser): provide explicit file_extension for markitdown to resolve #544
2026-01-16 11:50:42 +08:00
cc
3f2792dff4
fix(parser): provide explicit file_extension for markitdown to resolve #544
2026-01-16 11:50:42 +08:00
wizardchen
c399665a42
chore: update version to 0.2.10
2026-01-16 11:00:26 +08:00
lyingbug
e5baf69624
Merge pull request #555 from lyingbug/main
...
FAQ Update
2026-01-15 20:09:20 +08:00
joeyczheng
b1633c836a
fix: concurrent map writes due to dig.Container is not thread safe
...
Signed-off-by: joeyczheng <joeyczheng@tencent.com >
2026-01-15 20:07:11 +08:00
wizardchen
0ea9acfc2f
feat: 支持删除文档类型标签
2026-01-15 19:38:16 +08:00
wizardchen
57d6fea8bc
fix: 禁用 stdio 传输以防止命令注入风险
2026-01-15 14:49:19 +08:00
wizardchen
48a0f9b508
Merge remote-tracking branch 'github_public/main'
2026-01-15 14:39:35 +08:00
wizardchen
d530a02cfe
fix: 修复FAQ更新时的重复检查逻辑
2026-01-15 14:34:24 +08:00
wizardchen
879e582041
fix: 修正迁移脚本中的表名拼写错误
2026-01-15 14:33:43 +08:00
Xia Dong
b648bd472c
feat(knowledge): Enhance delete functionality with success callback
...
- Updated the delKnowledge function to accept an optional onSuccess callback for post-deletion actions.
- Modified the delCardConfirm function to refresh the document list and tag counts upon successful deletion.
2026-01-15 10:57:06 +08:00
begoniezhao
1abdaa5d5c
feat: Make OCR and task concurrency configurable
2026-01-15 10:56:09 +08:00
Xia Dong
928d1c3d44
refactor(knowledge): Standardize formatting and improve code readability
...
- Reformatted the API functions in the knowledge base module for consistent indentation and spacing.
- Enhanced overall code readability without altering functionality.
2026-01-14 19:39:35 +08:00
Xia Dong
cec722aa43
feat(knowledge): Add tag_id support for knowledge creation and file uploads
...
- Introduced tag_id parameter in various knowledge-related API functions to allow categorization of knowledge entries.
- Updated frontend components to handle tag_id during knowledge creation and file uploads.
- Enhanced UI store to manage the selected tag ID for better user experience in categorizing knowledge.
2026-01-14 19:39:35 +08:00
begoniezhao
6c90480e82
refactor: Improve chunk merge/split logic and add validation
2026-01-14 19:36:04 +08:00
wizardchen
3f25d36c46
perf: 优化FAQ索引更新和删除性能
2026-01-14 17:30:04 +08:00
wizardchen
17604c9b94
perf: 为批量索引添加并发保存优化
2026-01-14 17:21:42 +08:00
wizardchen
5a93be8dbd
fix: 清理未使用标签时忽略已软删除记录
2026-01-14 17:19:30 +08:00
wizardchen
e3ac490c8e
fix: 修复 FAQ 导入时清理 Tag 的逻辑
2026-01-14 17:19:21 +08:00
wizardchen
1c899a6f2c
fix: 修复FAQ条目标签变更时未更新的问题
2026-01-14 17:19:05 +08:00
wizardchen
dae772dd17
fix: 确保"未分类"标签排在最前
2026-01-14 17:18:45 +08:00
wizardchen
858d8875e8
fix: 修复切片越界导致的潜在崩溃
2026-01-14 17:18:35 +08:00
wizardchen
a4b7c24504
feat: 添加 SeqID 自动递增标签
2026-01-14 17:17:14 +08:00
wizardchen
6c9d31496f
feat: 添加FAQ导入成功条目详情展示
2026-01-14 17:16:53 +08:00
wizardchen
0f35ffccc6
feat: 优化FAQ导入结果卡片UI与功能
2026-01-14 17:14:50 +08:00
wizardchen
25247c67e5
fix: 修正删除标签使用正确的ID字段
2026-01-14 17:14:39 +08:00
wizardchen
8702cab035
refactor: 移除重复的导入结果统计卡片
2026-01-14 17:14:29 +08:00
wizardchen
6399d6ba0b
fix: 修正FAQ标签过滤使用seq_id而非id的类型问题
2026-01-14 17:14:18 +08:00
wizardchen
9338603c20
feat: 支持向 FAQ 条目添加相似问
2026-01-14 17:14:06 +08:00
wizardchen
14d7d3d995
feat: 为 FAQ 和标签引入 seq_id 支持
2026-01-14 17:13:44 +08:00
wizardchen
2e9793db8e
feat: 添加更新最后FAQ导入结果显示状态的方法
2026-01-14 17:09:19 +08:00
wizardchen
84a4ec62de
refactor: 简化FAQ导入结果获取逻辑
...
将导入结果字段合并到FAQImportProgress结构体中,当状态为completed时自动填充。删除了独立的GetLastFAQImportResult接口和相关方法,客户端改为通过进度接口获取已完成任务的结果,并使用localStorage记录最后完成的任务ID。
2026-01-14 17:09:19 +08:00