mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 17:29:51 +08:00
Knowledge Center: remove a single raw document from a knowledge base —
even one stuck in an error state — instead of deleting and rebuilding
the whole base. A file that failed to parse (e.g. one over the cloud
parser's page limit) can now be dropped in place, with replace/retry.
- backend: remove_raw_document() decoupled from DocumentAdder (needs no
ready index) + DELETE /{kb_name}/files/{filename:path}; shared
_read_metadata / _write_metadata / _raw_hash_key helpers so indexing
and removal agree on the hash key. Connected/legacy KBs still rejected.
- web: deleteKbFile() API, per-file delete in the Files tab, and
error-state KBs unlocked for drop / upload-replacement / retry.
- release notes ver1-5-1.md (old notes archived to past_releases/),
__version__ bump to 1.5.1, README Releases row + one-week fold.
- README KB prose + all 10 translations synced; docs knowledge page
updated separately in site/.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
12 lines
357 B
Python
12 lines
357 B
Python
"""Single source of truth for the DeepTutor version.
|
|
|
|
To cut a release, bump ``__version__`` here, commit, and tag the commit with
|
|
``v<__version__>`` (e.g. ``v1.4.0``). CI verifies the tag matches this value
|
|
before publishing to PyPI; the web sidebar badge and CLI banner read from this
|
|
file directly.
|
|
"""
|
|
|
|
__version__ = "1.5.1"
|
|
|
|
__all__ = ("__version__",)
|