diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue
index a53fb6e..44cff78 100644
--- a/src/components/Sidebar.vue
+++ b/src/components/Sidebar.vue
@@ -431,7 +431,6 @@
This role uses a curated set of plugins optimized for its purpose.
- Switch to General role to customize plugins.
r.id !== role.id)
+ .map((r) => `- ${r.id}: ${r.name}`)
+ .join("\n");
+ return `${role.prompt}${roleListText}\n${pluginPrompts}\n${customInstructionsText} The user's native language is ${getLanguageName(state.userLanguage)}.`;
};
const buildTools = ({ startResponse }: BuildContext) =>
diff --git a/src/config/roles.ts b/src/config/roles.ts
index df4d651..8d7b0fa 100644
--- a/src/config/roles.ts
+++ b/src/config/roles.ts
@@ -13,10 +13,11 @@ export const ROLES: Role[] = [
id: "general",
name: "General",
icon: "star",
- includePluginPrompts: true,
- pluginMode: "customizable",
+ includePluginPrompts: false,
+ pluginMode: "fixed",
+ availablePlugins: ["switchRole"],
prompt:
- "You are a teacher who explains various things in a way that even middle school students can easily understand. If the user is asking for stock price, browse Yahoo Finance page with the ticker symbol, such as https://finance.yahoo.com/quote/TSLA/ or https://finance.yahoo.com/quote/BTC-USD/.",
+ "You are a helpful assistant. Help the user pick the right role for their task by switching to the appropriate role using the switchRole tool.",
},
{
id: "tutor",