MCPcopy Create free account

hub / github.com/cloudwego/eino-examples / functions

Functions1,121 in github.com/cloudwego/eino-examples

↓ 2 callersFunctionStreamContinue
StreamContinue resumes an interrupted stream without resetting the client UI. It continues from startMsgIdx, appending new chips to the existing compo
quickstart/chatwitheino/a2ui/streamer.go:77
↓ 2 callersMethodString
()
adk/human-in-the-loop/3_feedback-loop/reviewer_agent.go:52
↓ 2 callersFunctionToJSONString
(v interface{})
adk/multiagent/deep/utils/utils.go:70
↓ 2 callersFunctionVariantIsToolResult
VariantIsToolResult reports whether a message variant carries tool output.
quickstart/chatwitheino/msgops/variant.go:68
↓ 2 callersFunctionVariantRoleLabel
VariantRoleLabel returns a display label without consuming a stream.
quickstart/chatwitheino/msgops/variant.go:37
↓ 2 callersFunctionWithDisableThinking
(disable bool)
adk/multiagent/integration-excel-agent/utils/model.go:118
↓ 2 callersFunctionWithMaxStreamLogBytes
WithMaxStreamLogBytes caps stream summary size when using a plain Logger.
components/model/httptransport/curlrt.go:119
↓ 2 callersFunctionWithMaxTokens
(maxTokens int)
adk/multiagent/deep/utils/model.go:104
↓ 2 callersFunctionWithStreamLogging
WithStreamLogging enables logging for streaming responses (SSE/NDJSON).
components/model/httptransport/curlrt.go:116
↓ 2 callersFunctionWithTemperature
(temp float32)
adk/multiagent/deep/utils/model.go:110
↓ 2 callersMethodWithTools
(tools []*schema.ToolInfo)
flow/agent/multiagent/plan_execute/debug/mock_model.go:94
↓ 2 callersFunctionWithTopP
(topP float32)
adk/multiagent/deep/utils/model.go:116
↓ 2 callersFunctionWrite2PlanMD
(ctx context.Context, op commandline.Operator, wd string, plan []*FullPlan)
adk/multiagent/integration-excel-agent/generic/full_plan.go:80
↓ 2 callersFunctionbuildStartSpanFn
(client cozeloop.Client)
adk/common/trace/coze_loop.go:61
↓ 2 callersFunctioncalculateUrgency
(task)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:51
↓ 2 callersFunctioncontains
(s, substr string)
quickstart/eino_assistant/pkg/tool/task/storage.go:278
↓ 2 callersFunctiondefaultTaskToolConfig
(ctx context.Context)
quickstart/eino_assistant/pkg/tool/task/task.go:77
↓ 2 callersFunctiondeleteConversation
(id, element)
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:235
↓ 2 callersFunctiondrainEvents
drainEvents consumes all events from the iterator, printing output and detecting CancelError. Returns true if a CancelError was encountered. Events ar
adk/cancel/graceful-exit/main.go:346
↓ 2 callersFunctionemitDataUpdate
(w io.Writer, surfaceID, dataKey, content string)
quickstart/chatwitheino/a2ui/streamer.go:453
↓ 2 callersFunctionemitHistory
(w io.Writer, surfaceID string, history []M, rootChildren []string)
quickstart/chatwitheino/a2ui/streamer.go:408
↓ 2 callersFunctionemitMessageShell
(w io.Writer, surfaceID string, rootChildren []string, cardID, colID, roleID, contentID, dataKey, roleLabel st
quickstart/chatwitheino/a2ui/streamer.go:438
↓ 2 callersFunctionfileExists
(path string)
quickstart/chatwitheino/scripts/sync_eino_ext_skills.go:252
↓ 2 callersFunctionfunctionToolResultText
(result *schema.FunctionToolResult)
quickstart/chatwitheino/msgops/extract.go:304
↓ 2 callersFunctiongetContextParams
(ctx context.Context, mapKey string)
adk/multiagent/deep/params/params.go:71
↓ 2 callersFunctiongetContextParams
(ctx context.Context, mapKey string)
adk/multiagent/integration-excel-agent/params/params.go:71
↓ 2 callersFunctiongetJournalFilePath
(dateStr string)
flow/agent/multiagent/host/journal/write_journal_specialist.go:60
↓ 2 callersFunctiongetPerformances
()
flow/agent/multiagent/plan_execute/tools/theme_park.go:416
↓ 2 callersFunctiongetQueryParams
()
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:2
↓ 2 callersFunctiongetTools
()
compose/graph/react_with_interrupt/main.go:232
↓ 2 callersFunctionhighlightCurrentChat
()
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:224
↓ 2 callersFunctioninitializeFormValues
()
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:30
↓ 2 callersFunctionisHiddenFile
(name string)
adk/multiagent/deep/generic/file_preview.go:215
↓ 2 callersFunctionisHiddenFile
(name string)
adk/multiagent/integration-excel-agent/generic/file_preview.go:215
↓ 2 callersMethodmakeGenInput
makeGenInput returns the GenInput callback. It builds agent messages from session history + workspace context.
quickstart/chatwitheino/server/server.go:587
↓ 2 callersMethodmakeOnAgentEvents
makeOnAgentEvents returns the OnAgentEvents callback — the bridge between the TurnLoop and the HTTP handler.
quickstart/chatwitheino/server/server.go:643
↓ 2 callersMethodmakePrepareAgent
makePrepareAgent returns the PrepareAgent callback — returns the same agent.
quickstart/chatwitheino/server/server.go:635
↓ 2 callersMethodmask
(name, value string)
components/model/httptransport/curlrt.go:188
↓ 2 callersFunctionmustJSON
(v any)
adk/agentic/research_assistant/tools.go:104
↓ 2 callersFunctionnewBatchBridgeStore
newBatchBridgeStore creates a new empty checkpoint store.
compose/batch/batch/store.go:40
↓ 2 callersFunctionnewChatModel
(ctx context.Context)
flow/agent/manus/manus.go:382
↓ 2 callersFunctionnewEmptyStore
()
adk/common/tool/graphtool/graph_tool.go:292
↓ 2 callersFunctionnewResumeStore
(data []byte)
adk/common/tool/graphtool/graph_tool.go:296
↓ 2 callersFunctionparseBatchIndex
parseBatchIndex extracts the batch index from a checkpoint ID. Returns error if the ID format is invalid.
compose/batch/batch/store.go:54
↓ 2 callersMethodpickModel
(ctx context.Context, input []*schema.Message, opts ...model.Option)
components/model/abtest/ab_router.go:61
↓ 2 callersFunctionprintAgenticMessage
(index int, msg *schema.AgenticMessage)
adk/agentic/research_assistant/main.go:92
↓ 2 callersFunctionprintAgenticMessage
(index int, msg *schema.AgenticMessage)
adk/agentic/retry_max_output_tokens/main.go:184
↓ 2 callersFunctionremoveErrorHandler
removeErrorHandler is an error handler function that generates a string describing the error that occurred during a tool call.
components/tool/middlewares/errorremover/errorremover.go:33
↓ 2 callersFunctionrunTyped
(ctx context.Context, instruction, query string)
quickstart/chatwitheino/cmd/ch01/main.go:55
↓ 2 callersFunctionrunTyped
(ctx context.Context, sessionID, instruction string)
quickstart/chatwitheino/cmd/ch08/main.go:91
↓ 2 callersFunctionrunTyped
(ctx context.Context, sessionID, instruction string)
quickstart/chatwitheino/cmd/ch09/main.go:91
↓ 2 callersFunctionrunTyped
(ctx context.Context, sessionID, instruction string)
quickstart/chatwitheino/cmd/ch03/main.go:54
↓ 2 callersFunctionrunTyped
(ctx context.Context, instruction string)
quickstart/chatwitheino/cmd/ch02/main.go:49
↓ 2 callersFunctionrunTyped
(ctx context.Context, sessionID, instruction string)
quickstart/chatwitheino/cmd/ch05/main.go:57
↓ 2 callersFunctionrunTyped
(ctx context.Context, sessionID, instruction string)
quickstart/chatwitheino/cmd/ch06/main.go:85
↓ 2 callersFunctionrunTyped
(ctx context.Context, sessionID, instruction string)
quickstart/chatwitheino/cmd/ch04/main.go:57
↓ 2 callersFunctionrunTyped
(ctx context.Context, sessionID, instruction string)
quickstart/chatwitheino/cmd/ch07/main.go:89
↓ 2 callersFunctionrunTyped
(ctx context.Context, query string)
quickstart/chatwitheino/smoketest/main.go:55
↓ 2 callersFunctionstreamEvents
streamEvents is the shared event-processing loop used by StreamToWriter and StreamContinue. Returns: last assistant text content, intermediate message
quickstart/chatwitheino/a2ui/streamer.go:94
↓ 2 callersMethodsyncToDisk
()
quickstart/eino_assistant/pkg/tool/task/storage.go:214
↓ 2 callersFunctionupdateCountdown
(element, deadline)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:89
↓ 2 callersFunctionurlEncode
(s string)
devops/visualize/mermaid.go:457
↓ 2 callersFunctionwithDeleteCheckpointStore
(store adk.CheckPointStore)
quickstart/chatwitheino/server/server.go:93
↓ 2 callersFunctionwrite2PlanMD
(ctx context.Context, op commandline.Operator)
adk/multiagent/integration-excel-agent/agents/wrap_plan.go:91
↓ 1 callersFunctionAppendContextParams
(ctx context.Context, values map[string]interface{})
adk/multiagent/deep/params/params.go:31
↓ 1 callersFunctionAppendContextParams
(ctx context.Context, values map[string]interface{})
adk/multiagent/integration-excel-agent/params/params.go:31
↓ 1 callersFunctionBindRoutes
BindRoutes 注册路由
quickstart/eino_assistant/cmd/einoagent/task/server.go:36
↓ 1 callersFunctionBindRoutes
(r *route.RouterGroup)
quickstart/eino_assistant/cmd/einoagent/agent/server.go:47
↓ 1 callersFunctionBuildKnowledgeIndexing
(ctx context.Context)
quickstart/eino_assistant/eino/knowledgeindexing/orchestration.go:26
↓ 1 callersFunctionConcatChunks
ConcatChunks merges streaming message chunks using the official Eino schema helpers. For AgenticMessage this preserves reasoning blocks and reasoning
quickstart/chatwitheino/msgops/variant.go:139
↓ 1 callersFunctionCorsMw
()
flow/agent/deer-go/main.go:44
↓ 1 callersFunctionCreateMCPClients
()
flow/agent/deer-go/biz/infra/mcp.go:111
↓ 1 callersMethodDelete
Delete removes the session file and evicts it from the cache.
quickstart/chatwitheino/mem/store.go:216
↓ 1 callersMethodDelete
(id string)
quickstart/eino_assistant/pkg/tool/task/storage.go:198
↓ 1 callersMethodDeleteConversation
(id string)
quickstart/eino_assistant/pkg/mem/simple.go:121
↓ 1 callersFunctionEncode
Encode serializes a Message to JSON followed by a newline byte.
quickstart/chatwitheino/a2ui/types.go:105
↓ 1 callersMethodFirstStep
()
adk/multiagent/integration-excel-agent/generic/plan.go:53
↓ 1 callersFunctionFormatInput
(input []adk.Message)
adk/multiagent/deep/utils/utils.go:55
↓ 1 callersFunctionFullPlan2String
(plan []*FullPlan)
adk/multiagent/deep/generic/full_plan.go:72
↓ 1 callersFunctionFullPlan2String
(plan []*FullPlan)
adk/multiagent/integration-excel-agent/generic/full_plan.go:72
↓ 1 callersMethodGenerate
Generate implements model.BaseChatModel. It reads state, calls GetOptionFunc, increments iteration, and delegates to the inner model.
flow/agent/react/dynamic_option_example/dynamic/model.go:46
↓ 1 callersMethodGenerate
(ctx context.Context, input []*schema.Message, opts ...model.Option)
components/model/abtest/ab_router.go:79
↓ 1 callersMethodGet
(ctx context.Context, checkPointID string)
flow/agent/manus/manus.go:460
↓ 1 callersMethodGet
(_ context.Context, id string)
compose/batch/main.go:481
↓ 1 callersFunctionGetAllTravelTools
(ctx context.Context)
adk/human-in-the-loop/6_plan-execute-replan/tools.go:245
↓ 1 callersFunctionGetAllTravelTools
GetAllTravelTools returns all travel-related tools
adk/multiagent/plan-execute-replan/tools/travel_tools.go:291
↓ 1 callersFunctionGetCurrentTime
()
adk/multiagent/deep/utils/utils.go:75
↓ 1 callersMethodGetDishesByRestaurant
(ctx context.Context, restaurantID string, topn int)
flow/agent/react/tools/service.go:126
↓ 1 callersFunctionGetInputLoggerCallback
()
adk/common/model/chat_model.go:70
↓ 1 callersMethodGetMessages
()
quickstart/eino_assistant/pkg/tool/einotool/templates/http_agent/main.go:215
↓ 1 callersMethodGetOrCreateConversation
(id string)
quickstart/eino_assistant/pkg/tool/einotool/templates/http_agent/main.go:187
↓ 1 callersFunctionGetProjectExecutionTools
(ctx context.Context)
adk/human-in-the-loop/8_supervisor-plan-execute/tools.go:229
↓ 1 callersFunctionGetResearchTools
(ctx context.Context)
adk/human-in-the-loop/8_supervisor-plan-execute/tools.go:221
↓ 1 callersMethodGetRestaurantsByLocation
(ctx context.Context, location string, topn int)
flow/agent/react/tools/service.go:110
↓ 1 callersFunctionGetTools
(ctx context.Context)
flow/agent/multiagent/plan_execute/tools/tools.go:27
↓ 1 callersFunctionGetTools
GetTools initializes and returns a list of tools. It hooks in the toolCallResultHandler to process the results of any tool calls.
components/tool/mcptool/callresulthandler/main.go:127
↓ 1 callersFunctionGetTools
(ctx context.Context)
quickstart/eino_assistant/eino/einoagent/tools_node.go:30
↓ 1 callersMethodInfo
(ctx context.Context)
flow/agent/react/agentic/tools.go:47
↓ 1 callersMethodInfo
(ctx context.Context)
adk/common/tool/review_edit_wrapper.go:58
↓ 1 callersMethodInfo
(ctx context.Context)
adk/common/tool/approval_wrapper.go:51
← previousnext →201–300 of 1,121, ranked by callers