Files
DeepTutor/packaging
GMyhf 0021c4d207 fix: make prompt loading and capability failures terminal (#738)
* fix: make prompt loading and capability failures terminal

* fix: handle remote knowledge base file listings

* fix: proxy uploads to LightRAG servers

* fix: show remote LightRAG document status

* fix: clarify knowledge upload confirmation

* fix(knowledge): hide reindex for connected bases

* refactor: narrow this branch to the prompt-resource fix

Split out of the original PR so #737's two halves land separately:

- The terminal-failure change to runtime/orchestrator.py is already on dev
  via #732, which shipped the same turn_terminal/status metadata. Dropped
  here rather than merged twice.
- The LightRAG Server upload forwarding and remote document listing belong
  to #755, not #737. Preserved on origin/keep/738-lightrag-server for a
  follow-up PR against that issue.
- Dropped the third prompt fallback that read the adjacent YAML with
  pathlib+yaml directly. With the cache no longer poisoned by a miss,
  reload_prompts() recovers on its own, and PromptManager stays the only
  thing that knows how to locate a prompt file.

---------

Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-08-06 22:20:11 +08:00
..