MCPcopy Create free account

hub / github.com/cloudwego/eino / functions

Functions3,994 in github.com/cloudwego/eino

↓ 3 callersMethodcheckAndAddMappedPath
(paths []FieldPath)
compose/workflow.go:369
↓ 3 callersFunctioncheckMarshaler
(t reflect.Type)
internal/serialization/serialization.go:687
↓ 3 callersFunctioncheckStream
(s *StreamReader[int])
schema/stream_test.go:373
↓ 3 callersFunctionconcatStreamMsg
(sr *schema.StreamReader[*schema.Message])
flow/agent/react/option_test.go:1368
↓ 3 callersFunctionconcatString
(sr *schema.StreamReader[string])
adk/middlewares/filesystem/large_tool_result.go:138
↓ 3 callersFunctionconcatString
(sr *schema.StreamReader[string])
adk/middlewares/reduction/internal/large_tool_result.go:171
↓ 3 callersFunctionconsumeUntilInterrupt
consumeUntilInterrupt consumes events from the iterator until an interrupt is found or it's exhausted.
adk/interrupt_test.go:1810
↓ 3 callersFunctionconvExecuteResponse
(response *filesystem.ExecuteResponse)
adk/middlewares/filesystem/filesystem.go:1088
↓ 3 callersFunctionconvert
(values map[string]any, convPairs map[string]streamConvertPair, isStream bool)
compose/checkpoint.go:366
↓ 3 callersMethodcopy
(n int)
compose/stream_reader.go:27
↓ 3 callersFunctioncopyAgentCallbackOutput
(out *AgentCallbackOutput, n int)
adk/callback.go:82
↓ 3 callersFunctioncopyTypedCallbackOutput
(out *TypedAgentCallbackOutput[M], n int)
adk/callback.go:174
↓ 3 callersMethoddeepCopy
()
adk/runctx.go:359
↓ 3 callersFunctiondefaultBackoffDuration
(attempt int)
adk/middlewares/summarization/summarization.go:1248
↓ 3 callersFunctiondefaultTokenCounter
defaultTokenCounter estimates tokens, which treats one token as ~4 characters of text for common English text. github.com/tiktoken-go/tokenizer is hig
adk/middlewares/reduction/reduction.go:1217
↓ 3 callersFunctiondrainResumeErrors
(t *testing.T, iter *AsyncIterator[*AgentEvent])
adk/cancel_test.go:2531
↓ 3 callersFunctiondrainTypedAgenticEvents
(t *testing.T, iter *AsyncIterator[*TypedAgentEvent[*schema.AgenticMessage]])
adk/agentic_test.go:1386
↓ 3 callersFunctionestimateAgenticMessageTokens
(msg *schema.AgenticMessage)
adk/middlewares/summarization/summarization.go:1088
↓ 3 callersFunctionexactRunPathMatch
(aPath, bPath []RunStep)
adk/flow.go:579
↓ 3 callersFunctionextractTextContent
(msg M)
adk/chatmodel.go:733
↓ 3 callersFunctionextractToolIdentifiers
extractToolIdentifiers extracts the tool name and call ID from an AgenticMessage that contains a tool result content block. Assumes one tool result pe
adk/react.go:807
↓ 3 callersFunctionextractType
(t reflect.Type)
internal/serialization/serialization.go:181
↓ 3 callersFunctionfindInterruptEvent
(events []*agenticAgentEvent)
adk/agentic_react_test.go:222
↓ 3 callersMethodforPredecessorPassthrough
()
compose/generic_helper.go:119
↓ 3 callersFunctionformatContent
(files []loadedFile)
adk/middlewares/agentsmd/loader.go:265
↓ 3 callersFunctionformatMessageInputMedia
(media *T)
schema/message.go:927
↓ 3 callersFunctionformatMessageOutputMedia
(media *T)
schema/message.go:1023
↓ 3 callersFunctionforwardEventsAndAppendTransfer
(iter *AsyncIterator[*AgentEvent], generator *AsyncGenerator[*AgentEvent], toAgentNames []string)
adk/deterministic_transfer.go:139
↓ 3 callersMethodgenerateAndEmit
(ctx context.Context, chatModel model.BaseModel[M], input []M, opts []model.Option, attempt int, phase Genera
adk/middlewares/summarization/summarization.go:820
↓ 3 callersMethodgenerateWithRetry
(ctx context.Context, chatModel model.BaseModel[M], input []M, opts []model.Option, retryCfg *TypedRetryConfi
adk/middlewares/summarization/summarization.go:831
↓ 3 callersMethodget
(bool, string, *edgeHandlerManager)
compose/graph_manager.go:33
↓ 3 callersMethodgetGenericHelper
()
compose/types_composable.go:26
↓ 3 callersFunctiongetHitKey
(tasks []*task, keys []string)
compose/graph_run.go:490
↓ 3 callersFunctiongetMsgContent
(msg M)
adk/middlewares/dynamictool/toolsearch/toolsearch_generic_test.go:137
↓ 3 callersFunctiongetMsgRole
(msg M)
adk/middlewares/dynamictool/toolsearch/toolsearch_generic_test.go:126
↓ 3 callersMethodgetOnEndCalled
()
adk/agentic_callback_integration_test.go:49
↓ 3 callersMethodgetOnStartCalled
()
adk/agentic_callback_integration_test.go:43
↓ 3 callersFunctiongetReactChatHistory
(ctx context.Context, destAgentName string)
adk/agent_tool.go:362
↓ 3 callersMethodgetRemainingIterations
()
adk/react.go:179
↓ 3 callersFunctiongetRunCtx
(ctx context.Context)
internal/core/resume.go:106
↓ 3 callersMethodhandleRunFuncError
handleRunFuncError is the common error handler for buildNoToolsRunFunc and buildReActRunFunc. It handles compose interrupts (both cancel-triggered and
adk/chatmodel.go:913
↓ 3 callersFunctionhasToolCalls
hasToolCalls checks if an assistant message contains tool calls.
adk/middlewares/reduction/reduction.go:914
↓ 3 callersMethodidleDuration
()
adk/turn_loop.go:489
↓ 3 callersFunctioninitAgenticCallbacks
(ctx context.Context, agentName, agentType string, opts ...AgentRunOption)
adk/callback.go:190
↓ 3 callersMethodinputType
()
compose/graph.go:666
↓ 3 callersMethodisOwnGraph
isOwnGraph reports whether the callback is being invoked for the React agent's own graph. After the first onGraphStart call records h.ownAddress, sub
flow/agent/react/option.go:267
↓ 3 callersMethodisRoot
()
adk/runctx.go:355
↓ 3 callersFunctionisSystemMsg
isSystemMsg checks if a message has system role.
adk/middlewares/reduction/reduction.go:880
↓ 3 callersFunctionisToolResultOnlyMsg
isToolResultOnlyMsg checks if a message is exclusively a tool result message (no other content besides tool results). For *schema.Message: role == Too
adk/middlewares/reduction/reduction.go:952
↓ 3 callersFunctionisUserMsg
isUserMsg checks if a message has user role (and is not a tool-result message).
adk/middlewares/reduction/reduction.go:891
↓ 3 callersFunctionisWorkflow
(cmp component)
compose/graph.go:155
↓ 3 callersFunctionjoinRunCtxs
(parentCtx context.Context, childCtxs ...context.Context)
adk/runctx.go:423
↓ 3 callersMethodmarkAgentToolDescendant
()
adk/cancel.go:569
↓ 3 callersFunctionmockInvokableTool
()
adk/middlewares/reduction/reduction_test.go:1149
↓ 3 callersFunctionmockStreamableTool
()
adk/middlewares/reduction/reduction_test.go:1162
↓ 3 callersFunctionnewAgenticRecordingHandler
(recorder *agenticCallbackRecorder)
adk/agentic_callback_integration_test.go:63
↓ 3 callersFunctionnewInstanceByType
(typ reflect.Type)
compose/field_mapping.go:378
↓ 3 callersFunctionnewMultiStreamReader
(sts []*stream[T])
schema/stream.go:514
↓ 3 callersFunctionnewTaskListTool
(backend Backend, baseDir string, lock *sync.Mutex)
adk/middlewares/plantask/task_list.go:34
↓ 3 callersFunctionnewWorkflowAgent
(ctx context.Context, name, desc string, subAgents []Agent, mode workflowAgentMode, maxIterations int)
adk/workflow.go:655
↓ 3 callersMethodnextNodeKey
nextIdx. get the next idx for the chain. chain key is: node_idx => eg: node_0 => represent the first node of the chain (idx start from 0) if has paral
compose/chain.go:544
↓ 3 callersMethodoutputType
()
compose/graph.go:670
↓ 3 callersFunctionparseExecutorInfoFromComponent
(c component, executor any)
compose/graph_node.go:151
↓ 3 callersFunctionpreprocessADKCheckpoint
preprocessADKCheckpoint fixes a gob incompatibility when resuming old ChatModelAgent/DeepAgents checkpoints. Background - ADK checkpoints are gob-enc
adk/interrupt.go:267
↓ 3 callersFunctionprocessTypedState
(ctx context.Context, fn func(extra map[string]any) map[string]any)
adk/handler.go:315
↓ 3 callersMethodresolveInterruptCompletedTasks
(tempInfo *interruptTempInfo, completedTasks []*task)
compose/graph_run.go:457
↓ 3 callersFunctionrestoreType
(vt *valueType)
internal/serialization/serialization.go:212
↓ 3 callersFunctionrewriteMessage
(msg Message, agentName string)
adk/flow.go:188
↓ 3 callersFunctionsearch
(argumentsInJSON string, tools map[string]*schema.ToolInfo)
adk/middlewares/dynamictool/toolsearch/toolsearch.go:438
↓ 3 callersMethodsendMessage
(msg *schema.Message)
flow/agent/react/option.go:379
↓ 3 callersMethodsendMessageStream
(sMsg *schema.StreamReader[*schema.Message])
flow/agent/react/option.go:388
↓ 3 callersMethodset
(ctx context.Context, id string, cp *checkpoint)
compose/checkpoint.go:207
↓ 3 callersFunctionsetMsgExtra
(msg M, key string, val any)
adk/middlewares/dynamictool/toolsearch/toolsearch_generic_test.go:164
↓ 3 callersMethodsetReturnDirectlyToolCallID
(id string)
adk/react.go:126
↓ 3 callersFunctionsetToolCallArguments
setToolCallArguments updates the arguments for a tool call at the given block index.
adk/middlewares/reduction/reduction.go:1033
↓ 3 callersFunctionsetToolResultFromOutputParts
setToolResultFromOutputParts converts ToolOutputPart slice back to FunctionToolResultContentBlock slice and sets f.Content.
adk/middlewares/reduction/reduction.go:1621
↓ 3 callersMethodskipCheckpointEnabled
()
adk/turn_loop.go:498
↓ 3 callersFunctionstrPtr
(s string)
adk/flow_test.go:32
↓ 3 callersMethodstripDynamicTools
(tools []*schema.ToolInfo)
adk/middlewares/dynamictool/toolsearch/toolsearch.go:249
↓ 3 callersFunctiontoolResultToOutputParts
toolResultToOutputParts converts a FunctionToolResult's Content blocks to ToolOutputPart slice.
adk/middlewares/reduction/reduction.go:1586
↓ 3 callersFunctiontruncateSkillContent
truncateSkillContent truncates skill content to fit within maxTokens. It keeps the first portion of the content and appends a truncation marker (e.g.
adk/middlewares/summarization/finalizer_builder.go:418
↓ 3 callersFunctiontruncateString
truncateString truncates a string to maxLen characters, adding "..." if truncated
schema/agentic_message.go:2231
↓ 3 callersFunctionuniqueSlice
(s []string)
compose/graph.go:906
↓ 3 callersFunctionwrapStreamWithCancelMonitoring
wrapStreamWithCancelMonitoring wraps a stream with cancel monitoring. When immediateChan fires (CancelImmediate or timeout escalation), the output str
adk/cancel.go:868
↓ 2 callersMethodAddIndexer
AddIndexer adds an indexer node to the parallel. eg. indexer, err := volc_vikingdb.NewIndexer(ctx, &volc_vikingdb.IndexerConfig{ Collection: "my_c
compose/chain_parallel.go:198
↓ 2 callersMethodAddLoader
AddLoader adds a loader node to the parallel. eg. loader, err := file.NewLoader(ctx, &file.LoaderConfig{}) p.AddLoader("output_key01", loader)
compose/chain_parallel.go:185
↓ 2 callersMethodAddRetriever
AddRetriever adds a retriever node to the parallel. eg. retriever, err := vikingdb.NewRetriever(ctx, &vikingdb.RetrieverConfig{}) p.AddRetriever("o
compose/chain_parallel.go:174
↓ 2 callersMethodAfterModelRewriteState
AfterModelRewriteState is called after each model invocation. The input state includes the model's response as the last message. The returned state is
adk/handler.go:181
↓ 2 callersMethodAgenticModel
AgenticModel sets the agentic chat model handler for the handler helper, which will be called when the agentic chat model component is executed.
utils/callbacks/template.go:141
↓ 2 callersMethodAppendEmbedding
AppendEmbedding add a Embedding node to the chain. e.g. embedder, err := openai.NewEmbedder(ctx, config) if err != nil {...} chain.AppendEmbedding
compose/chain.go:278
↓ 2 callersFunctionChatModelWithTools
ChatModelWithTools returns a chat model configured with tool schemas. If a ToolCallingChatModel is provided, it is used directly (and optionally confi
flow/agent/utils.go:29
↓ 2 callersMethodClearWakeup
()
adk/turn_buffer.go:129
↓ 2 callersFunctionConcatAgenticMessagesArray
ConcatAgenticMessagesArray concatenates multiple streams of AgenticMessage into a single slice of AgenticMessage.
schema/agentic_message.go:896
↓ 2 callersFunctionConcurrentRetrieveWithCallback
ConcurrentRetrieveWithCallback concurrently retrieves documents with callback.
flow/retriever/utils/utils.go:44
↓ 2 callersFunctionConvAgenticCallbackOutput
ConvAgenticCallbackOutput converts the callback output to the agentic prompt callback output.
components/prompt/agentic_callback_extra.go:59
↓ 2 callersFunctionConvertCallbackHandlers
ConvertCallbackHandlers converts []host.MultiAgentCallback to callbacks.Handler.
flow/agent/multiagent/host/callback.go:42
↓ 2 callersFunctionDefaultFinalize
DefaultFinalize is the default TypedFinalizeFunc implementation, providing the same summary post-processing as the middleware does internally: 1. Repl
adk/middlewares/summarization/finalizer_builder.go:37
↓ 2 callersFunctionDeleteRunLocalValue
DeleteRunLocalValue removes a value that was set during the current agent Run() invocation. This function can only be called from within a ChatModelA
adk/handler.go:385
↓ 2 callersMethodEmbedding
Embedding sets the embedding handler for the handler helper, which will be called when the embedding component is executed.
utils/callbacks/template.go:93
↓ 2 callersMethodEquals
(r1 RunStep)
adk/interface.go:389
← previousnext →801–900 of 3,994, ranked by callers