Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

Merge pull request #1064 from contributor

Bingxi Zhao (Frank)b673a6dabe15
diff --cc README.md
index 37e11d65d,da9bca07e..89f3782e5
--- a/README.md
+++ b/README.md
@@@ -474,17 -465,66 +474,75 @@@ Everything under `data/user/settings/`
Project-root `.env` is **not** read as an application config file. For a minimal model setup, open **Settings → Models**, add an LLM profile (Base URL / API key / model name), and save. Add an embedding profile only if you plan to use Knowledge Base / RAG features.
+OpenAI-compatible LLM profiles also expose an **API protocol** setting. Keep
+`Auto` for normal provider detection and compatible fallback, choose
+`Responses API` for endpoints that only implement `/responses`, or choose
+`Chat Completions` for endpoints that require `/chat/completions`. Forced
+Responses mode is fail-closed: endpoint errors are returned instead of being
+silently retried through Chat Completions. The equivalent profile field in
+`model_catalog.json` is `wire_api` (`auto`, `responses`, or
+`chat_completions`).
+
</details>
+ <details>
+ <summary><b>Uninstall and cleanup</b></summary>
+
+ DeepTutor separates its installed code from its runtime workspace. By default,
+ the workspace is the directory where you run `deeptutor init` / `deeptutor
+ start`; `--home PATH` or `DEEPTUTOR_HOME` overrides it. Runtime output is the
+ `data` directory inside that workspace, so the startup banner line beginning
+ with `Workspace:` identifies what to clean up.
+
+ 1. Stop the app. Press `Ctrl+C` in the terminal running `deeptutor start`, stop
+ any running Partner, and stop detached Docker containers before deleting
+ their data.
+ 2. Delete the runtime data. This removes settings, API keys, chat history,
+ sessions, Memory, Notebooks, Books, Reading state, Skills, Partners state,
+ logs, Knowledge Bases, parse caches, generated artifacts, and the packaged
+ frontend runtime cache:
+
+ ```bash
+ # macOS / Linux, from the workspace directory
+ rm -rf ./data
+
+ # Windows PowerShell, from the workspace directory
+ Remove-Item -Recurse -Force .\data
+ ```
+
+ 3. Remove the installed package. Use the command that matches the distribution:
+
+ ```bash
+ python -m pip uninstall deeptutor
+ python -m pip uninstall deeptutor-cli
+ ```
+
+ If the venv was created only for DeepTutor, delete it. For a source install,
+ deactivate the venv, leave the source directory, and remove that checkout
+ only if it contains no unrelated work.
+
+ ```bash
+ # macOS / Linux
+ rm -rf ./DeepTutor
+
+ # Windows PowerShell
+ Remove-Item -Recurse -Force .\DeepTutor
+ ```
+
+ 4. For the Docker path, remove the container and its named data volume:
+
+ ```bash
+ docker rm -f deeptutor
+ docker volume rm deeptutor-data
+ ```
+
+ Destructive filesystem commands do not send files to the recycle bin or trash.
+ Check that the selected workspace and source checkout are correct before running
+ them, especially when `DEEPTUTOR_HOME` points somewhere other than the app
+ checkout.
+
+ </details>
+
## 📖 Explore DeepTutor
Start with the main surfaces you will use day to day: Chat, Partners, My Agents, Co-Writer, Book, Knowledge Center, Learning Space, Memory, and Settings. The tour then covers Multi-User deployments for shared, isolated workspaces.