Bingxi Zhao
eec9981de6
doc: update
v0.5.2
2026-01-18 15:47:21 +08:00
Bingxi Zhao
1e9cc6b26d
fix: KB init & migrate, code structure
2026-01-18 15:30:28 +08:00
Bingxi Zhao
93b5018501
fix: DB init & migrate
2026-01-18 14:49:07 +08:00
Bingxi Zhao
c1752f0512
fix: rag-provider
2026-01-18 13:52:29 +08:00
Bingxi Zhao
74fbaf752d
fix lint
2026-01-18 12:38:14 +08:00
Bingxi Zhao
b3f511d45f
feat: enhance RAG pipeline with Docling support and improve CI/CD workflows
v0.5.1
2026-01-18 12:25:45 +08:00
Bingxi Zhao
5a546b53f6
feat: enhance RAG pipeline with Docling support and improve CI/CD workflows
2026-01-18 12:25:45 +08:00
github-actions[bot]
a937f6d466
chore: update repo roster images [skip ci]
2026-01-18 02:08:22 +00:00
Bingxi Zhao
12a5172a8b
fix:docker
2026-01-18 02:59:55 +08:00
github-actions[bot]
7375ba0402
chore: update repo roster images [skip ci]
2026-01-17 12:47:34 +00:00
github-actions[bot]
cb449960b5
chore: update repo roster images [skip ci]
2026-01-17 01:55:24 +00:00
github-actions[bot]
43252f851d
chore: update repo roster images [skip ci]
2026-01-16 12:53:37 +00:00
github-actions[bot]
ee4f39f679
chore: update repo roster images [skip ci]
2026-01-16 02:01:06 +00:00
Bingxi Zhao
6469293b1a
Merge dev into main: code cleanup and improvements
2026-01-15 22:29:47 +08:00
Bingxi Zhao
1578a77af6
merge: resolve conflicts from origin/dev
2026-01-15 22:29:30 +08:00
Bingxi Zhao
fdd0aea3a9
refactor: code cleanup and improvements
...
- Backend: knowledge router, add_documents, initializer, manager updates
- Config: knowledge_base_config, RAG routing improvements
- Frontend: guide components, hooks, knowledge page updates
- Context providers and type definitions cleanup
2026-01-15 22:28:22 +08:00
Bingxi Zhao
69a5f1731f
Merge branch 'main' of https://github.com/HKUDS/DeepTutor
2026-01-15 22:26:36 +08:00
Bingxi Zhao
7377d832de
docs: add one-click install scripts to README & fix manager.py linting issues
...
- Add python scripts/install_all.py option to all README translations
- Fix bandit B324: add usedforsecurity=False to MD5 hash
- Fix mypy errors: add type annotations, fix variable name conflicts
- Remove accidental duplicate main() function
2026-01-15 22:25:58 +08:00
Pancake
f5b7a2e2df
fix: env, file upload, web refactor, llm details
2026-01-15 21:05:16 +08:00
github-actions[bot]
5b8b9d6de8
chore: update repo roster images [skip ci]
2026-01-15 12:54:48 +00:00
Bingxi Zhao
388bc1359a
refactor frontend & rag
2026-01-15 18:41:30 +08:00
Bingxi Zhao (Frank)
c3549e8ce0
update discord
2026-01-15 18:30:55 +08:00
Bingxi Zhao (Frank)
673364d6a2
update discord
2026-01-15 18:30:08 +08:00
Bingxi Zhao
a9be64a0d8
Merge origin/main into dev
2026-01-15 14:09:51 +08:00
Bingxi Zhao (Frank)
74c8d14af0
Merge pull request #127 from ahmedjawedaj/feature/folder-sync-refactored
...
feat: folder sync with improved architecture (supersedes #122 )
2026-01-15 13:31:21 +08:00
Bingxi Zhao (Frank)
d5fba14b95
Merge pull request #130 from Purestone/feat/json-repair-robustness
...
feat: centralise JSON parsing with automatic repair fallback
2026-01-15 13:30:13 +08:00
github-actions[bot]
4b079d05e6
chore: update repo roster images [skip ci]
2026-01-15 01:59:13 +00:00
Purestone
bb0def6220
feat: add json-repair to dependencies
...
Required by parse_json_response() utility function for malformed JSON repair
- json-repair>=0.55.0 (latest stable version)
2026-01-15 04:30:50 +08:00
Purestone
a2ca986b93
feat: add json-repair to dependencies
...
Required by parse_json_response() utility function for malformed JSON repair
2026-01-15 04:29:02 +08:00
Purestone
ac6ef5672f
feat: centralize JSON parsing with automatic repair fallback
...
- Create reusable parse_json_response() utility in src/utils/json_parser.py
- Replace hardcoded json.loads() calls across 6 question module files
- Implement three-tier parsing strategy:
1. Extract JSON from markdown code blocks
2. Direct JSON parsing
3. Automated repair using json-repair library
Files updated:
- coordinator.py (7 json.loads calls)
- generation_agent.py (2 json.loads calls)
- validation_workflow.py (3 json.loads calls)
- base_agent.py (1 json.loads call)
- validation_agent.py (1 json.loads call)
- question_extractor.py (1 json.loads call)
Benefits:
- Eliminates code duplication across agents
- Consistent error handling and logging
- Handles LLM responses in markdown code blocks
- Gracefully repairs malformed JSON
- Improves maintainability and testability
2026-01-15 04:14:42 +08:00
Bingxi Zhao
fb94bc2ec3
fix lint
2026-01-15 03:34:36 +08:00
Bingxi Zhao
563ceb7724
fix: bandit
2026-01-15 03:21:25 +08:00
Bingxi Zhao
f64a107d7c
fix: requirements
2026-01-15 03:17:24 +08:00
Bingxi Zhao
5ffa8405a9
update
v0.5.0
2026-01-15 02:55:11 +08:00
Bingxi Zhao
efa3c9ed92
ver0.5.0
2026-01-15 02:51:32 +08:00
Bingxi Zhao
16bc0f4656
ver0.5.0-dev
2026-01-15 02:49:17 +08:00
Bingxi Zhao (Frank)
0664d0e388
Merge pull request #129 from tusharkhatriofficial/feat/kb/select-rag-provider
...
feat(kb): allow selecting RAG provider during KB create/upload
2026-01-15 01:14:15 +08:00
Tushar Khatri
9ef0a2a73e
feat(kb): allow selecting RAG provider during KB create/upload
2026-01-14 22:34:35 +05:30
Bingxi Zhao (Frank)
e4e5c9b81c
Merge pull request #128 from scrrlt/fix/docker-portability
...
fix/docker
2026-01-14 22:10:05 +08:00
github-actions[bot]
60354c73ec
chore: update repo roster images [skip ci]
2026-01-14 12:55:41 +00:00
scrrlt
8a9949cdea
fix(docker): make Dockerfile portable (no heredoc COPY, ensure bash)
2026-01-14 23:29:02 +11:00
ahmedjawedaj
accfcb1d8e
feat: refactor UX with toast notifications and FolderSyncManager component
...
- Replace all alert() calls with toast notifications for better UX
- Extract FolderSyncManager component to reduce page.tsx complexity
- Add toast notification system with success/error/info states
- Add missing icons (CheckCircle2, AlertCircle) for toast UI
- Improve code organization per PR #122 feedback
Addresses PR #122 reviewer comments on architecture and UX
2026-01-14 13:32:48 +05:00
Bingxi Zhao (Frank)
126a0fb469
Merge pull request #126 from scrrlt/feat/precommit-ci
...
Feature/pre commit ci (#37 )
2026-01-14 13:09:04 +08:00
Scarlet Moore
a0433d784e
Feature/pre commit ci ( #37 )
...
* feat: add comprehensive pre-commit CI hooks
- Add safety for dependency vulnerability scanning
- Add bandit for Python security linting with appropriate skips
- Add interrogate for docstring coverage checking (60% threshold)
- Add mypy for type checking with permissive CI configuration
- Update requirements.txt with safety and bandit dependencies
- Configure all tools for CI compatibility (non-blocking for initial setup)
* security: add hardening measures based on upstream issues
- Add .gitattributes rules to force LF line endings for critical files (fixes CRLF security issues)
- Enhance document validator with MIME type validation and stricter PDF size limits
- Fix subprocess security issues by adding shell=False to prevent command injection
- Add resource exhaustion protection with separate PDF size limits (50MB vs 100MB general limit)
Addresses upstream issues:
- #97 : Cross-platform deployment failures due to CRLF line endings
- #31 : Large PDF processing failures and resource exhaustion
- Security hardening for subprocess calls to prevent injection attacks
* docs: streamline contribution process and pre-commit checks
- Update and format CONTRIBUTING.md for clarity
- Simplify pull request template
- Adjust pre-commit config to be more lenient locally
* chore: update .gitignore, .secrets.baseline, pyproject.toml, and requirements.txt for improved configuration and dependency management
2026-01-14 13:57:18 +11:00
github-actions[bot]
d4ed781888
chore: update repo roster images [skip ci]
2026-01-14 02:04:40 +00:00
github-actions[bot]
c76577e742
chore: update repo roster images [skip ci]
2026-01-13 12:55:44 +00:00
Bingxi Zhao (Frank)
1447a5987b
Merge pull request #118 from scrrlt/integrate/hk-dev
...
work/llm-error-framework
2026-01-13 14:43:23 +08:00
Scarlet Moore
cddc5160e8
work/llm-error-framework ( #35 )
...
* feat: enhance error handling and logging in DocumentAdder
* feat: implement robust error handling utilities for API exceptions
* style: fix formatting issues
* feat: implement retry logic for LLM API calls to handle rate limits and timeouts
* feat: enhance document validation and error handling in file uploads
* feat: enhance valid tools configuration and error handling in project structure
* feat: refactor error handling and validation functions for improved robustness
* fix: pre-commit format
* feat: implement configuration validation for tool consistency and enhance error handling in file uploads
* feat: add exception hierarchy for LLM service errors to improve error handling
* chore: update repo roster images [skip ci]
* chore: update repo roster images [skip ci]
* Integrate documentation updates and rebase onto upstream dev
* Implement error handling utilities and validation functions
* feat: implement multi-provider support with enhanced capability handling and model extraction
* fix: enhance error handling and validation across multiple modules
* chore: remove unused local environment configuration file
* commit
* fix: improve error handling and logging in utilities and error handler
* fix: enhance error handling and logging across multiple modules
* fix: enhance async initialization and validation in multiple modules
* feat: implement LLM error framework
- Add LLM-specific exception classes in exceptions.py
- Create error mapping utilities for standardized error handling
- Implement base provider interface with error handling
- Add OpenAI provider implementation with error mapping
- Define LLM types and response structures
* feat: add missing registry and telemetry modules
- Add registry.py for provider registration system
- Add telemetry.py for basic LLM call tracking
- Complete the LLM error framework implementation
* fix(llm): safer sync wrapper + smarter retries + optional openai mapping
* Fix LLM error framework and code quality improvements
* feat: update environment configuration and improve logging in LLM services
* Update README.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Refactor code structure for improved readability and maintainability
* chore: update documentation, improve error handling, and enhance file upload validation
* feat: enhance error handling and configuration validation across multiple modules
* feat: add configuration for pytest, improve error handling, and enhance byte formatting utilities
---------
Co-authored-by: scrrlt <smo0051@student.monash.edu >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-01-13 16:58:13 +11:00
Bingxi Zhao (Frank)
283d4f3756
Merge pull request #117 from OlalalalaO/knowledge
...
fix: modal not vertically centered
2026-01-13 12:51:33 +08:00
Olalalao
a91d67d8fe
fix: modal not vertically centered
2026-01-13 11:07:47 +08:00