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
↓ 1 callers
Function
NewPolicyRunning
NewPolicyRunning 创建策略运行中状态
ch08/tui/entry.go:59
↓ 1 callers
Function
NewPolicyRunning
NewPolicyRunning 创建策略运行中状态
ch09/tui/entry.go:59
↓ 1 callers
Function
NewPolicyRunning
NewPolicyRunning 创建策略运行中状态
ch05/tui/entry.go:55
↓ 1 callers
Function
NewPolicyRunning
NewPolicyRunning 创建策略运行中状态
ch06/tui/entry.go:55
↓ 1 callers
Function
NewReadTool
()
ch09/tool/read.go:16
↓ 1 callers
Function
NewReadTool
()
ch02/tool/read.go:16
↓ 1 callers
Function
NewReasoning
NewReasoning 创建推理内容
ch08/tui/entry.go:44
↓ 1 callers
Function
NewReasoning
NewReasoning 创建推理内容
ch09/tui/entry.go:44
↓ 1 callers
Function
NewReasoning
NewReasoning 创建推理内容
ch03/tui/tui.go:56
↓ 1 callers
Function
NewReasoning
NewReasoning 创建推理内容
ch05/tui/entry.go:40
↓ 1 callers
Function
NewReasoning
NewReasoning 创建推理内容
ch06/tui/entry.go:40
↓ 1 callers
Function
NewReasoning
NewReasoning 创建推理内容
ch04/tui/tui.go:56
↓ 1 callers
Function
NewRouter
(s *Server)
ch10/server/controller.go:13
↓ 1 callers
Function
NewTool
NewTool 创建工具调用
ch08/tui/entry.go:49
↓ 1 callers
Function
NewTool
NewTool 创建工具调用
ch09/tui/entry.go:49
↓ 1 callers
Function
NewTool
NewTool 创建工具调用
ch03/tui/tui.go:61
↓ 1 callers
Function
NewTool
NewTool 创建工具调用
ch05/tui/entry.go:45
↓ 1 callers
Function
NewTool
NewTool 创建工具调用
ch06/tui/entry.go:45
↓ 1 callers
Function
NewTool
NewTool 创建工具调用
ch04/tui/tui.go:61
↓ 1 callers
Function
NewToolConfirmation
NewToolConfirmation 创建工具确认请求
ch08/tui/entry.go:101
↓ 1 callers
Function
NewToolConfirmation
NewToolConfirmation 创建工具确认请求
ch09/tui/entry.go:101
↓ 1 callers
Function
NewWriteTool
()
ch02/tool/write.go:14
↓ 1 callers
Function
NonStreamingRequestRawHTTP
(ctx context.Context, modelConf shared.ModelConfig, query string)
ch01/raw.go:58
↓ 1 callers
Function
NonStreamingRequestSDK
(ctx context.Context, modelConf shared.ModelConfig, query string)
ch01/sdk.go:13
↓ 1 callers
Method
ReasoningText
()
ch08/agent.go:272
↓ 1 callers
Method
ReasoningText
()
ch09/agent.go:272
↓ 1 callers
Method
ReasoningText
()
ch03/agent.go:166
↓ 1 callers
Method
ReasoningText
()
ch05/agent.go:210
↓ 1 callers
Method
ReasoningText
()
ch06/agent.go:220
↓ 1 callers
Method
ReasoningText
()
ch04/agent.go:191
↓ 1 callers
Method
RefreshTools
(ctx context.Context)
ch08/mcp.go:74
↓ 1 callers
Method
RefreshTools
(ctx context.Context)
ch09/mcp.go:74
↓ 1 callers
Method
RefreshTools
(ctx context.Context)
ch05/mcp.go:74
↓ 1 callers
Method
RefreshTools
(ctx context.Context)
ch06/mcp.go:74
↓ 1 callers
Method
RefreshTools
(ctx context.Context)
ch04/mcp.go:75
↓ 1 callers
Method
Rerank
(ctx context.Context, query string, candidates []Chunk)
ch07/rag/type.go:32
↓ 1 callers
Method
Reset
Reset 清空所有消息(保留 system prompt)
ch08/context/engine.go:173
↓ 1 callers
Method
Reset
Reset 清空所有消息(保留 system prompt)
ch09/context/engine.go:190
↓ 1 callers
Method
Reset
Reset 清空所有消息(保留 system prompt)
ch05/context/engine.go:147
↓ 1 callers
Method
Reset
Reset 清空所有消息(保留 system prompt)
ch06/context/engine.go:168
↓ 1 callers
Method
ResetSession
()
ch08/agent.go:83
↓ 1 callers
Method
ResetSession
()
ch09/agent.go:83
↓ 1 callers
Method
ResetSession
()
ch03/agent.go:54
↓ 1 callers
Method
ResetSession
()
ch05/agent.go:79
↓ 1 callers
Method
ResetSession
()
ch06/agent.go:79
↓ 1 callers
Method
ResetSession
()
ch04/agent.go:77
↓ 1 callers
Method
RunStreaming
RunStreaming 和 Run 基本逻辑一致,但是使用流式请求,并且通过 channel 实现流式输出
ch08/agent.go:88
↓ 1 callers
Method
RunStreaming
RunStreaming 和 Run 基本逻辑一致,但是使用流式请求,并且通过 channel 实现流式输出
ch09/agent.go:88
↓ 1 callers
Method
RunStreaming
RunStreaming 和 Run 基本逻辑一致,但是使用流式请求,并且通过 channel 实现流式输出
ch03/agent.go:59
↓ 1 callers
Method
RunStreaming
RunStreaming 和 Run 基本逻辑一致,但是使用流式请求,并且通过 channel 实现流式输出
ch05/agent.go:84
↓ 1 callers
Method
RunStreaming
RunStreaming 执行 agent loop,通过 eventCh 流式输出,结束后返回 RunResult history 是本会话之前所有 ChatMessage.Rounds 反序列化后的消息列表
ch10/agent/agent.go:83
↓ 1 callers
Method
RunStreaming
RunStreaming 和 Run 基本逻辑一致,但是使用流式请求,并且通过 channel 实现流式输出
ch06/agent.go:84
↓ 1 callers
Method
RunStreaming
RunStreaming 和 Run 基本逻辑一致,但是使用流式请求,并且通过 channel 实现流式输出
ch04/agent.go:83
↓ 1 callers
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch08/context/policy_truncate.go:63
↓ 1 callers
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch08/context/policy_offload.go:107
↓ 1 callers
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch08/context/policy_summary.go:36
↓ 1 callers
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch09/context/policy_truncate.go:63
↓ 1 callers
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch09/context/policy_offload.go:107
↓ 1 callers
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch09/context/policy_summary.go:36
↓ 1 callers
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch05/context/policy_truncate.go:63
↓ 1 callers
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch05/context/policy_offload.go:107
↓ 1 callers
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch05/context/policy_summary.go:36
↓ 1 callers
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch06/context/policy_truncate.go:63
↓ 1 callers
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch06/context/policy_offload.go:107
↓ 1 callers
Method
ShouldApply
(ctx context.Context, engine *Engine)
ch06/context/policy_summary.go:36
↓ 1 callers
Method
StartTurn
(userMsg shared.OpenAIMessage)
ch08/context/engine.go:71
↓ 1 callers
Method
StartTurn
(userMsg shared.OpenAIMessage)
ch09/context/engine.go:81
↓ 1 callers
Method
StartTurn
(userMsg shared.OpenAIMessage)
ch05/context/engine.go:67
↓ 1 callers
Method
StartTurn
(userMsg shared.OpenAIMessage)
ch06/context/engine.go:71
↓ 1 callers
Function
StreamingRequestRawHTTP
(ctx context.Context, modelConf shared.ModelConfig, query string)
ch01/raw.go:106
↓ 1 callers
Function
StreamingRequestSDK
(ctx context.Context, modelConf shared.ModelConfig, query string)
ch01/sdk.go:38
↓ 1 callers
Method
ToChunk
ToChunk 转换为 shared.Chunk
ch07/db/pgvector.go:38
↓ 1 callers
Method
ToolName
ToolName 给模型看的,和给 mcp server 看的不一样
ch08/mcp.go:133
↓ 1 callers
Method
ToolName
ToolName 给模型看的,和给 mcp server 看的不一样
ch09/mcp.go:133
↓ 1 callers
Method
ToolName
ToolName 给模型看的,和给 mcp server 看的不一样
ch05/mcp.go:133
↓ 1 callers
Method
ToolName
ToolName 给模型看的,和给 mcp server 看的不一样
ch06/mcp.go:133
↓ 1 callers
Method
ToolName
ToolName 给模型看的,和给 mcp server 看的不一样
ch04/mcp.go:134
↓ 1 callers
Method
UpdateMemoryCompleted
UpdateMemoryCompleted 更新记忆 log entry 为完成状态
ch08/tui/entry.go:80
↓ 1 callers
Method
UpdateMemoryCompleted
UpdateMemoryCompleted 更新记忆 log entry 为完成状态
ch09/tui/entry.go:80
↓ 1 callers
Method
UpdatePolicyCompleted
UpdatePolicyCompleted 更新策略 log entry 为完成状态
ch08/tui/entry.go:64
↓ 1 callers
Method
UpdatePolicyCompleted
UpdatePolicyCompleted 更新策略 log entry 为完成状态
ch09/tui/entry.go:64
↓ 1 callers
Method
UpdatePolicyCompleted
UpdatePolicyCompleted 更新策略 log entry 为完成状态
ch05/tui/entry.go:60
↓ 1 callers
Function
Warn
(msg string, fields ...interface{})
shared/log/log.go:39
↓ 1 callers
Function
Warnf
(format string, args ...interface{})
shared/log/log.go:43
↓ 1 callers
Method
abortCurrentTurn
()
ch08/tui/tui.go:420
↓ 1 callers
Method
abortCurrentTurn
()
ch09/tui/tui.go:420
↓ 1 callers
Method
abortCurrentTurn
()
ch03/tui/tui.go:380
↓ 1 callers
Method
abortCurrentTurn
()
ch05/tui/tui.go:341
↓ 1 callers
Method
abortCurrentTurn
()
ch06/tui/tui.go:361
↓ 1 callers
Method
abortCurrentTurn
()
ch04/tui/tui.go:379
↓ 1 callers
Function
appendReasoningPart
(state: RunState, delta: string)
frontend/src/components/assistant-ui/model-adapter.ts:204
↓ 1 callers
Function
appendTextPart
(state: RunState, delta: string)
frontend/src/components/assistant-ui/model-adapter.ts:187
↓ 1 callers
Function
appendToolCallPart
(state: RunState, event: SSEMessageVO)
frontend/src/components/assistant-ui/model-adapter.ts:221
↓ 1 callers
Function
appendToolResult
(state: RunState, event: SSEMessageVO)
frontend/src/components/assistant-ui/model-adapter.ts:234
↓ 1 callers
Method
applyPolicies
(ctx context.Context)
ch08/context/engine.go:125
↓ 1 callers
Method
applyPolicies
(ctx context.Context)
ch09/context/engine.go:135
↓ 1 callers
Method
applyPolicies
(ctx context.Context)
ch05/context/engine.go:106
↓ 1 callers
Method
applyPolicies
(ctx context.Context)
ch06/context/engine.go:120
↓ 1 callers
Function
applySSEEvent
(state: RunState, event: SSEMessageVO)
frontend/src/components/assistant-ui/model-adapter.ts:149
↓ 1 callers
Function
archiveThread
(threadId: string)
frontend/src/api.ts:107
← previous
next →
301–400 of 923, ranked by callers