MCPcopy Create free account

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

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

↓ 1 callersMethodlogsFooterHeight
()
ch04/tui/tui.go:451
↓ 1 callersMethodlogsHeaderHeight
()
ch08/tui/tui.go:488
↓ 1 callersMethodlogsHeaderHeight
()
ch09/tui/tui.go:488
↓ 1 callersMethodlogsHeaderHeight
()
ch03/tui/tui.go:423
↓ 1 callersMethodlogsHeaderHeight
()
ch05/tui/tui.go:409
↓ 1 callersMethodlogsHeaderHeight
()
ch06/tui/tui.go:446
↓ 1 callersMethodlogsHeaderHeight
()
ch04/tui/tui.go:447
↓ 1 callersMethodmakeStorageKey
(offloadIndex int)
ch08/context/policy_offload.go:40
↓ 1 callersMethodmakeStorageKey
(offloadIndex int)
ch09/context/policy_offload.go:40
↓ 1 callersMethodmakeStorageKey
(offloadIndex int)
ch05/context/policy_offload.go:40
↓ 1 callersMethodmakeStorageKey
(offloadIndex int)
ch06/context/policy_offload.go:40
↓ 1 callersMethodnext
()
frontend/src/components/assistant-ui/model-adapter.ts:59
↓ 1 callersFunctionnormalizeStreamError
(err: unknown)
frontend/src/api.ts:243
↓ 1 callersFunctionparseDeltaWithReasoning
(rawJSON string)
ch08/agent.go:266
↓ 1 callersFunctionparseDeltaWithReasoning
(rawJSON string)
ch09/agent.go:266
↓ 1 callersFunctionparseDeltaWithReasoning
(rawJSON string)
ch03/agent.go:160
↓ 1 callersFunctionparseDeltaWithReasoning
(rawJSON string)
ch05/agent.go:204
↓ 1 callersFunctionparseDeltaWithReasoning
(rawJSON string)
ch06/agent.go:214
↓ 1 callersFunctionparseDeltaWithReasoning
(rawJSON string)
ch04/agent.go:185
↓ 1 callersFunctionparseRounds
parseRounds 将存储的 rounds JSON 转换为前端友好的 RoundMessageVO 列表。
ch10/server/service.go:192
↓ 1 callersFunctionparseSSEMessage
(data: string)
frontend/src/api.ts:219
↓ 1 callersFunctionparseToolArgs
(argsText: string)
frontend/src/components/assistant-ui/model-adapter.ts:272
↓ 1 callersFunctionparseToolArgs
(argsText: string)
frontend/src/components/assistant-ui/thread.tsx:202
↓ 1 callersFunctionparseToolResult
(resultText: string | undefined)
frontend/src/components/assistant-ui/model-adapter.ts:279
↓ 1 callersFunctionrenameThread
(threadId: string, title: string)
frontend/src/api.ts:97
↓ 1 callersMethodrenderConfirmBox
()
ch08/tui/tui.go:585
↓ 1 callersMethodrenderConfirmBox
()
ch09/tui/tui.go:585
↓ 1 callersMethodrollbackTurn
()
ch03/tui/tui.go:389
↓ 1 callersMethodrollbackTurn
()
ch05/tui/tui.go:350
↓ 1 callersMethodrollbackTurn
()
ch06/tui/tui.go:370
↓ 1 callersMethodrollbackTurn
()
ch04/tui/tui.go:388
↓ 1 callersFunctionsend
()
frontend/src/components/ChatPanel.tsx:56
↓ 1 callersMethodstartNewTurn
(query string)
ch08/tui/tui.go:380
↓ 1 callersMethodstartNewTurn
(query string)
ch09/tui/tui.go:380
↓ 1 callersMethodstartNewTurn
(query string)
ch03/tui/tui.go:345
↓ 1 callersMethodstartNewTurn
(query string)
ch05/tui/tui.go:305
↓ 1 callersMethodstartNewTurn
(query string)
ch06/tui/tui.go:324
↓ 1 callersMethodstartNewTurn
(query string)
ch04/tui/tui.go:344
↓ 1 callersFunctionstreamMessage
( conversationId: string, query: string, onEvent: (event: SSEMessageVO) => void, onClose: () => void,
frontend/src/api.ts:181
↓ 1 callersFunctionsumTokens
(messages []messageWrap)
ch08/context/policy_test.go:67
↓ 1 callersFunctionsumTokens
(messages []messageWrap)
ch09/context/policy_test.go:67
↓ 1 callersFunctionsumTokens
(messages []messageWrap)
ch05/context/policy_test.go:67
↓ 1 callersFunctionsumTokens
(messages []messageWrap)
ch06/context/policy_test.go:67
↓ 1 callersFunctiontoPersistedAssistantMessage
(message: ChatMessageVO)
frontend/src/lib/assistant-ui/message-mapper.ts:29
↓ 1 callersFunctiontoReasoningChunk
( messageId: string, parentMessageId: string, text?: string, )
frontend/src/lib/assistant-ui/message-mapper.ts:208
↓ 1 callersFunctiontoSSEMessage
(msgID string, e agent.StreamEvent)
ch10/server/service.go:174
↓ 1 callersFunctiontoSyntheticUserMessageId
(messageId: string)
frontend/src/lib/assistant-ui/message-mapper.ts:204
↓ 1 callersFunctiontoToolCallChunks
( messageId: string, parentMessageId: string, round: RoundMessageVO, )
frontend/src/lib/assistant-ui/message-mapper.ts:221
↓ 1 callersFunctiontoToolResultChunk
( messageId: string, parentMessageId: string, round: RoundMessageVO, toolNameById: Map<string, string>
frontend/src/lib/assistant-ui/message-mapper.ts:236
↓ 1 callersFunctiontoUserMessageId
(messageId: string)
frontend/src/components/assistant-ui/thread.tsx:220
↓ 1 callersFunctiontoolCallChunksToMessageParts
(chunks: ToolCallChunk[])
frontend/src/lib/assistant-ui/message-mapper.ts:186
↓ 1 callersFunctiontoolResultChunksToMessageParts
(chunks: ToolResultChunk[])
frontend/src/lib/assistant-ui/message-mapper.ts:195
↓ 1 callersFunctionunsupportedThreadOperation
( operation: ThreadOperation, threadId: string, )
frontend/src/api.ts:206
↓ 1 callersFunctionwaitStreamDone
(ch <-chan error)
ch08/tui/tui.go:109
↓ 1 callersFunctionwaitStreamDone
(ch <-chan error)
ch09/tui/tui.go:109
↓ 1 callersFunctionwaitStreamDone
(ch <-chan error)
ch03/tui/tui.go:153
↓ 1 callersFunctionwaitStreamDone
(ch <-chan error)
ch05/tui/tui.go:100
↓ 1 callersFunctionwaitStreamDone
(ch <-chan error)
ch06/tui/tui.go:101
↓ 1 callersFunctionwaitStreamDone
(ch <-chan error)
ch04/tui/tui.go:156
FunctionApp
()
frontend/src/App.tsx:15
MethodApply
Apply 纯函数,可以读取 engine 状态,返回新的状态(不修改 engine 内部变量)
ch08/context/policy.go:17
MethodApply
Apply 纯函数,可以读取 engine 状态,返回新的状态(不修改 engine 内部变量)
ch09/context/policy.go:17
MethodApply
Apply 纯函数,可以读取 engine 状态,返回新的状态(不修改 engine 内部变量)
ch05/context/policy.go:17
FunctionAssistantComposer
()
frontend/src/components/assistant-ui/composer.tsx:7
FunctionAssistantThread
()
frontend/src/components/assistant-ui/thread.tsx:16
FunctionAssistantThreadList
()
frontend/src/components/assistant-ui/thread-list.tsx:21
FunctionAssistantThreadMessage
()
frontend/src/components/assistant-ui/message.tsx:6
FunctionAssistantUIApp
()
frontend/src/App.tsx:70
FunctionBabyAgentRuntimeProvider
({ children }: PropsWithChildren)
frontend/src/components/assistant-ui/runtime-provider.tsx:18
FunctionChatPanel
({ conversationId, onConversationCreated }: Props)
frontend/src/components/ChatPanel.tsx:26
MethodChunk
Chunk 实现 ChunkerService 接口
ch07/rag/chunker.go:50
MethodChunk
Chunk 实现 ChunkerService 接口
ch07/rag/chunker.go:114
MethodClear
Clear 清空索引
ch07/index/indexer.go:273
MethodClear
Clear 清空表
ch07/db/pgvector.go:210
MethodClose
Close 关闭索引器
ch07/index/indexer.go:278
MethodClose
Close 关闭数据库连接
ch07/db/pgvector.go:238
FunctionDefaultHTTPEmbeddingConfig
DefaultHTTPEmbeddingConfig 默认配置
ch07/rag/embedding.go:19
FunctionDefaultHTTPRerankConfig
DefaultHTTPRerankConfig 默认配置
ch07/rag/rerank.go:18
MethodDeleteByDocument
DeleteByDocument 删除指定文档的所有向量
ch07/db/pgvector.go:205
FunctionDeleteThreadButton
()
frontend/src/components/assistant-ui/thread-list.tsx:224
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
frontend/src/components/ui/dialog.tsx:45
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
frontend/src/components/ui/dialog.tsx:41
MethodEmbed
Embed 将文本转换为向量
ch07/rag/embedding.go:71
FunctionError
(msg string, fields ...interface{})
shared/log/log.go:31
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch08/mcp.go:145
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch08/tool/docker_bash.go:71
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch08/tool/tool.go:22
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch08/tool/load_storage.go:48
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch08/tool/bash.go:44
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch09/mcp.go:145
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch09/tool/docker_bash.go:71
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch09/tool/tool.go:23
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch09/tool/read.go:45
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch09/tool/load_skill.go:48
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch09/tool/load_storage.go:48
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch09/tool/bash.go:44
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch03/tool/tool.go:21
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch03/tool/bash.go:44
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch02/tool/tool.go:21
MethodExecute
(ctx context.Context, argumentsInJSON string)
ch02/tool/edit.go:54
← previousnext →501–600 of 923, ranked by callers