Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwego/eino
/ functions
Functions
3,994 in github.com/cloudwego/eino
⨍
Functions
3,994
◇
Types & classes
1,204
↓ 1 callers
Method
prepareExecContext
(ctx context.Context)
adk/chatmodel.go:855
↓ 1 callers
Method
processFile
(filePath, content string, re *regexp.Regexp, req *GrepRequest)
adk/filesystem/backend_inmemory.go:713
↓ 1 callers
Method
pushWithConfig
(item T, cfg *pushConfig[T, M])
adk/turn_loop.go:1457
↓ 1 callers
Method
pushWithStrategy
pushWithStrategy snapshots the current target turn while the strategy decides how to enqueue the item. If it requests preempt, that request is bound t
adk/turn_loop.go:1397
↓ 1 callers
Function
readTestdataBytes
(t *testing.T, filename string)
adk/prebuilt/deep/checkpoint_compat_resume_test.go:78
↓ 1 callers
Method
receive
(recv func() (*task, bool))
compose/graph_manager.go:434
↓ 1 callers
Function
receiveN
(chosenList []int, ss []*stream[T])
schema/select.go:21
↓ 1 callers
Function
receiveWithDeadline
(recv func() (*task, bool), deadline time.Time)
compose/graph_manager.go:454
↓ 1 callers
Function
receiveWithListening
(recv func() (*task, bool), cancel chan *time.Duration)
compose/graph_manager.go:479
↓ 1 callers
Function
recvAll
(t *testing.T, sr *schema.StreamReader[string])
schema/stream_oneof_test.go:28
↓ 1 callers
Method
recvAny
()
schema/stream.go:366
↓ 1 callers
Method
removeTaskFromDependencies
(ctx context.Context, deletedTaskID string)
adk/middlewares/plantask/task_update.go:286
↓ 1 callers
Function
renderToolDescription
(matters []FrontMatter)
adk/middlewares/skill/skill.go:698
↓ 1 callers
Method
reportBranch
(from string, skippedNodes []string)
compose/graph_manager.go:219
↓ 1 callers
Method
reportDependencies
([]string)
compose/graph_manager.go:31
↓ 1 callers
Method
reportValues
(map[string]any)
compose/graph_manager.go:30
↓ 1 callers
Method
requireNoPendingLocked
(op string)
adk/turn_loop.go:277
↓ 1 callers
Function
requirePreemptPhase
(t *testing.T, c *preemptController, phase preemptTurnPhase)
adk/turn_loop_test.go:3000
↓ 1 callers
Method
resolveMaxSteps
(maxSteps int, opts []Option)
compose/graph_run.go:362
↓ 1 callers
Method
restoreCheckPoint
convertCheckPoint convert values in checkpoint to streamReader if needed
compose/checkpoint.go:321
↓ 1 callers
Method
restoreInputs
(isStream bool, values map[string]any)
compose/checkpoint.go:354
↓ 1 callers
Method
restoreOutputs
(isStream bool, values map[string]any)
compose/checkpoint.go:362
↓ 1 callers
Function
resumeFlowAgentWithIsolatedSession
(ctx context.Context, fa *flowAgent, info *ResumeInfo, toAgentNames []string, opts ...AgentRunOption)
adk/deterministic_transfer.go:197
↓ 1 callers
Method
run
(ctx context.Context)
adk/turn_loop.go:1570
↓ 1 callers
Method
runAgentAndHandleEvents
( ctx context.Context, agent TypedAgent[M], spec *turnRunSpec[T, M], )
adk/turn_loop.go:1809
↓ 1 callers
Function
runDeepAgentCheckpointCompat
(t *testing.T, checkpointID string, filename string)
adk/prebuilt/deep/checkpoint_compat_resume_test.go:89
↓ 1 callers
Method
runFailover
(ctx context.Context, originalMsgs, defaultInput []M, lastResp M, lastErr error)
adk/middlewares/summarization/summarization.go:519
↓ 1 callers
Function
runPostHandler
(ta *task, runWrapper runnableCallWrapper)
compose/graph_manager.go:543
↓ 1 callers
Function
runPreHandler
(ta *task, runWrapper runnableCallWrapper)
compose/graph_manager.go:527
↓ 1 callers
Method
setActiveModel
(ctx context.Context, modelName string)
adk/middlewares/skill/skill.go:443
↓ 1 callers
Function
setCheckPointToCtx
(ctx context.Context, cp *checkpoint)
compose/checkpoint.go:146
↓ 1 callers
Method
setMergeConfig
(FanInMergeConfig)
compose/graph_manager.go:37
↓ 1 callers
Function
setStateModifier
(ctx context.Context, modifier StateModifier)
compose/checkpoint.go:130
↓ 1 callers
Function
setStructField
(t reflect.Type, s reflect.Value, fieldName string, val any)
internal/serialization/serialization.go:622
↓ 1 callers
Function
splitToolName
splitToolName splits a tool name into parts by underscores, double underscores (MCP separator), and camelCase boundaries.
adk/middlewares/dynamictool/toolsearch/toolsearch.go:603
↓ 1 callers
Method
start
(ctx context.Context)
adk/turn_loop.go:1335
↓ 1 callers
Function
streamByCollect
(c Collect[I, O, TOption])
compose/runnable.go:254
↓ 1 callers
Function
streamByInvoke
(i Invoke[I, O, TOption])
compose/runnable.go:243
↓ 1 callers
Function
streamByTransform
(t Transform[I, O, TOption])
compose/runnable.go:235
↓ 1 callers
Function
streamChunkConvertForCBInput
(i I)
compose/utils.go:213
↓ 1 callers
Function
streamChunkConvertForCBOutput
(o O)
compose/utils.go:209
↓ 1 callers
Function
streamConvertPostHandler
(handler StreamStatePostHandler[O, S])
compose/state.go:99
↓ 1 callers
Function
streamConvertPreHandler
(handler StreamStatePreHandler[I, S])
compose/state.go:84
↓ 1 callers
Function
streamEnhancedWithCallbacks
(s func(ctx context.Context, toolArgument *schema.ToolArgument, opts ...tool.Option) (*schema.StreamReader[*sc
compose/tool_node.go:752
↓ 1 callers
Function
streamFieldMap
(mappings []*FieldMapping, uncheckedSourcePaths map[string]FieldPath)
compose/field_mapping.go:568
↓ 1 callers
Method
streamLegacy
(ctx context.Context, input []M, opts ...model.Option)
adk/retry_chatmodel.go:687
↓ 1 callers
Function
streamWithMidErrorAgentic
(chunks []*schema.AgenticMessage, err error)
adk/failover_chatmodel_test.go:723
↓ 1 callers
Function
streamWithMidErrorControlled
(chunks []*schema.Message, err error, firstSent chan struct{}, release chan struct{})
adk/failover_chatmodel_test.go:78
↓ 1 callers
Function
streamWithShouldRetry
(r *typedRetryModelWrapper[M], ctx context.Context, input []M, opts ...model.Option)
adk/retry_chatmodel.go:488
↓ 1 callers
Function
streamableToInvokable
(e StreamableToolEndpoint)
compose/tool_node.go:700
↓ 1 callers
Function
stripLineNumbers
(data string)
adk/middlewares/skill/filesystem_backend.go:152
↓ 1 callers
Method
submit
(tasks []*task)
compose/graph_manager.go:300
↓ 1 callers
Method
summarize
(ctx context.Context, originalMsgs []M)
adk/middlewares/summarization/summarization.go:484
↓ 1 callers
Function
takeOne
(inputValue reflect.Value, inputType reflect.Type, from string)
compose/field_mapping.go:574
↓ 1 callers
Function
testStreamN
(cap, n int)
schema/stream_test.go:392
↓ 1 callers
Function
testStreamToolMessageTextOnly
(t *testing.T)
compose/agentic_tools_node_test.go:346
↓ 1 callers
Function
testToolOption
(value string)
adk/chatmodel_test.go:1935
↓ 1 callers
Method
toComposableRunnable
()
compose/graph_run.go:994
↓ 1 callers
Method
toComposableRunnable
()
compose/runnable.go:109
↓ 1 callers
Method
toGraphInfo
(opt *graphCompileOptions, key2SubGraphs map[string]*GraphInfo)
compose/graph.go:948
↓ 1 callers
Function
toSliceValue
(vs []any)
internal/concat.go:207
↓ 1 callers
Function
toolSearchResultAgenticMessage
(callID, name string, tr *schema.ToolResult)
adk/wrappers.go:609
↓ 1 callers
Function
transferTask
(script [][]string, invertedEdges map[string][]string)
compose/graph.go:1035
↓ 1 callers
Function
transformByCollect
(c Collect[I, O, TOption])
compose/runnable.go:316
↓ 1 callers
Function
transformByInvoke
(i Invoke[I, O, TOption])
compose/runnable.go:328
↓ 1 callers
Function
transformByStream
(s Stream[I, O, TOption])
compose/runnable.go:304
↓ 1 callers
Function
transformWithCallbacks
(t Transform[I, O, TOption])
compose/utils.go:148
↓ 1 callers
Method
tryLoadCheckpoint
(ctx context.Context)
adk/turn_loop.go:989
↓ 1 callers
Method
trySend
(v T)
adk/utils.go:47
↓ 1 callers
Function
typedInsertBeforeFirstUser
typedInsertBeforeFirstUser inserts a user message with agentsmd content before the first User message.
adk/middlewares/agentsmd/agentsmd.go:138
↓ 1 callers
Function
typedRunnerResumeInternalImpl
(a TypedAgent[M], store CheckPointStore, ctx context.Context, checkPointID string, resumeData map[string]any,
adk/runner.go:205
↓ 1 callers
Function
typedRunnerRunImpl
(a TypedAgent[M], enableStreaming bool, store CheckPointStore, ctx context.Context, messages []M, opts ...Agen
adk/runner.go:156
↓ 1 callers
Function
typedSetMessageID
typedSetMessageID sets a specific message ID in Extra.
adk/wrappers.go:486
↓ 1 callers
Function
typedTaskToolMiddleware
( ctx context.Context, taskToolDescriptionGenerator func(ctx context.Context, subAgents []adk.TypedAgent[M])
adk/prebuilt/deep/task_tool.go:35
↓ 1 callers
Function
typedToolEnhancedInvokeEvent
typedToolEnhancedInvokeEvent constructs the tool result event for the enhanced invoke path. For *schema.Message it builds a multimodal tool message; f
adk/wrappers.go:778
↓ 1 callers
Function
typedToolStreamEvent
typedToolStreamEvent constructs the tool result event for the stream path, dispatching on M to create the correct message stream and event types.
adk/wrappers.go:740
↓ 1 callers
Function
unmarshal
(data []byte, t reflect.Type)
internal/serialization/serialization.go:145
↓ 1 callers
Method
updateAndGet
(ctx context.Context, values map[string]map[string]any, dependencies map[string][]string)
compose/graph_manager.go:207
↓ 1 callers
Method
validate
()
adk/middlewares/agentsmd/agentsmd.go:199
↓ 1 callers
Function
validateDAG
(chanSubscribeTo map[string]*chanCall, controlPredecessors map[string][]string)
compose/graph.go:1077
↓ 1 callers
Function
validateFieldMapping
(predecessorType reflect.Type, successorType reflect.Type, mappings []*FieldMapping)
compose/field_mapping.go:645
↓ 1 callers
Method
wakeTimeoutController
()
adk/cancel.go:458
↓ 1 callers
Method
watchPreempt
watchPreempt runs for the lifetime of a single active turn. It consumes pending preempt requests exactly once and submits cancel for that turn.
adk/turn_loop.go:1759
↓ 1 callers
Method
watchStop
watchStop runs for the lifetime of a single active turn. It consumes pending Stop cancel requests exactly once and submits them to that turn.
adk/turn_loop.go:1784
↓ 1 callers
Function
withAgentToolEventGenerator
(gen *AsyncGenerator[*AgentEvent])
adk/agent_tool.go:304
↓ 1 callers
Function
withAgentToolOptions
(agentName string, opts []AgentRunOption)
adk/agent_tool.go:297
↓ 1 callers
Method
withKey
(string)
compose/stream_reader.go:31
↓ 1 callers
Method
withRunInfo
(runInfo *RunInfo)
internal/callbacks/manager.go:51
↓ 1 callers
Function
withTypedAgentToolEventGenerator
(gen *AsyncGenerator[*TypedAgentEvent[M]])
adk/agent_tool.go:308
↓ 1 callers
Function
wrapEnhancedInvokableToolCall
(eiTool tool.EnhancedInvokableTool, middlewares []EnhancedInvokableToolMiddleware, needCallback bool)
compose/tool_node.go:614
↓ 1 callers
Function
wrapEnhancedStreamableToolCall
(est tool.EnhancedStreamableTool, middlewares []EnhancedStreamableToolMiddleware, needCallback bool)
compose/tool_node.go:633
↓ 1 callers
Method
wrapGenerateEndpoint
(endpoint typedGenerateEndpoint[M])
adk/wrappers.go:1017
↓ 1 callers
Function
wrapGraphNodeError
(nodeKey string, err error)
compose/error.go:62
↓ 1 callers
Method
wrapRunnableCtx
(ctxWrapper func(ctx context.Context, opts ...TOption) context.Context)
compose/runnable.go:88
↓ 1 callers
Method
wrapStreamEndpoint
(endpoint typedStreamEndpoint[M])
adk/wrappers.go:1098
↓ 1 callers
Function
wrapStreamToolCall
(st tool.StreamableTool, middlewares []StreamableToolMiddleware, needCallback bool)
compose/tool_node.go:595
↓ 1 callers
Function
wrapToolCall
(it tool.InvokableTool, middlewares []InvokableToolMiddleware, needCallback bool)
compose/tool_node.go:576
Method
A
()
compose/graph_test.go:417
Method
A
()
compose/checkpoint_test.go:1277
Method
AddAgenticChatTemplate
AddAgenticChatTemplate adds a prompt.AgenticChatTemplate to the parallel. eg. chatTemplate01, err := prompt.FromAgenticMessages(schema.FString, &sch
compose/chain_parallel.go:111
← previous
next →
1,601–1,700 of 3,994, ranked by callers