MCPcopy Create free account

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

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

↓ 1 callersMethodAbortTurn
(_ TurnDraft)
ch08/context/engine.go:106
↓ 1 callersMethodAbortTurn
(_ TurnDraft)
ch09/context/engine.go:116
↓ 1 callersMethodAbortTurn
(_ TurnDraft)
ch05/context/engine.go:87
↓ 1 callersMethodAbortTurn
(_ TurnDraft)
ch06/context/engine.go:101
↓ 1 callersMethodBuildRequestMessages
()
ch08/context/engine.go:60
↓ 1 callersMethodBuildRequestMessages
()
ch09/context/engine.go:70
↓ 1 callersMethodBuildRequestMessages
()
ch05/context/engine.go:56
↓ 1 callersMethodBuildRequestMessages
()
ch06/context/engine.go:60
↓ 1 callersMethodBuildSystemPrompt
()
ch08/context/engine.go:154
↓ 1 callersMethodBuildSystemPrompt
()
ch09/context/engine.go:164
↓ 1 callersMethodBuildSystemPrompt
()
ch05/context/engine.go:131
↓ 1 callersMethodBuildSystemPrompt
()
ch06/context/engine.go:149
↓ 1 callersMethodChunk
(documentID, content string)
ch07/rag/type.go:40
↓ 1 callersMethodClear
Clear 清空所有向量数据
ch07/rag/type.go:59
↓ 1 callersMethodCommitTurn
(ctx context.Context, draft TurnDraft, usage Usage)
ch05/context/engine.go:73
↓ 1 callersMethodCommitTurn
(ctx context.Context, draft TurnDraft, usage Usage)
ch06/context/engine.go:77
↓ 1 callersFunctionCreateBashTool
CreateBashTool creates a bash tool, automatically choosing between DockerBashTool (if docker is available) and regular BashTool.
ch08/tool/factory.go:18
↓ 1 callersFunctionCreateBashTool
CreateBashTool creates a bash tool, automatically choosing between DockerBashTool (if docker is available) and regular BashTool.
ch09/tool/factory.go:18
↓ 1 callersMethodCreateMessage
CreateMessage 验证会话、构建历史、保存消息记录,并启动 agent 流式执行。
ch10/server/service.go:122
↓ 1 callersMethodDeleteByDocument
DeleteByDocument 删除指定文档的所有向量
ch07/rag/type.go:52
↓ 1 callersMethodFormatForPrompt
()
ch09/context/engine.go:48
↓ 1 callersMethodGetDocumentIndexedTime
GetDocumentIndexedTime 获取文档的索引时间,用于去重判断 返回零值时间表示文档不存在
ch07/rag/type.go:56
↓ 1 callersFunctionInit
()
shared/log/log.go:12
↓ 1 callersMethodInit
()
ch08/tui/tui.go:95
↓ 1 callersMethodInit
()
ch09/tui/tui.go:95
↓ 1 callersMethodInit
()
ch05/tui/tui.go:86
↓ 1 callersMethodInit
()
ch06/tui/tui.go:87
↓ 1 callersMethodInsertBatch
InsertBatch 批量插入向量点
ch07/rag/type.go:46
↓ 1 callersMethodListConversations
(userID string)
ch10/server/service.go:44
↓ 1 callersMethodListMessages
(conversationID string)
ch10/server/service.go:98
↓ 1 callersMethodLoadAll
LoadAll discovers and loads all skill metadata from .babyagent/skills/
ch09/skill/skill.go:38
↓ 1 callersFunctionNewAgent
(modelConf shared.ModelConfig, systemPrompt string, confirmConfig ToolConfirmConfig, tools []tool.Tool, mcpCli
ch08/agent.go:30
↓ 1 callersFunctionNewAgent
(modelConf shared.ModelConfig, systemPrompt string, confirmConfig ToolConfirmConfig, tools []tool.Tool, mcpCli
ch09/agent.go:30
↓ 1 callersFunctionNewAgent
(modelConf shared.ModelConfig, systemPrompt string, tools []tool.Tool)
ch03/agent.go:24
↓ 1 callersFunctionNewAgent
(modelConf shared.ModelConfig, systemPrompt string, tools []tool.Tool)
ch02/agent.go:23
↓ 1 callersFunctionNewAgent
(modelConf shared.ModelConfig, systemPrompt string, tools []tool.Tool, mcpClients []*McpClient, contextEngine
ch05/agent.go:25
↓ 1 callersFunctionNewAgent
(modelConf shared.ModelConfig, systemPrompt string, tools []tool.Tool)
ch10/agent/agent.go:34
↓ 1 callersFunctionNewAgent
(modelConf shared.ModelConfig, systemPrompt string, tools []tool.Tool, mcpClients []*McpClient, contextEngine
ch06/agent.go:25
↓ 1 callersFunctionNewAgent
(modelConf shared.ModelConfig, systemPrompt string, tools []tool.Tool, mcpClients []*McpClient)
ch04/agent.go:25
↓ 1 callersFunctionNewAnswer
NewAnswer 创建 AI 回答
ch08/tui/entry.go:39
↓ 1 callersFunctionNewAnswer
NewAnswer 创建 AI 回答
ch09/tui/entry.go:39
↓ 1 callersFunctionNewAnswer
NewAnswer 创建 AI 回答
ch03/tui/tui.go:51
↓ 1 callersFunctionNewAnswer
NewAnswer 创建 AI 回答
ch05/tui/entry.go:35
↓ 1 callersFunctionNewAnswer
NewAnswer 创建 AI 回答
ch06/tui/entry.go:35
↓ 1 callersFunctionNewAnswer
NewAnswer 创建 AI 回答
ch04/tui/tui.go:51
↓ 1 callersFunctionNewBashTool
()
ch03/tool/bash.go:15
↓ 1 callersFunctionNewBashTool
()
ch02/tool/bash.go:15
↓ 1 callersFunctionNewBashTool
()
ch05/tool/bash.go:15
↓ 1 callersFunctionNewBashTool
()
ch10/agent/tool/bash.go:15
↓ 1 callersFunctionNewBashTool
()
ch06/tool/bash.go:15
↓ 1 callersFunctionNewBashTool
()
ch04/tool/bash.go:15
↓ 1 callersFunctionNewBorder
NewBorder 创建分隔线
ch08/tui/entry.go:91
↓ 1 callersFunctionNewBorder
NewBorder 创建分隔线
ch09/tui/entry.go:91
↓ 1 callersFunctionNewBorder
NewBorder 创建分隔线
ch03/tui/tui.go:71
↓ 1 callersFunctionNewBorder
NewBorder 创建分隔线
ch05/tui/entry.go:71
↓ 1 callersFunctionNewBorder
NewBorder 创建分隔线
ch06/tui/entry.go:87
↓ 1 callersFunctionNewBorder
NewBorder 创建分隔线
ch04/tui/tui.go:71
↓ 1 callersFunctionNewContent
NewContent 创建用户输入
ch08/tui/entry.go:34
↓ 1 callersFunctionNewContent
NewContent 创建用户输入
ch09/tui/entry.go:34
↓ 1 callersFunctionNewContent
NewContent 创建用户输入
ch03/tui/tui.go:46
↓ 1 callersFunctionNewContent
NewContent 创建用户输入
ch05/tui/entry.go:30
↓ 1 callersFunctionNewContent
NewContent 创建用户输入
ch06/tui/entry.go:30
↓ 1 callersFunctionNewContent
NewContent 创建用户输入
ch04/tui/tui.go:46
↓ 1 callersFunctionNewDockerBashTool
(containerName, workspaceDir string)
ch08/tool/docker_bash.go:39
↓ 1 callersFunctionNewDockerBashTool
(containerName, workspaceDir string)
ch09/tool/docker_bash.go:39
↓ 1 callersFunctionNewEditTool
()
ch02/tool/edit.go:15
↓ 1 callersFunctionNewFileWalker
NewFileWalker 创建一个新的 FileWalker
ch07/index/file_walker.go:16
↓ 1 callersFunctionNewLLMMemoryUpdater
(modelConf shared.ModelConfig)
ch08/memory/update.go:23
↓ 1 callersFunctionNewLLMMemoryUpdater
(modelConf shared.ModelConfig)
ch09/memory/update.go:23
↓ 1 callersFunctionNewLLMMemoryUpdater
(modelConf shared.ModelConfig)
ch06/memory/update.go:23
↓ 1 callersFunctionNewLoadSkillTool
NewLoadSkillTool creates a new load_skill tool
ch09/tool/load_skill.go:19
↓ 1 callersFunctionNewLoadStorageTool
(storage storage.Storage)
ch08/tool/load_storage.go:17
↓ 1 callersFunctionNewLoadStorageTool
(storage storage.Storage)
ch09/tool/load_storage.go:17
↓ 1 callersFunctionNewLoadStorageTool
(storage storage.Storage)
ch05/tool/load_storage.go:17
↓ 1 callersFunctionNewLoadStorageTool
(storage storage.Storage)
ch06/tool/load_storage.go:17
↓ 1 callersFunctionNewManager
NewManager creates a new skill manager
ch09/skill/skill.go:29
↓ 1 callersFunctionNewMcpToolProvider
(name string, server shared.McpServerConfig)
ch08/mcp.go:35
↓ 1 callersFunctionNewMcpToolProvider
(name string, server shared.McpServerConfig)
ch09/mcp.go:35
↓ 1 callersFunctionNewMcpToolProvider
(name string, server shared.McpServerConfig)
ch05/mcp.go:35
↓ 1 callersFunctionNewMcpToolProvider
(name string, server shared.McpServerConfig)
ch06/mcp.go:35
↓ 1 callersFunctionNewMcpToolProvider
(name string, server shared.McpServerConfig)
ch04/mcp.go:35
↓ 1 callersFunctionNewMemoryRunning
NewMemoryRunning 创建记忆更新运行中状态
ch08/tui/entry.go:75
↓ 1 callersFunctionNewMemoryRunning
NewMemoryRunning 创建记忆更新运行中状态
ch09/tui/entry.go:75
↓ 1 callersFunctionNewMemoryRunning
NewMemoryRunning 创建记忆更新运行中状态
ch06/tui/entry.go:71
↓ 1 callersFunctionNewMemoryStorage
()
ch08/storage/storage.go:14
↓ 1 callersFunctionNewMemoryStorage
()
ch09/storage/storage.go:14
↓ 1 callersFunctionNewMemoryStorage
()
ch05/storage/storage.go:14
↓ 1 callersFunctionNewMemoryStorage
()
ch06/storage/storage.go:14
↓ 1 callersFunctionNewModel
(agent *ch08.Agent, modelName string)
ch08/tui/tui.go:80
↓ 1 callersFunctionNewModel
(agent *ch09.Agent, modelName string)
ch09/tui/tui.go:80
↓ 1 callersFunctionNewModel
(agent *ch03.Agent, modelName string)
ch03/tui/tui.go:126
↓ 1 callersFunctionNewModel
(agent *ch05.Agent, modelName string)
ch05/tui/tui.go:73
↓ 1 callersFunctionNewModel
(agent *ch06.Agent, modelName string)
ch06/tui/tui.go:74
↓ 1 callersFunctionNewModel
(agent *ch04.Agent, modelName string)
ch04/tui/tui.go:129
↓ 1 callersFunctionNewMultiLevelMemory
(globalStorage storage.Storage, workspaceStorage storage.Storage, u MemoryUpdater)
ch08/memory/memory.go:27
↓ 1 callersFunctionNewMultiLevelMemory
(globalStorage storage.Storage, workspaceStorage storage.Storage, u MemoryUpdater)
ch09/memory/memory.go:27
↓ 1 callersFunctionNewMultiLevelMemory
(globalStorage storage.Storage, workspaceStorage storage.Storage, u MemoryUpdater)
ch06/memory/memory.go:27
↓ 1 callersFunctionNewNotice
NewNotice 创建通知信息
ch08/tui/entry.go:96
↓ 1 callersFunctionNewNotice
NewNotice 创建通知信息
ch09/tui/entry.go:96
↓ 1 callersFunctionNewParagraphChunker
NewParagraphChunker 创建按段落切分的 Chunker
ch07/rag/chunker.go:104
← previousnext →201–300 of 923, ranked by callers