MCPcopy Create free account

hub / github.com/baby-llm/baby-agent / functions

Functions923 in github.com/baby-llm/baby-agent

↓ 1 callersFunctionbindAbortSignal
(signal: AbortSignal | undefined, ctrl: AbortController)
frontend/src/api.ts:227
↓ 1 callersFunctionbuildAssistantParts
(item: ChatMessageVO)
frontend/src/components/assistant-ui/thread.tsx:156
↓ 1 callersFunctionbuildHistory
buildHistory 根据 parent_message_id 沿树向上追溯路径, 将路径上每条消息的 rounds 拼接成 LLM history。 allMsgs 为该会话下的全部消息,parentMessageID 为本次请求的父消息 ID。
ch10/server/history.go:12
↓ 1 callersFunctionbuildHistoryRepository
(history: ChatMessageVO[])
frontend/src/components/assistant-ui/thread.tsx:107
↓ 1 callersFunctionbuildToolParts
(rounds: RoundMessageVO[])
frontend/src/components/assistant-ui/thread.tsx:166
↓ 1 callersMethodbuildTools
()
ch08/agent.go:68
↓ 1 callersMethodbuildTools
()
ch09/agent.go:68
↓ 1 callersMethodbuildTools
()
ch03/agent.go:46
↓ 1 callersMethodbuildTools
()
ch05/agent.go:64
↓ 1 callersMethodbuildTools
()
ch10/agent/agent.go:56
↓ 1 callersMethodbuildTools
()
ch06/agent.go:64
↓ 1 callersMethodbuildTools
()
ch04/agent.go:62
↓ 1 callersMethodcallTool
(ctx context.Context, toolName string, argumentsInJSON string)
ch08/mcp.go:102
↓ 1 callersMethodcallTool
(ctx context.Context, toolName string, argumentsInJSON string)
ch09/mcp.go:102
↓ 1 callersMethodcallTool
(ctx context.Context, toolName string, argumentsInJSON string)
ch05/mcp.go:102
↓ 1 callersMethodcallTool
(ctx context.Context, toolName string, argumentsInJSON string)
ch06/mcp.go:102
↓ 1 callersMethodcallTool
(ctx context.Context, toolName string, argumentsInJSON string)
ch04/mcp.go:103
↓ 1 callersFunctioncheckDockerAvailable
checkDockerAvailable checks if docker command is available
ch08/tool/factory.go:9
↓ 1 callersFunctioncheckDockerAvailable
checkDockerAvailable checks if docker command is available
ch09/tool/factory.go:9
↓ 1 callersMethodclearSession
()
ch08/tui/tui.go:413
↓ 1 callersMethodclearSession
()
ch09/tui/tui.go:413
↓ 1 callersMethodclearSession
()
ch03/tui/tui.go:373
↓ 1 callersMethodclearSession
()
ch05/tui/tui.go:334
↓ 1 callersMethodclearSession
()
ch06/tui/tui.go:354
↓ 1 callersMethodclearSession
()
ch04/tui/tui.go:372
↓ 1 callersFunctioncloneAssistantParts
(parts: readonly ThreadAssistantMessagePart[])
frontend/src/components/assistant-ui/model-adapter.ts:297
↓ 1 callersFunctioncreateThread
(title = 'New Chat')
frontend/src/api.ts:87
↓ 1 callersFunctiondeleteThread
(threadId: string)
frontend/src/api.ts:111
↓ 1 callersMethodembedChunks
embedChunks 批量获取向量嵌入
ch07/index/indexer.go:222
↓ 1 callersMethodensureSandboxContainer
(ctx context.Context)
ch08/tool/docker_bash.go:98
↓ 1 callersMethodensureSandboxContainer
(ctx context.Context)
ch09/tool/docker_bash.go:98
↓ 1 callersMethodexecute
(ctx context.Context, toolName string, argumentsInJSON string)
ch03/agent.go:38
↓ 1 callersMethodexecute
(ctx context.Context, toolName string, argumentsInJSON string)
ch02/agent.go:38
↓ 1 callersMethodexecute
(ctx context.Context, toolName string, argumentsInJSON string)
ch05/agent.go:46
↓ 1 callersMethodexecute
(ctx context.Context, toolName string, argumentsInJSON string)
ch06/agent.go:46
↓ 1 callersMethodexecute
(ctx context.Context, toolName string, argumentsInJSON string)
ch04/agent.go:44
↓ 1 callersMethodexecuteTool
executeTool 执行单个 tool call,返回 tool result 和错误。 tool 不存在时返回错误;Execute 失败时返回错误,result 为错误信息。
ch10/agent/agent.go:66
↓ 1 callersFunctionextractRoundChunks
(message: ChatMessageVO)
frontend/src/lib/assistant-ui/message-mapper.ts:156
↓ 1 callersFunctionextractTextContent
(message: ThreadMessage)
frontend/src/components/assistant-ui/model-adapter.ts:142
↓ 1 callersFunctionfetch
(remoteId)
frontend/src/components/assistant-ui/thread-list-adapter.ts:33
↓ 1 callersFunctionfetchThreadMessages
(threadId: string)
frontend/src/api.ts:117
↓ 1 callersMethodfinalizePendingStates
()
ch06/tui/tui.go:390
↓ 1 callersFunctionfindPendingToolCallIndex
(parts: readonly ThreadAssistantMessagePart[], toolName: string)
frontend/src/components/assistant-ui/model-adapter.ts:261
↓ 1 callersMethodfindTool
(toolName string)
ch08/agent.go:53
↓ 1 callersMethodfindTool
(toolName string)
ch09/agent.go:53
↓ 1 callersMethodfindTool
(toolName string)
ch10/agent/agent.go:51
↓ 1 callersMethodformatResults
formatResults 格式化搜索结果为可读字符串
ch07/tool/semantic_search.go:118
↓ 1 callersFunctionformatToolResult
(result: unknown)
frontend/src/components/assistant-ui/tool-call-card.tsx:76
↓ 1 callersFunctiongenerateConversationTitle
(messages: readonly ThreadMessage[])
frontend/src/components/assistant-ui/thread-list-adapter.ts:93
↓ 1 callersFunctiongetLatestBackendMessageId
(messages: readonly ThreadMessage[])
frontend/src/components/assistant-ui/model-adapter.ts:132
↓ 1 callersFunctiongetLatestUserQuery
(messages: readonly ThreadMessage[])
frontend/src/components/assistant-ui/model-adapter.ts:123
↓ 1 callersMethodhandleConfirmSelection
()
ch08/tui/tui.go:243
↓ 1 callersMethodhandleConfirmSelection
()
ch09/tui/tui.go:243
↓ 1 callersMethodhandleKey
(msg tea.KeyPressMsg)
ch08/tui/tui.go:159
↓ 1 callersMethodhandleKey
(msg tea.KeyPressMsg)
ch09/tui/tui.go:159
↓ 1 callersMethodhandleKey
(msg tea.KeyPressMsg)
ch03/tui/tui.go:199
↓ 1 callersMethodhandleKey
(msg tea.KeyPressMsg)
ch05/tui/tui.go:150
↓ 1 callersMethodhandleKey
(msg tea.KeyPressMsg)
ch06/tui/tui.go:150
↓ 1 callersMethodhandleKey
(msg tea.KeyPressMsg)
ch04/tui/tui.go:206
↓ 1 callersMethodhandleStreamDone
(msg streamDoneMsg)
ch08/tui/tui.go:365
↓ 1 callersMethodhandleStreamDone
(msg streamDoneMsg)
ch09/tui/tui.go:365
↓ 1 callersMethodhandleStreamDone
(msg streamDoneMsg)
ch03/tui/tui.go:322
↓ 1 callersMethodhandleStreamDone
(msg streamDoneMsg)
ch05/tui/tui.go:290
↓ 1 callersMethodhandleStreamDone
(msg streamDoneMsg)
ch06/tui/tui.go:309
↓ 1 callersMethodhandleStreamDone
(msg streamDoneMsg)
ch04/tui/tui.go:329
↓ 1 callersMethodhandleStreamEvent
(event ch08.MessageVO)
ch08/tui/tui.go:267
↓ 1 callersMethodhandleStreamEvent
(event ch09.MessageVO)
ch09/tui/tui.go:267
↓ 1 callersMethodhandleStreamEvent
(event ch03.MessageVO)
ch03/tui/tui.go:264
↓ 1 callersMethodhandleStreamEvent
(event ch05.MessageVO)
ch05/tui/tui.go:215
↓ 1 callersMethodhandleStreamEvent
(event ch06.MessageVO)
ch06/tui/tui.go:215
↓ 1 callersMethodhandleStreamEvent
(event ch04.MessageVO)
ch04/tui/tui.go:271
↓ 1 callersMethodhandleStreamMsg
(msg streamMsg)
ch08/tui/tui.go:356
↓ 1 callersMethodhandleStreamMsg
(msg streamMsg)
ch09/tui/tui.go:356
↓ 1 callersMethodhandleStreamMsg
(msg streamMsg)
ch03/tui/tui.go:313
↓ 1 callersMethodhandleStreamMsg
(msg streamMsg)
ch05/tui/tui.go:281
↓ 1 callersMethodhandleStreamMsg
(msg streamMsg)
ch06/tui/tui.go:297
↓ 1 callersMethodhandleStreamMsg
(msg streamMsg)
ch04/tui/tui.go:320
↓ 1 callersMethodhandleSubmit
()
ch08/tui/tui.go:224
↓ 1 callersMethodhandleSubmit
()
ch09/tui/tui.go:224
↓ 1 callersMethodhandleSubmit
()
ch03/tui/tui.go:245
↓ 1 callersMethodhandleSubmit
()
ch05/tui/tui.go:196
↓ 1 callersMethodhandleSubmit
()
ch06/tui/tui.go:196
↓ 1 callersMethodhandleSubmit
()
ch04/tui/tui.go:252
↓ 1 callersFunctioninitRunningVars
()
ch08/mcp.go:28
↓ 1 callersFunctioninitRunningVars
()
ch09/mcp.go:28
↓ 1 callersFunctioninitRunningVars
()
ch05/mcp.go:28
↓ 1 callersFunctioninitRunningVars
()
ch06/mcp.go:28
↓ 1 callersFunctioninitRunningVars
()
ch04/mcp.go:28
↓ 1 callersMethodinitTable
initTable 创建必要的表和索引
ch07/db/pgvector.go:89
↓ 1 callersFunctionisAbortError
(err: unknown)
frontend/src/api.ts:239
↓ 1 callersFunctionisPlainObject
(value: unknown)
frontend/src/components/assistant-ui/model-adapter.ts:293
↓ 1 callersFunctionisTransportErrorItem
(item: StreamQueueItem)
frontend/src/components/assistant-ui/model-adapter.ts:183
↓ 1 callersMethodload
()
ch08/memory/memory.go:39
↓ 1 callersMethodload
()
ch09/memory/memory.go:39
↓ 1 callersMethodload
()
ch06/memory/memory.go:39
↓ 1 callersMethodlogsFooterHeight
()
ch08/tui/tui.go:492
↓ 1 callersMethodlogsFooterHeight
()
ch09/tui/tui.go:492
↓ 1 callersMethodlogsFooterHeight
()
ch03/tui/tui.go:427
↓ 1 callersMethodlogsFooterHeight
()
ch05/tui/tui.go:413
↓ 1 callersMethodlogsFooterHeight
()
ch06/tui/tui.go:450
← previousnext →401–500 of 923, ranked by callers