🤯 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.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛fix: add support for built-in model search in TokenTag component (#11114)
bbbuggbc44cba10a7e
diff --git a/src/features/ChatInput/ActionBar/Token/TokenTag.tsx b/src/features/ChatInput/ActionBar/Token/TokenTag.tsxindex ef0207feb0d..94529b85290 100644--- a/src/features/ChatInput/ActionBar/Token/TokenTag.tsx+++ b/src/features/ChatInput/ActionBar/Token/TokenTag.tsx@@ -52,6 +52,7 @@ const Token = memo<TokenTagProps>(({ total: messageString }) => {chatConfigByIdSelectors.getEnableHistoryCountById(agentId)(s),// need to re-render by search modechatConfigByIdSelectors.isEnableSearchById(agentId)(s),+ chatConfigByIdSelectors.getUseModelBuiltinSearchById(agentId)(s),]);const maxTokens = useModelContextWindowTokens(model, provider);diff --git a/src/features/LibraryModal/AssignKnowledgeBase/List.tsx b/src/features/LibraryModal/AssignKnowledgeBase/List.tsxindex 7ef691e969a..9eac0419b41 100644--- a/src/features/LibraryModal/AssignKnowledgeBase/List.tsx+++ b/src/features/LibraryModal/AssignKnowledgeBase/List.tsx@@ -114,19 +114,18 @@ export const List = memo(() => {totalCount={data!.length}/>) : (- <div style={{ flex: 1, overflow: 'hidden' }}>- <div style={{ height: '100%', overflowY: 'auto' }}>- <div style={{ paddingInline: 16 }}>- <VirtuosoMasonry- ItemContent={MasonryItemWrapper}- columnCount={columnCount}- context={masonryContext}- data={data || []}- style={{- gap: '16px',- }}- />- </div>+ <div style={{ height: '100%', position: 'relative' }}>+ <div style={{ inset: 0, position: 'absolute' }}>+ <VirtuosoMasonry+ ItemContent={MasonryItemWrapper}+ columnCount={columnCount}+ context={masonryContext}+ data={data || []}+ style={{+ gap: '16px',+ height: '100%',+ }}+ /></div></div>)}diff --git a/src/features/ResourceManager/components/Explorer/MasonryView/index.tsx b/src/features/ResourceManager/components/Explorer/MasonryView/index.tsxindex 4d07d780e20..45f1f24d033 100644--- a/src/features/ResourceManager/components/Explorer/MasonryView/index.tsx+++ b/src/features/ResourceManager/components/Explorer/MasonryView/index.tsx@@ -87,6 +87,7 @@ const MasonryView = memo<MasonryViewProps>(data={data || []}style={{gap: '16px',+ overflow: 'hidden',}}/>{isLoadingMore && (