Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HiveNexus/HiveChat
/ functions
Functions
501 in github.com/HiveNexus/HiveChat
⨍
Functions
501
◇
Types & classes
96
↓ 13 callers
Function
prettyObject
(msg: any)
app/utils.ts:8
↓ 9 callers
Function
addMessageInServer
(message: { chatId: string, role: string, content: MessageContent, reasoninContent?: string, searchE
app/chat/actions/message.ts:70
↓ 9 callers
Function
fetchAppSettings
(key: string)
app/chat/actions/chat.ts:233
↓ 9 callers
Method
logError
* 记录MCP错误
types/mcpErrors.ts:361
↓ 7 callers
Method
isMCPError
* 判断错误是否为MCP错误
types/mcpErrors.ts:321
↓ 6 callers
Function
syncMcpTools
(messageId: number, mcpToolsResponse: MCPToolResponse[])
app/chat/actions/chat.ts:294
↓ 5 callers
Method
closeClient
(serverName: string)
app/services/MCPService.ts:59
↓ 5 callers
Function
getActiveAuthProvides
()
app/(auth)/actions.ts:145
↓ 5 callers
Function
getGroupList
()
app/admin/users/group/actions.ts:32
↓ 5 callers
Method
toUserMessage
* 转换为用户友好的错误消息
types/mcpErrors.ts:149
↓ 5 callers
Function
updateChatInServer
(chatId: string, newChatInfo: { title?: string; defaultModel?: string; defaultProvider?: string; histo
app/chat/actions/chat.ts:118
↓ 5 callers
Function
updateUsage
(userId: string, usage: UsageDetail)
app/api/completions/actions.ts:102
↓ 4 callers
Function
callMCPTool
(tool: MCPTool)
app/utils/mcpToolsServer.ts:9
↓ 4 callers
Function
completeEndpoint
(providerId: string, apiStyle: string, inputUrl?: string | null)
app/utils/llms.ts:61
↓ 4 callers
Function
deleteChat
(chat_id: string)
app/chat/thread/list/page.tsx:61
↓ 4 callers
Function
fetchAvailableLlmModels
(requireAuth: boolean = true)
app/admin/llm/actions.ts:176
↓ 4 callers
Function
getMcpServerList
()
app/admin/mcp/actions.ts:9
↓ 4 callers
Function
getUserList
(groupId?: string)
app/admin/users/list/actions.ts:25
↓ 4 callers
Function
handleDatabaseError
(error: unknown, defaultMessage: string)
app/admin/users/list/actions.ts:15
↓ 4 callers
Function
onFinish
(values: FormValues)
app/admin/mcp/page.tsx:60
↓ 4 callers
Function
setAppSettings
(key: string, newValue: string)
app/admin/system/actions.ts:29
↓ 3 callers
Function
adminAndSetAppSettings
(key: string, newValue: string)
app/admin/system/actions.ts:15
↓ 3 callers
Function
checkSearch
(providerId: string, apiKey: string)
app/admin/search/actions.ts:136
↓ 3 callers
Method
create
(provider: WebSearchProvider)
app/webSearchProvider/WebSearchProviderFactory.ts:10
↓ 3 callers
Function
deleteChatInServer
(chatId: string)
app/chat/actions/chat.ts:185
↓ 3 callers
Function
fileToBase64
(file: File)
app/utils.ts:59
↓ 3 callers
Function
filterPropertieAttributes
(tool: MCPTool, filterNestedObj = false)
app/utils/mcpToolsClient.ts:19
↓ 3 callers
Method
fromError
* 将普通错误转换为MCP错误
types/mcpErrors.ts:328
↓ 3 callers
Function
getChatListInServer
()
app/chat/actions/chat.ts:97
↓ 3 callers
Function
getLlmConfigByProvider
(providerId: string)
app/utils/llms.ts:34
↓ 3 callers
Function
getProviderInstance
(providerId: string, apiStyle: string)
app/utils.ts:71
↓ 3 callers
Function
handleConfigUpdate
(config: Partial<SearchEngineConfig>)
app/admin/search/page.tsx:74
↓ 3 callers
Method
initClient
(server: MCPServer)
app/services/MCPService.ts:16
↓ 3 callers
Function
setSearchEngineConfig
(searchEngineId: string)
app/admin/search/actions.ts:50
↓ 3 callers
Function
useLoginModal
()
app/contexts/loginModalContext.tsx:34
↓ 2 callers
Method
chat
(options: ChatOptions)
app/provider/GeminiProvider.ts:70
↓ 2 callers
Function
checkOverflow
()
app/components/AdaptiveTextarea.tsx:71
↓ 2 callers
Function
generateContentBasedId
(content: string, prefix: string = 'svg')
app/components/Markdown.tsx:43
↓ 2 callers
Function
getBotListInServer
(page: number = 1, pageSize: number = 12, searchQuery?: string)
app/admin/bot/action.ts:83
↓ 2 callers
Function
getDefaultSearchEngineConfig
()
app/admin/search/actions.ts:8
↓ 2 callers
Function
handleChangeSelect
(modelId: string, selected: boolean)
app/components/admin/llm/ManageAllModelModal.tsx:52
↓ 2 callers
Function
handleExport
(type: 'current' | 'all')
app/admin/bot/list/page.tsx:80
↓ 2 callers
Function
hashPassword
(password: string)
app/admin/users/list/actions.ts:20
↓ 2 callers
Function
isUserWithinQuota
(userId: string, providerId: string, modelId: string)
app/api/completions/actions.ts:23
↓ 2 callers
Method
listTools
(server: MCPServer)
app/services/MCPService.ts:97
↓ 2 callers
Function
saveToServer
(providerId: string, values: FormValues)
app/admin/llm/actions.ts:17
↓ 2 callers
Method
search
(provider: WebSearchProvider, query: string, maxResultsNumber?: number)
app/services/WebSearchService.ts:5
↓ 2 callers
Function
showLogin
()
app/contexts/loginModalContext.tsx:24
↓ 2 callers
Function
useImageUpload
(maxImages: number = 5)
app/hooks/chat/useImageUpload.ts:5
↓ 1 callers
Function
Dingding
(options: { clientId: string; clientSecret: string; })
app/auth/providers/dingding.ts:14
↓ 1 callers
Function
Feishu
(options: { clientId: string; clientSecret: string; })
app/auth/providers/feishu.ts:18
↓ 1 callers
Function
Wecom
(options: { clientId: string; clientSecret: string; })
app/auth/providers/wecom.ts:13
↓ 1 callers
Function
addBotInServer
(botInfo: { title: string; desc?: string; prompt: string; avatar: string; avatarType: 'emoji' | 'url
app/chat/actions/bot.ts:7
↓ 1 callers
Function
addBotInServer
(botInfo: { title: string; desc?: string; prompt: string; avatar: string; avatarType: 'emoji' | 'url
app/admin/bot/action.ts:7
↓ 1 callers
Function
addBotToChatInServer
(botId: number)
app/chat/actions/bot.ts:95
↓ 1 callers
Function
addBreak
()
app/hooks/chat/useChat.ts:203
↓ 1 callers
Function
addChatInServer
( chatInfo: { title: string; defaultModel?: string; defaultProvider?: string; searchEnabled?
app/chat/actions/chat.ts:10
↓ 1 callers
Function
addCustomModelInServer
(modelInfo: { name: string, displayName: string, maxTokens: number, supportVision: boolean, supportT
app/admin/llm/actions.ts:250
↓ 1 callers
Function
addCustomProviderInServer
(providerInfo: { provider: string, providerName: string, endpoint: string, apiStyle: 'openai' | 'opena
app/admin/llm/actions.ts:323
↓ 1 callers
Function
addGroup
(groupInfo: { name: string, modelType?: 'all' | 'specific', tokenLimitType: 'unlimited' | 'limited', mon
app/admin/users/group/actions.ts:84
↓ 1 callers
Function
addMcpServer
(mcpServerInfo: { name: string; isActive: boolean; type: 'sse' | 'streamableHttp'; description?: strin
app/admin/mcp/actions.ts:27
↓ 1 callers
Function
addToChat
(botId: number)
app/chat/bot/[bot_id]/page.tsx:45
↓ 1 callers
Function
addUser
(user: UserActionParams & { password: string })
app/admin/users/list/actions.ts:83
↓ 1 callers
Function
adminSetup
(email: string, password: string, adminCode: string)
app/(auth)/actions.ts:61
↓ 1 callers
Function
adminSetupLogined
(adminCode: string)
app/(auth)/actions.ts:113
↓ 1 callers
Function
anthropicToolUseToMcpTool
(mcpTools: MCPTool[] | undefined, toolUse: ToolUseBlock)
app/utils/mcpToolsClient.ts:96
↓ 1 callers
Method
callTool
* Call a tool on an MCP server
app/services/MCPService.ts:146
↓ 1 callers
Function
changeModelSelectInServer
(model: LLMModel, selected: boolean)
app/admin/llm/actions.ts:214
↓ 1 callers
Function
changeSelectInServer
(modelName: string, selected: boolean)
app/admin/llm/actions.ts:206
↓ 1 callers
Function
check
()
app/admin/search/components/TavilySettings.tsx:22
↓ 1 callers
Function
check
()
app/admin/search/components/JinaSettings.tsx:22
↓ 1 callers
Function
check
()
app/admin/search/components/BochaSettings.tsx:21
↓ 1 callers
Method
check
(modelId: string, apikey: string, apiUrl: string)
app/provider/GeminiProvider.ts:450
↓ 1 callers
Method
checkSearch
(provider: WebSearchProvider)
app/services/WebSearchService.ts:16
↓ 1 callers
Function
clearHistory
()
app/hooks/chat/useChat.ts:197
↓ 1 callers
Function
clearMessageInServer
(chatId: string)
app/chat/actions/message.ts:9
↓ 1 callers
Method
connectionFailed
(serverName: string, originalError?: Error)
types/mcpErrors.ts:263
↓ 1 callers
Method
connectionTimeout
(serverName: string, originalError?: Error)
types/mcpErrors.ts:203
↓ 1 callers
Function
createDefaultGroups
()
app/db/groupSeed.ts:6
↓ 1 callers
Method
deactivate
(serverName: string)
app/services/MCPService.ts:89
↓ 1 callers
Function
deleteAllUserChatInServer
()
app/chat/actions/chat.ts:212
↓ 1 callers
Function
deleteBotInServer
(botId: number)
app/chat/actions/bot.ts:75
↓ 1 callers
Function
deleteBotInServer
(botId: number)
app/admin/bot/action.ts:66
↓ 1 callers
Function
deleteChat
(chat_id: string)
app/components/ChatList.tsx:91
↓ 1 callers
Function
deleteChat
()
app/components/ChatHeader.tsx:20
↓ 1 callers
Function
deleteCustomModelInServer
(modelName: string)
app/admin/llm/actions.ts:242
↓ 1 callers
Function
deleteCustomProviderInServer
(providerId: string)
app/admin/llm/actions.ts:352
↓ 1 callers
Function
deleteGroup
(groupId: string)
app/admin/users/group/actions.ts:122
↓ 1 callers
Function
deleteMcpServer
(name: string)
app/admin/mcp/actions.ts:150
↓ 1 callers
Function
deleteMessageInServer
(messageId: number)
app/chat/actions/message.ts:28
↓ 1 callers
Method
deleteServer
(serverName: string)
app/services/MCPService.ts:93
↓ 1 callers
Function
deleteUser
(email: string)
app/admin/users/list/actions.ts:116
↓ 1 callers
Function
escapeBrackets
(text: string)
app/components/Markdown.tsx:24
↓ 1 callers
Function
fetchAllChats
()
app/components/ChatList.tsx:69
↓ 1 callers
Function
fetchAllLlmSettings
()
app/admin/llm/actions.ts:55
↓ 1 callers
Function
fetchAllProviders
()
app/admin/llm/actions.ts:43
↓ 1 callers
Function
fetchAppSettings
(key: string)
app/admin/system/actions.ts:7
↓ 1 callers
Function
fetchDefaultChatModel
()
app/chat/page.tsx:44
↓ 1 callers
Function
fetchGroupList
()
app/admin/users/group/page.tsx:176
↓ 1 callers
Function
fetchGroupList
()
app/admin/users/list/page.tsx:76
next →
1–100 of 501, ranked by callers