MCPcopy Create free account

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

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

↓ 3 callersFunctionvectorToPGVector
vectorToPGVector 将 shared.Vector 转换为 pgvector 格式字符串
ch07/db/pgvector.go:247
↓ 2 callersMethodAppendContent
AppendContent 追加内容
ch08/tui/entry.go:111
↓ 2 callersMethodAppendContent
AppendContent 追加内容
ch09/tui/entry.go:111
↓ 2 callersMethodAppendContent
AppendContent 追加内容
ch03/tui/tui.go:76
↓ 2 callersMethodAppendContent
AppendContent 追加内容
ch05/tui/entry.go:76
↓ 2 callersMethodAppendContent
AppendContent 追加内容
ch06/tui/entry.go:92
↓ 2 callersMethodAppendContent
AppendContent 追加内容
ch04/tui/tui.go:76
↓ 2 callersMethodApply
(ctx context.Context, engine *Engine)
ch08/context/policy_truncate.go:23
↓ 2 callersMethodApply
(ctx context.Context, engine *Engine)
ch08/context/policy_offload.go:44
↓ 2 callersMethodApply
(ctx context.Context, engine *Engine)
ch08/context/policy_summary.go:40
↓ 2 callersMethodApply
(ctx context.Context, engine *Engine)
ch09/context/policy_truncate.go:23
↓ 2 callersMethodApply
(ctx context.Context, engine *Engine)
ch09/context/policy_offload.go:44
↓ 2 callersMethodApply
(ctx context.Context, engine *Engine)
ch09/context/policy_summary.go:40
↓ 2 callersMethodApply
(ctx context.Context, engine *Engine)
ch05/context/policy_truncate.go:23
↓ 2 callersMethodApply
(ctx context.Context, engine *Engine)
ch05/context/policy_offload.go:44
↓ 2 callersMethodApply
(ctx context.Context, engine *Engine)
ch05/context/policy_summary.go:40
↓ 2 callersMethodApply
(ctx context.Context, engine *Engine)
ch06/context/policy_truncate.go:23
↓ 2 callersMethodApply
(ctx context.Context, engine *Engine)
ch06/context/policy_offload.go:44
↓ 2 callersMethodApply
(ctx context.Context, engine *Engine)
ch06/context/policy_summary.go:40
↓ 2 callersMethodCommitTurn
(ctx context.Context, draft TurnDraft, usage Usage, skipPoliciesAndMemory bool)
ch08/context/engine.go:77
↓ 2 callersMethodCommitTurn
(ctx context.Context, draft TurnDraft, usage Usage, skipPoliciesAndMemory bool)
ch09/context/engine.go:87
↓ 2 callersMethodDeleteConversation
(conversationID string)
ch10/server/service.go:86
↓ 2 callersMethodGetTools
()
ch08/mcp.go:98
↓ 2 callersMethodGetTools
()
ch09/mcp.go:98
↓ 2 callersMethodGetTools
()
ch05/mcp.go:98
↓ 2 callersMethodGetTools
()
ch06/mcp.go:98
↓ 2 callersMethodGetTools
()
ch04/mcp.go:99
↓ 2 callersFunctionInitDB
(dsn string)
ch10/server/db.go:31
↓ 2 callersFunctionLoadSkill
LoadSkill loads a skill by ID from .babyagent/skills/<id>/.
ch09/skill/load.go:24
↓ 2 callersFunctionNewBashTool
()
ch08/tool/bash.go:15
↓ 2 callersFunctionNewBashTool
()
ch09/tool/bash.go:15
↓ 2 callersFunctionNewError
NewError 创建错误信息
ch08/tui/entry.go:54
↓ 2 callersFunctionNewError
NewError 创建错误信息
ch09/tui/entry.go:54
↓ 2 callersFunctionNewError
NewError 创建错误信息
ch03/tui/tui.go:66
↓ 2 callersFunctionNewError
NewError 创建错误信息
ch05/tui/entry.go:50
↓ 2 callersFunctionNewError
NewError 创建错误信息
ch06/tui/entry.go:50
↓ 2 callersFunctionNewError
NewError 创建错误信息
ch04/tui/tui.go:66
↓ 2 callersFunctionNewFileSystemStorage
(baseDir string)
ch08/storage/filesystem.go:13
↓ 2 callersFunctionNewFileSystemStorage
(baseDir string)
ch09/storage/filesystem.go:13
↓ 2 callersFunctionNewFileSystemStorage
(baseDir string)
ch06/storage/filesystem.go:13
↓ 2 callersFunctionNewLineChunker
NewLineChunker 创建按行切分的 Chunker
ch07/rag/chunker.go:36
↓ 2 callersFunctionNewServer
(db *gorm.DB, agent *agent.Agent)
ch10/server/service.go:22
↓ 2 callersMethodRenameConversation
(conversationID string, title string)
ch10/server/service.go:66
↓ 2 callersMethodSearch
Search 执行向量相似度搜索
ch07/rag/type.go:49
↓ 2 callersMethodSetMemoryEventHook
(hook func(running bool, err error))
ch08/context/engine.go:150
↓ 2 callersMethodSetMemoryEventHook
(hook func(running bool, err error))
ch09/context/engine.go:160
↓ 2 callersMethodSetMemoryEventHook
(hook func(running bool, err error))
ch06/context/engine.go:145
↓ 2 callersMethodSetPolicyEventHook
(hook func(policyName string, running bool, err error))
ch08/context/engine.go:146
↓ 2 callersMethodSetPolicyEventHook
(hook func(policyName string, running bool, err error))
ch09/context/engine.go:156
↓ 2 callersMethodSetPolicyEventHook
(hook func(policyName string, running bool, err error))
ch05/context/engine.go:127
↓ 2 callersMethodSetPolicyEventHook
(hook func(policyName string, running bool, err error))
ch06/context/engine.go:141
↓ 2 callersMethodUpdateMemoryCompleted
UpdateMemoryCompleted 更新记忆 log entry 为完成状态
ch06/tui/entry.go:76
↓ 2 callersMethodUpdatePolicyCompleted
UpdatePolicyCompleted 更新策略 log entry 为完成状态
ch06/tui/entry.go:60
↓ 2 callersMethodWalk
Walk 遍历指定路径,返回所有文本文件的路径
ch07/index/file_walker.go:48
↓ 2 callersMethodconnect
(ctx context.Context)
ch08/mcp.go:52
↓ 2 callersMethodconnect
(ctx context.Context)
ch09/mcp.go:52
↓ 2 callersMethodconnect
(ctx context.Context)
ch05/mcp.go:52
↓ 2 callersMethodconnect
(ctx context.Context)
ch06/mcp.go:52
↓ 2 callersMethodconnect
(ctx context.Context)
ch04/mcp.go:53
↓ 2 callersFunctionextractXMLTag
extractXMLTag 使用正则表达式从文本中提取 XML 标签的内容
ch08/memory/update.go:80
↓ 2 callersFunctionextractXMLTag
extractXMLTag 使用正则表达式从文本中提取 XML 标签的内容
ch09/memory/update.go:80
↓ 2 callersFunctionextractXMLTag
extractXMLTag 使用正则表达式从文本中提取 XML 标签的内容
ch06/memory/update.go:80
↓ 2 callersFunctionfetchThreads
()
frontend/src/api.ts:82
↓ 2 callersMethodfinalizeActiveStream
()
ch08/tui/tui.go:448
↓ 2 callersMethodfinalizeActiveStream
()
ch09/tui/tui.go:448
↓ 2 callersMethodfinalizeActiveStream
()
ch05/tui/tui.go:370
↓ 2 callersMethodfinalizeActiveStream
()
ch06/tui/tui.go:405
↓ 2 callersMethodfinalizeActiveStream
()
ch04/tui/tui.go:408
↓ 2 callersFunctiongenerateContainerName
generateContainerName generates a unique container name based on workspace directory
ch08/tool/docker_bash.go:21
↓ 2 callersFunctiongenerateContainerName
generateContainerName generates a unique container name based on workspace directory
ch09/tool/docker_bash.go:21
↓ 2 callersMethodindexFile
indexFile 索引单个文件(带去重)
ch07/index/indexer.go:149
↓ 2 callersFunctionlistFiles
(baseDir, workspaceDir string)
ch09/skill/load.go:80
↓ 2 callersFunctionnewTestServer
(t *testing.T)
ch10/server/service_test.go:90
↓ 2 callersFunctionparseJSON
(value: string)
frontend/src/components/assistant-ui/model-adapter.ts:284
↓ 2 callersFunctionparseJSON
(value: string)
frontend/src/components/assistant-ui/thread.tsx:211
↓ 2 callersMethodrecountTokens
()
ch08/context/engine.go:117
↓ 2 callersMethodrecountTokens
()
ch09/context/engine.go:127
↓ 2 callersMethodrecountTokens
()
ch05/context/engine.go:98
↓ 2 callersMethodrecountTokens
()
ch06/context/engine.go:112
↓ 2 callersMethodresetOutputSection
()
ch08/tui/tui.go:347
↓ 2 callersMethodresetOutputSection
()
ch09/tui/tui.go:347
↓ 2 callersMethodresetOutputSection
()
ch03/tui/tui.go:305
↓ 2 callersMethodresetOutputSection
()
ch05/tui/tui.go:272
↓ 2 callersMethodresetOutputSection
()
ch06/tui/tui.go:288
↓ 2 callersMethodresetOutputSection
()
ch04/tui/tui.go:312
↓ 2 callersMethodstopActiveStream
()
ch03/tui/tui.go:399
↓ 2 callersFunctionstreamThreadRun
({ threadId, query, parentMessageId, signal, onEvent, onClose, onError, }: StreamThreadRunArgs)
frontend/src/api.ts:122
↓ 2 callersMethodsyncLogsViewportSize
()
ch08/tui/tui.go:514
↓ 2 callersMethodsyncLogsViewportSize
()
ch09/tui/tui.go:514
↓ 2 callersMethodsyncLogsViewportSize
()
ch03/tui/tui.go:449
↓ 2 callersMethodsyncLogsViewportSize
()
ch05/tui/tui.go:435
↓ 2 callersMethodsyncLogsViewportSize
()
ch06/tui/tui.go:472
↓ 2 callersMethodsyncLogsViewportSize
()
ch04/tui/tui.go:473
↓ 2 callersFunctiontoDate
(timestampSeconds: number)
frontend/src/components/assistant-ui/thread.tsx:224
↓ 2 callersFunctionwaitStreamEvent
(ch <-chan ch08.MessageVO)
ch08/tui/tui.go:99
↓ 2 callersFunctionwaitStreamEvent
(ch <-chan ch09.MessageVO)
ch09/tui/tui.go:99
↓ 2 callersFunctionwaitStreamEvent
(ch <-chan ch03.MessageVO)
ch03/tui/tui.go:143
↓ 2 callersFunctionwaitStreamEvent
(ch <-chan ch05.MessageVO)
ch05/tui/tui.go:90
↓ 2 callersFunctionwaitStreamEvent
(ch <-chan ch06.MessageVO)
ch06/tui/tui.go:91
↓ 2 callersFunctionwaitStreamEvent
(ch <-chan ch04.MessageVO)
ch04/tui/tui.go:146
← previousnext →101–200 of 923, ranked by callers