Skip to content

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

Block 13: Remove guided_learning from chat CAPABILITIES selector and badge label

whfa960c27761f2
diff --git a/web/app/(workspace)/chat/[[...sessionId]]/page.tsx b/web/app/(workspace)/chat/[[...sessionId]]/page.tsx
index 279e27c24..ebf66ba2e 100644
--- a/web/app/(workspace)/chat/[[...sessionId]]/page.tsx
+++ b/web/app/(workspace)/chat/[[...sessionId]]/page.tsx
@@ -227,14 +227,6 @@ const CAPABILITIES: CapabilityDef[] = [
allowedTools: [],
defaultTools: [],
},
- {
- value: "guided_learning",
- label: "Guided Learning",
- description: "Framework v1.8.2 — diagnostic, mastery-based study, spaced repetition",
- icon: Lightbulb,
- allowedTools: ["rag", "web_search", "code_execution"],
- defaultTools: ["rag"],
- },
];
interface KnowledgeBase {
diff --git a/web/components/chat/home/ChatMessages.tsx b/web/components/chat/home/ChatMessages.tsx
index 012fd309d..893e9824f 100644
--- a/web/components/chat/home/ChatMessages.tsx
+++ b/web/components/chat/home/ChatMessages.tsx
@@ -74,7 +74,6 @@ function getModeBadgeLabel(capability?: string | null): string {
if (capability === "deep_research") return "Deep Research";
if (capability === "math_animator") return "Math Animator";
if (capability === "visualize") return "Visualize";
- if (capability === "guided_learning") return "Guided Learning";
return capability;
}