Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

📝 docs(bot): Auto sync agents & plugin to readme

lobehubbotbc7aa88a8f31
diff --git a/changelog/v1.json b/changelog/v1.json
index 874ba0180ed..83f696131d8 100644
--- a/changelog/v1.json
+++ b/changelog/v1.json
@@ -1,4 +1,11 @@
[
+ {
+ "children": {
+ "features": ["Support Group Chat, Mention, and Multi-Agent Orchestration with feature flag."]
+ },
+ "date": "2025-10-16",
+ "version": "1.138.0"
+ },
{
"children": {
"improvements": ["Add Claude Haiku 4.5 model."]
diff --git a/src/features/ChatInput/InputEditor/index.tsx b/src/features/ChatInput/InputEditor/index.tsx
index 842ff3fc578..69ff8667918 100644
--- a/src/features/ChatInput/InputEditor/index.tsx
+++ b/src/features/ChatInput/InputEditor/index.tsx
@@ -115,6 +115,32 @@ const InputEditor = memo<{ defaultRows?: number }>(({ defaultRows = 2 }) => {
content={''}
editor={editor}
{...richRenderProps}
+ mentionOption={
+ enableMention
+ ? {
+ items: mentionItems,
+ markdownWriter: (mention) => {
+ return `<mention name="${mention.label}" id="${mention.metadata.id}" />`;
+ },
+ onSelect: (editor, option) => {
+ editor.dispatchCommand(INSERT_MENTION_COMMAND, {
+ label: String(option.label),
+ metadata: option.metadata,
+ });
+ },
+ renderComp: expand
+ ? undefined
+ : (props) => {
+ return (
+ <SlashMenu
+ {...props}
+ getPopupContainer={() => (slashMenuRef as any)?.current}
+ />
+ );
+ },
+ }
+ : undefined
+ }
onBlur={() => {
disableScope(HotkeyEnum.AddUserMessage);
}}
@@ -186,32 +212,6 @@ const InputEditor = memo<{ defaultRows?: number }>(({ defaultRows = 2 }) => {
style={{
minHeight: defaultRows > 1 ? defaultRows * 23 : undefined,
}}
- mentionOption={
- enableMention
- ? {
- items: mentionItems,
- markdownWriter: (mention) => {
- return `<mention name="${mention.label}" id="${mention.metadata.id}" />`;
- },
- onSelect: (editor, option) => {
- editor.dispatchCommand(INSERT_MENTION_COMMAND, {
- label: String(option.label),
- metadata: option.metadata,
- });
- },
- renderComp: expand
- ? undefined
- : (props) => {
- return (
- <SlashMenu
- {...props}
- getPopupContainer={() => (slashMenuRef as any)?.current}
- />
- );
- },
- }
- : undefined
- }
type={'text'}
variant={'chat'}
/>
diff --git a/src/features/Conversation/Messages/index.tsx b/src/features/Conversation/Messages/index.tsx
index d5e0a39d651..166d8904aaf 100644
--- a/src/features/Conversation/Messages/index.tsx
+++ b/src/features/Conversation/Messages/index.tsx
@@ -125,9 +125,9 @@ const Item = memo<ChatListItemProps>(
return (
<AssistantMessage
{...item}
- showTitle={item.groupId ? true : false}
disableEditing={disableEditing}
index={index}
+ showTitle={item.groupId ? true : false}
/>
);
}