docs(api): 完善全模块 API 文档 + 修复前后端接口不一致问题#5
Merged
sylvanding merged 3 commits intomainfrom Mar 12, 2026
Merged
Conversation
…audit
- ChatHistoryPage: use message_count instead of messages.length for list items
- SearchPage: handle bulk import response {created} instead of {imported}
- KeywordsPage: properly parse expand results as objects, not strings
- PapersPage: fix dedup AI resolve to call auto-resolve then resolve
- PapersPage: fix auto-resolve-all to actually execute suggested actions
- kb-api: correct autoResolve return type and bulkImport response type
- chat types: add message_count and last_message_preview fields
- rewrite: replace asyncio.wait_for with asyncio.timeout for async generators
- search_service: fix arXiv URL from http to https (301 redirect)
- subscription_service: fix arXiv RSS URLs from http to https
Made-with: Cursor
- New docs: chat, conversations, settings, tasks, pipelines, dedup, ocr, crawler, subscription - Update existing: rag (query→question), papers (upload/bulk), keywords (expand/bulk/formula), writing (citation style), projects (pipeline) - Update API index pages with links to all modules - Both English and Chinese versions Made-with: Cursor
…ype errors
- docs: deduplicate heading IDs in chat, tasks, settings, pipelines docs
(VitePress requires unique heading text within each file)
- frontend: fix paperApi.bulkImport return type {imported} → {created, skipped, total}
- frontend: add error? field to autoResolve response type
- frontend: fix SearchPage importMutation to use res.created
Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
messages.length→message_count)imported→created)ai_resolve→ 调用 auto-resolve + resolve)asyncio.wait_for不支持 async generator →asyncio.timeoutTest plan
tsc --noEmit)