@@ -50,7 +56,14 @@
{/if}
-
{item.context.label}
+ {#if item.description}
+
+ {item.context.label}
+ {item.description}
+
+ {:else}
+
{item.context.label}
+ {/if}
diff --git a/web-common/src/features/chat/core/types.ts b/web-common/src/features/chat/core/types.ts
index bd9e96fe5dcb..00f777fb110d 100644
--- a/web-common/src/features/chat/core/types.ts
+++ b/web-common/src/features/chat/core/types.ts
@@ -81,4 +81,6 @@ export type ChatConfig = {
emptyChatLabel: string;
placeholder: string;
minChatHeight: string;
+ // The project's skills for this chat's agent can be picked with "/".
+ skills?: boolean;
};
diff --git a/web-common/src/features/project/chat-context.ts b/web-common/src/features/project/chat-context.ts
index ef9368fb70db..1e984a276d24 100644
--- a/web-common/src/features/project/chat-context.ts
+++ b/web-common/src/features/project/chat-context.ts
@@ -15,4 +15,5 @@ export const projectChat = {
return m.chat_placeholder_analyst();
},
minChatHeight: "min-h-[2.5rem]",
+ skills: true,
} satisfies ChatConfig;
diff --git a/web-common/src/lib/i18n/messages/en.json b/web-common/src/lib/i18n/messages/en.json
index a366f4353061..dfb2d167e67f 100644
--- a/web-common/src/lib/i18n/messages/en.json
+++ b/web-common/src/lib/i18n/messages/en.json
@@ -623,6 +623,7 @@
"chat_group_yesterday": "Yesterday",
"chat_happy_to_explore": "Happy to help explore your data",
"chat_how_can_i_help": "How can I help you today?",
+ "chat_insert_skill": "Insert a skill",
"chat_loading_conversations": "Loading conversations...",
"chat_new_conversation": "New conversation",
"chat_no_conversations": "No conversations yet.",
diff --git a/web-common/src/lib/i18n/messages/es.json b/web-common/src/lib/i18n/messages/es.json
index 7e3d39ee8cfb..17a841da68da 100644
--- a/web-common/src/lib/i18n/messages/es.json
+++ b/web-common/src/lib/i18n/messages/es.json
@@ -623,6 +623,7 @@
"chat_group_yesterday": "Ayer",
"chat_happy_to_explore": "Encantado de ayudarte a explorar tus datos",
"chat_how_can_i_help": "¿Cómo puedo ayudarte hoy?",
+ "chat_insert_skill": "Insertar una skill",
"chat_loading_conversations": "Cargando conversaciones...",
"chat_new_conversation": "Nueva conversación",
"chat_no_conversations": "Aún no hay conversaciones.",