MCPcopy Create free account

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

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

MethodName
()
ch09/mcp.go:48
MethodName
()
ch09/context/policy_truncate.go:19
MethodName
()
ch09/context/policy.go:14
MethodName
()
ch09/context/policy_offload.go:36
MethodName
()
ch09/context/policy_summary.go:23
MethodName
()
ch05/mcp.go:48
MethodName
()
ch05/context/policy_truncate.go:19
MethodName
()
ch05/context/policy.go:14
MethodName
()
ch05/context/policy_offload.go:36
MethodName
()
ch05/context/policy_summary.go:23
MethodName
()
ch06/mcp.go:48
MethodName
()
ch06/context/policy_truncate.go:19
MethodName
()
ch06/context/policy_offload.go:36
MethodName
()
ch06/context/policy_summary.go:23
MethodName
()
ch04/mcp.go:49
FunctionNewChunker
NewChunker 创建 Chunker 的工厂函数 默认返回按行切分的实现
ch07/rag/chunker.go:18
FunctionNewContextEngine
(memory memory.Memory, policies []Policy)
ch08/context/engine.go:44
FunctionNewContextEngine
(memory memory.Memory, policies []Policy)
ch09/context/engine.go:51
FunctionNewContextEngine
(policies []Policy)
ch05/context/engine.go:41
FunctionNewContextEngine
(memory memory.Memory, policies []Policy)
ch06/context/engine.go:44
FunctionNewHTTPEmbeddingService
NewHTTPEmbeddingService 创建HTTP Embedding服务
ch07/rag/embedding.go:35
FunctionNewHTTPRerankService
NewHTTPRerankService 创建HTTP Rerank服务
ch07/rag/rerank.go:33
FunctionNewIndexer
NewIndexer 创建新的索引器
ch07/index/indexer.go:32
FunctionNewLLMSummarizer
(modelConf shared.ModelConfig, summaryCharLimit int)
ch08/context/summary.go:59
FunctionNewLLMSummarizer
(modelConf shared.ModelConfig, summaryCharLimit int)
ch09/context/summary.go:59
FunctionNewLLMSummarizer
(modelConf shared.ModelConfig, summaryCharLimit int)
ch05/context/summary.go:59
FunctionNewLLMSummarizer
(modelConf shared.ModelConfig, summaryCharLimit int)
ch06/context/summary.go:59
FunctionNewLabel
NewLabel 创建轮次标签
ch08/tui/entry.go:29
FunctionNewLabel
NewLabel 创建轮次标签
ch09/tui/entry.go:29
FunctionNewLabel
NewLabel 创建轮次标签
ch03/tui/tui.go:41
FunctionNewLabel
NewLabel 创建轮次标签
ch05/tui/entry.go:25
FunctionNewLabel
NewLabel 创建轮次标签
ch06/tui/entry.go:25
FunctionNewLabel
NewLabel 创建轮次标签
ch04/tui/tui.go:41
FunctionNewPGVectorStore
NewPGVectorStore 创建一个新的 PGVectorStore
ch07/db/pgvector.go:60
FunctionNewSemanticSearchTool
NewSemanticSearchTool 创建语义搜索工具
ch07/tool/semantic_search.go:27
FunctionReasoningBlock
({ text, done }: { text: string; done?: boolean })
frontend/src/components/MessageBubble.tsx:146
FunctionReasoningPanel
({ text }: ReasoningMessagePartProps)
frontend/src/components/assistant-ui/reasoning-panel.tsx:4
FunctionRenameThreadButton
({ currentTitle }: { currentTitle: string })
frontend/src/components/assistant-ui/thread-list.tsx:116
MethodRerank
Rerank 对候选文档进行重排序
ch07/rag/rerank.go:70
FunctionRuntimeRoot
({ children }: PropsWithChildren)
frontend/src/components/assistant-ui/runtime-provider.tsx:7
MethodSearch
Search 在索引中搜索相似内容
ch07/index/indexer.go:263
MethodSearch
Search 执行向量相似度搜索
ch07/db/pgvector.go:154
MethodShouldApply
(ctx context.Context, engine *Engine)
ch08/context/policy.go:15
MethodShouldApply
(ctx context.Context, engine *Engine)
ch09/context/policy.go:15
MethodShouldApply
(ctx context.Context, engine *Engine)
ch05/context/policy.go:15
MethodShouldExcludeDir
ShouldExcludeDir 检查目录是否应该被排除
ch07/index/file_walker.go:100
FunctionSidebar
({ conversations, activeId, onSelect, onNew }: Props)
frontend/src/components/Sidebar.tsx:11
MethodStore
(_ context.Context, key string, value string)
ch08/context/policy_test.go:44
MethodStore
(ctx context.Context, key string, value string)
ch08/storage/storage.go:7
MethodStore
(ctx context.Context, key string, value string)
ch08/storage/storage.go:24
MethodStore
(ctx context.Context, key string, value string)
ch08/storage/filesystem.go:19
MethodStore
(_ context.Context, key string, value string)
ch09/context/policy_test.go:44
MethodStore
(ctx context.Context, key string, value string)
ch09/storage/storage.go:7
MethodStore
(ctx context.Context, key string, value string)
ch09/storage/storage.go:24
MethodStore
(ctx context.Context, key string, value string)
ch09/storage/filesystem.go:19
MethodStore
(_ context.Context, key string, value string)
ch05/context/policy_test.go:44
MethodStore
(ctx context.Context, key string, value string)
ch05/storage/storage.go:7
MethodStore
(ctx context.Context, key string, value string)
ch05/storage/storage.go:24
MethodStore
(_ context.Context, key string, value string)
ch06/context/policy_test.go:44
MethodStore
(ctx context.Context, key string, value string)
ch06/storage/storage.go:24
MethodStore
(ctx context.Context, key string, value string)
ch06/storage/filesystem.go:19
FunctionStreamingBubble
({ turn }: { turn: StreamingTurn })
frontend/src/components/ChatPanel.tsx:212
MethodString
()
ch08/memory/memory.go:12
MethodString
()
ch08/memory/memory.go:49
MethodString
()
ch08/memory/memory.go:81
MethodString
()
ch09/memory/memory.go:12
MethodString
()
ch09/memory/memory.go:49
MethodString
()
ch09/memory/memory.go:81
MethodString
()
ch06/memory/memory.go:49
MethodString
()
ch06/memory/memory.go:81
MethodSummarize
(_ context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch08/context/policy_test.go:30
MethodSummarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch08/context/summary.go:16
MethodSummarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch08/context/summary.go:67
MethodSummarize
(_ context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch09/context/policy_test.go:30
MethodSummarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch09/context/summary.go:16
MethodSummarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch09/context/summary.go:67
MethodSummarize
(_ context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch05/context/policy_test.go:30
MethodSummarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch05/context/summary.go:16
MethodSummarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch05/context/summary.go:67
MethodSummarize
(_ context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch06/context/policy_test.go:30
MethodSummarize
(ctx context.Context, runningSummary string, messages []shared.OpenAIMessage)
ch06/context/summary.go:67
FunctionSync
()
shared/log/log.go:47
MethodTableName
TableName 指定表名
ch07/db/pgvector.go:33
FunctionTestDeleteConversation_RemovesConversationAndMessages
(t *testing.T)
ch10/server/service_test.go:41
FunctionTestOffloadPolicyApply_OffloadsLongToolMessagesOnly
(t *testing.T)
ch08/context/policy_test.go:211
FunctionTestOffloadPolicyApply_OffloadsLongToolMessagesOnly
(t *testing.T)
ch09/context/policy_test.go:211
FunctionTestOffloadPolicyApply_OffloadsLongToolMessagesOnly
(t *testing.T)
ch05/context/policy_test.go:211
FunctionTestOffloadPolicyApply_OffloadsLongToolMessagesOnly
(t *testing.T)
ch06/context/policy_test.go:211
FunctionTestOffloadPolicyApply_StoreFailureKeepsOriginalContent
(t *testing.T)
ch08/context/policy_test.go:248
FunctionTestOffloadPolicyApply_StoreFailureKeepsOriginalContent
(t *testing.T)
ch09/context/policy_test.go:248
FunctionTestOffloadPolicyApply_StoreFailureKeepsOriginalContent
(t *testing.T)
ch05/context/policy_test.go:248
FunctionTestOffloadPolicyApply_StoreFailureKeepsOriginalContent
(t *testing.T)
ch06/context/policy_test.go:248
FunctionTestOffloadPolicyShouldApply
(t *testing.T)
ch08/context/policy_test.go:267
FunctionTestOffloadPolicyShouldApply
(t *testing.T)
ch09/context/policy_test.go:267
FunctionTestOffloadPolicyShouldApply
(t *testing.T)
ch05/context/policy_test.go:267
FunctionTestOffloadPolicyShouldApply
(t *testing.T)
ch06/context/policy_test.go:267
FunctionTestRenameConversation_UpdatesTitle
(t *testing.T)
ch10/server/service_test.go:11
FunctionTestSummaryPolicyApply_EmptySummaryFallsBackToOriginal
(t *testing.T)
ch08/context/policy_test.go:177
FunctionTestSummaryPolicyApply_EmptySummaryFallsBackToOriginal
(t *testing.T)
ch09/context/policy_test.go:177
FunctionTestSummaryPolicyApply_EmptySummaryFallsBackToOriginal
(t *testing.T)
ch05/context/policy_test.go:177
← previousnext →701–800 of 923, ranked by callers