Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baby-llm/baby-agent
/ functions
Functions
923 in github.com/baby-llm/baby-agent
⨍
Functions
923
◇
Types & classes
307
↓ 3 callers
Function
vectorToPGVector
vectorToPGVector 将 shared.Vector 转换为 pgvector 格式字符串
ch07/db/pgvector.go:247
↓ 2 callers
Method
AppendContent
AppendContent 追加内容
ch08/tui/entry.go:111
↓ 2 callers
Method
AppendContent
AppendContent 追加内容
ch09/tui/entry.go:111
↓ 2 callers
Method
AppendContent
AppendContent 追加内容
ch03/tui/tui.go:76
↓ 2 callers
Method
AppendContent
AppendContent 追加内容
ch05/tui/entry.go:76
↓ 2 callers
Method
AppendContent
AppendContent 追加内容
ch06/tui/entry.go:92
↓ 2 callers
Method
AppendContent
AppendContent 追加内容
ch04/tui/tui.go:76
↓ 2 callers
Method
Apply
(ctx context.Context, engine *Engine)
ch08/context/policy_truncate.go:23
↓ 2 callers
Method
Apply
(ctx context.Context, engine *Engine)
ch08/context/policy_offload.go:44
↓ 2 callers
Method
Apply
(ctx context.Context, engine *Engine)
ch08/context/policy_summary.go:40
↓ 2 callers
Method
Apply
(ctx context.Context, engine *Engine)
ch09/context/policy_truncate.go:23
↓ 2 callers
Method
Apply
(ctx context.Context, engine *Engine)
ch09/context/policy_offload.go:44
↓ 2 callers
Method
Apply
(ctx context.Context, engine *Engine)
ch09/context/policy_summary.go:40
↓ 2 callers
Method
Apply
(ctx context.Context, engine *Engine)
ch05/context/policy_truncate.go:23
↓ 2 callers
Method
Apply
(ctx context.Context, engine *Engine)
ch05/context/policy_offload.go:44
↓ 2 callers
Method
Apply
(ctx context.Context, engine *Engine)
ch05/context/policy_summary.go:40
↓ 2 callers
Method
Apply
(ctx context.Context, engine *Engine)
ch06/context/policy_truncate.go:23
↓ 2 callers
Method
Apply
(ctx context.Context, engine *Engine)
ch06/context/policy_offload.go:44
↓ 2 callers
Method
Apply
(ctx context.Context, engine *Engine)
ch06/context/policy_summary.go:40
↓ 2 callers
Method
CommitTurn
(ctx context.Context, draft TurnDraft, usage Usage, skipPoliciesAndMemory bool)
ch08/context/engine.go:77
↓ 2 callers
Method
CommitTurn
(ctx context.Context, draft TurnDraft, usage Usage, skipPoliciesAndMemory bool)
ch09/context/engine.go:87
↓ 2 callers
Method
DeleteConversation
(conversationID string)
ch10/server/service.go:86
↓ 2 callers
Method
GetTools
()
ch08/mcp.go:98
↓ 2 callers
Method
GetTools
()
ch09/mcp.go:98
↓ 2 callers
Method
GetTools
()
ch05/mcp.go:98
↓ 2 callers
Method
GetTools
()
ch06/mcp.go:98
↓ 2 callers
Method
GetTools
()
ch04/mcp.go:99
↓ 2 callers
Function
InitDB
(dsn string)
ch10/server/db.go:31
↓ 2 callers
Function
LoadSkill
LoadSkill loads a skill by ID from .babyagent/skills/<id>/.
ch09/skill/load.go:24
↓ 2 callers
Function
NewBashTool
()
ch08/tool/bash.go:15
↓ 2 callers
Function
NewBashTool
()
ch09/tool/bash.go:15
↓ 2 callers
Function
NewError
NewError 创建错误信息
ch08/tui/entry.go:54
↓ 2 callers
Function
NewError
NewError 创建错误信息
ch09/tui/entry.go:54
↓ 2 callers
Function
NewError
NewError 创建错误信息
ch03/tui/tui.go:66
↓ 2 callers
Function
NewError
NewError 创建错误信息
ch05/tui/entry.go:50
↓ 2 callers
Function
NewError
NewError 创建错误信息
ch06/tui/entry.go:50
↓ 2 callers
Function
NewError
NewError 创建错误信息
ch04/tui/tui.go:66
↓ 2 callers
Function
NewFileSystemStorage
(baseDir string)
ch08/storage/filesystem.go:13
↓ 2 callers
Function
NewFileSystemStorage
(baseDir string)
ch09/storage/filesystem.go:13
↓ 2 callers
Function
NewFileSystemStorage
(baseDir string)
ch06/storage/filesystem.go:13
↓ 2 callers
Function
NewLineChunker
NewLineChunker 创建按行切分的 Chunker
ch07/rag/chunker.go:36
↓ 2 callers
Function
NewServer
(db *gorm.DB, agent *agent.Agent)
ch10/server/service.go:22
↓ 2 callers
Method
RenameConversation
(conversationID string, title string)
ch10/server/service.go:66
↓ 2 callers
Method
Search
Search 执行向量相似度搜索
ch07/rag/type.go:49
↓ 2 callers
Method
SetMemoryEventHook
(hook func(running bool, err error))
ch08/context/engine.go:150
↓ 2 callers
Method
SetMemoryEventHook
(hook func(running bool, err error))
ch09/context/engine.go:160
↓ 2 callers
Method
SetMemoryEventHook
(hook func(running bool, err error))
ch06/context/engine.go:145
↓ 2 callers
Method
SetPolicyEventHook
(hook func(policyName string, running bool, err error))
ch08/context/engine.go:146
↓ 2 callers
Method
SetPolicyEventHook
(hook func(policyName string, running bool, err error))
ch09/context/engine.go:156
↓ 2 callers
Method
SetPolicyEventHook
(hook func(policyName string, running bool, err error))
ch05/context/engine.go:127
↓ 2 callers
Method
SetPolicyEventHook
(hook func(policyName string, running bool, err error))
ch06/context/engine.go:141
↓ 2 callers
Method
UpdateMemoryCompleted
UpdateMemoryCompleted 更新记忆 log entry 为完成状态
ch06/tui/entry.go:76
↓ 2 callers
Method
UpdatePolicyCompleted
UpdatePolicyCompleted 更新策略 log entry 为完成状态
ch06/tui/entry.go:60
↓ 2 callers
Method
Walk
Walk 遍历指定路径,返回所有文本文件的路径
ch07/index/file_walker.go:48
↓ 2 callers
Method
connect
(ctx context.Context)
ch08/mcp.go:52
↓ 2 callers
Method
connect
(ctx context.Context)
ch09/mcp.go:52
↓ 2 callers
Method
connect
(ctx context.Context)
ch05/mcp.go:52
↓ 2 callers
Method
connect
(ctx context.Context)
ch06/mcp.go:52
↓ 2 callers
Method
connect
(ctx context.Context)
ch04/mcp.go:53
↓ 2 callers
Function
extractXMLTag
extractXMLTag 使用正则表达式从文本中提取 XML 标签的内容
ch08/memory/update.go:80
↓ 2 callers
Function
extractXMLTag
extractXMLTag 使用正则表达式从文本中提取 XML 标签的内容
ch09/memory/update.go:80
↓ 2 callers
Function
extractXMLTag
extractXMLTag 使用正则表达式从文本中提取 XML 标签的内容
ch06/memory/update.go:80
↓ 2 callers
Function
fetchThreads
()
frontend/src/api.ts:82
↓ 2 callers
Method
finalizeActiveStream
()
ch08/tui/tui.go:448
↓ 2 callers
Method
finalizeActiveStream
()
ch09/tui/tui.go:448
↓ 2 callers
Method
finalizeActiveStream
()
ch05/tui/tui.go:370
↓ 2 callers
Method
finalizeActiveStream
()
ch06/tui/tui.go:405
↓ 2 callers
Method
finalizeActiveStream
()
ch04/tui/tui.go:408
↓ 2 callers
Function
generateContainerName
generateContainerName generates a unique container name based on workspace directory
ch08/tool/docker_bash.go:21
↓ 2 callers
Function
generateContainerName
generateContainerName generates a unique container name based on workspace directory
ch09/tool/docker_bash.go:21
↓ 2 callers
Method
indexFile
indexFile 索引单个文件(带去重)
ch07/index/indexer.go:149
↓ 2 callers
Function
listFiles
(baseDir, workspaceDir string)
ch09/skill/load.go:80
↓ 2 callers
Function
newTestServer
(t *testing.T)
ch10/server/service_test.go:90
↓ 2 callers
Function
parseJSON
(value: string)
frontend/src/components/assistant-ui/model-adapter.ts:284
↓ 2 callers
Function
parseJSON
(value: string)
frontend/src/components/assistant-ui/thread.tsx:211
↓ 2 callers
Method
recountTokens
()
ch08/context/engine.go:117
↓ 2 callers
Method
recountTokens
()
ch09/context/engine.go:127
↓ 2 callers
Method
recountTokens
()
ch05/context/engine.go:98
↓ 2 callers
Method
recountTokens
()
ch06/context/engine.go:112
↓ 2 callers
Method
resetOutputSection
()
ch08/tui/tui.go:347
↓ 2 callers
Method
resetOutputSection
()
ch09/tui/tui.go:347
↓ 2 callers
Method
resetOutputSection
()
ch03/tui/tui.go:305
↓ 2 callers
Method
resetOutputSection
()
ch05/tui/tui.go:272
↓ 2 callers
Method
resetOutputSection
()
ch06/tui/tui.go:288
↓ 2 callers
Method
resetOutputSection
()
ch04/tui/tui.go:312
↓ 2 callers
Method
stopActiveStream
()
ch03/tui/tui.go:399
↓ 2 callers
Function
streamThreadRun
({ threadId, query, parentMessageId, signal, onEvent, onClose, onError, }: StreamThreadRunArgs)
frontend/src/api.ts:122
↓ 2 callers
Method
syncLogsViewportSize
()
ch08/tui/tui.go:514
↓ 2 callers
Method
syncLogsViewportSize
()
ch09/tui/tui.go:514
↓ 2 callers
Method
syncLogsViewportSize
()
ch03/tui/tui.go:449
↓ 2 callers
Method
syncLogsViewportSize
()
ch05/tui/tui.go:435
↓ 2 callers
Method
syncLogsViewportSize
()
ch06/tui/tui.go:472
↓ 2 callers
Method
syncLogsViewportSize
()
ch04/tui/tui.go:473
↓ 2 callers
Function
toDate
(timestampSeconds: number)
frontend/src/components/assistant-ui/thread.tsx:224
↓ 2 callers
Function
waitStreamEvent
(ch <-chan ch08.MessageVO)
ch08/tui/tui.go:99
↓ 2 callers
Function
waitStreamEvent
(ch <-chan ch09.MessageVO)
ch09/tui/tui.go:99
↓ 2 callers
Function
waitStreamEvent
(ch <-chan ch03.MessageVO)
ch03/tui/tui.go:143
↓ 2 callers
Function
waitStreamEvent
(ch <-chan ch05.MessageVO)
ch05/tui/tui.go:90
↓ 2 callers
Function
waitStreamEvent
(ch <-chan ch06.MessageVO)
ch06/tui/tui.go:91
↓ 2 callers
Function
waitStreamEvent
(ch <-chan ch04.MessageVO)
ch04/tui/tui.go:146
← previous
next →
101–200 of 923, ranked by callers