MCPcopy Create free account

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

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

↓ 4 callersMethodWriteFile
(ctx context.Context, path, content string)
adk/multiagent/integration-excel-agent/operator.go:42
↓ 4 callersFunctionfirstEnv
(names ...string)
quickstart/chatwitheino/chatmodel/model.go:102
↓ 4 callersMethodformatHeaders
(h http.Header)
components/model/httptransport/curlrt.go:223
↓ 4 callersFunctionrequiredEnv
(name string)
adk/agentic/research_assistant/model.go:158
↓ 3 callersFunctionAssistantDeltaText
AssistantDeltaText returns assistant text from one streaming chunk. It intentionally delegates to AssistantText because schema.Message and AgenticMess
quickstart/chatwitheino/msgops/extract.go:67
↓ 3 callersFunctionAssistantText
AssistantText returns generated assistant text from a message.
quickstart/chatwitheino/msgops/extract.go:39
↓ 3 callersFunctionDecodeMessages
DecodeMessages deserializes messages previously encoded by EncodeMessages.
flow/agent/react/memory_example/memory/store.go:48
↓ 3 callersMethodDelete
(ctx context.Context, checkPointID string)
quickstart/chatwitheino/server/server.go:119
↓ 3 callersFunctionEncodeMessages
Gob registrations for eino message types are provided by the framework; no manual registration needed here. EncodeMessages serializes messages using G
flow/agent/react/memory_example/memory/store.go:38
↓ 3 callersMethodExportGraph
ExportGraph exports the underlying graph from Agent, along with the []compose.GraphAddNodeOpt to be used when adding this graph to another graph.
flow/agent/react/agentic/react.go:281
↓ 3 callersMethodFirstStep
()
adk/multiagent/deep/generic/plan.go:35
↓ 3 callersMethodGet
(_ context.Context, _ string)
adk/common/tool/graphtool/graph_tool.go:308
↓ 3 callersMethodGetConversation
(id string, createIfNotExist bool)
quickstart/eino_assistant/pkg/mem/simple.go:66
↓ 3 callersMethodInfo
(ctx context.Context)
flow/agent/react/tools/tools.go:109
↓ 3 callersMethodInfo
(ctx context.Context)
flow/agent/multiagent/plan_execute/tools/tools.go:113
↓ 3 callersFunctionIsModelRetryInProgress
(err error)
quickstart/chatwitheino/helpers/retry.go:43
↓ 3 callersMethodMarshalJSON
()
adk/multiagent/deep/generic/plan.go:43
↓ 3 callersFunctionMiddleware
Middleware constructs and returns a compose.ToolMiddleware. This middleware is designed to catch errors from tool executions and replace them with a c
components/tool/middlewares/errorremover/errorremover.go:89
↓ 3 callersFunctionMustHasEnvs
(envs ...string)
quickstart/eino_assistant/pkg/env/env.go:33
↓ 3 callersFunctionNewChatModel
(ctx context.Context, opts ...CreateChatModelOption)
adk/multiagent/deep/utils/model.go:32
↓ 3 callersFunctionNewCurlRT
(base http.RoundTripper, opts ...CurlOption)
components/model/httptransport/curlrt.go:126
↓ 3 callersMethodOnEnd
(ctx context.Context, info *callbacks.RunInfo, output callbacks.CallbackOutput)
flow/agent/react/react.go:211
↓ 3 callersMethodResume
(ctx context.Context, info *adk.ResumeInfo, opts ...adk.AgentRunOption, )
adk/human-in-the-loop/3_feedback-loop/reviewer_agent.go:84
↓ 3 callersMethodSet
(ctx context.Context, checkPointID string, checkPoint []byte)
flow/agent/deer-go/biz/model/state.go:83
↓ 3 callersFunctionToJSONString
(v interface{})
adk/multiagent/integration-excel-agent/utils/utils.go:70
↓ 3 callersFunctionTokenf
(format string, args ...interface{})
internal/logs/logger.go:47
↓ 3 callersFunctionTruncate
Truncate shortens long strings for console output. JSON strings are compacted first so tool results remain readable in narrow terminals.
quickstart/chatwitheino/helpers/eventloop.go:168
↓ 3 callersFunctionWithCtxLogger
WithCtxLogger sets a context-aware logger for request/response/chunk logs.
components/model/httptransport/curlrt.go:93
↓ 3 callersFunctionWithLogger
WithLogger sets a simple printf-style logger.
components/model/httptransport/curlrt.go:90
↓ 3 callersFunctionWithMaskHeaders
WithMaskHeaders masks specified header names (case-insensitive) in logs.
components/model/httptransport/curlrt.go:99
↓ 3 callersFunctionWithPrintAuth
WithPrintAuth controls whether the Authorization header value is printed.
components/model/httptransport/curlrt.go:96
↓ 3 callersFunctionaddCopyButtons
()
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:57
↓ 3 callersFunctionappendMessage
(content, isUser, animate = true)
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:279
↓ 3 callersFunctionformatDate
(dateStr)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:39
↓ 3 callersFunctionformatTimeDiff
(diffMs)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:59
↓ 3 callersFunctionformatToolCall
formatToolCall formats a function tool call for display in a chip.
quickstart/chatwitheino/a2ui/streamer.go:346
↓ 3 callersFunctionisDir
(path string)
quickstart/chatwitheino/scripts/sync_eino_ext_skills.go:247
↓ 3 callersFunctionloadConversation
(id)
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:257
↓ 3 callersMethodmakeGenResume
makeGenResume returns the GenResume callback for interrupt/resume.
quickstart/chatwitheino/server/server.go:692
↓ 3 callersFunctionmessageText
(msg *schema.Message)
quickstart/chatwitheino/msgops/extract.go:240
↓ 3 callersFunctionnewRateLimitedModel
()
adk/human-in-the-loop/5_supervisor/agent.go:73
↓ 3 callersFunctionnewRateLimitedModel
()
adk/human-in-the-loop/6_plan-execute-replan/agent.go:72
↓ 3 callersFunctionnormalizeAgenticContentBlock
(block *schema.ContentBlock)
quickstart/chatwitheino/msgops/normalize.go:81
↓ 3 callersFunctionprintWrapped
(content string, currentLength int)
flow/agent/react/agentic/callback.go:135
↓ 3 callersMethodpushF
(ctx context.Context, event string, data *model.ChatResp)
flow/agent/deer-go/biz/infra/logger.go:46
↓ 3 callersMethodpushMsg
(ctx context.Context, msgID string, msg *schema.Message)
flow/agent/deer-go/biz/infra/logger.go:61
↓ 3 callersFunctionrepair
repair attempts minimal work first (validity check, region isolation) and only uses jsonrepair when necessary. It trims common LLM artifacts.
components/tool/middlewares/jsonfix/json_fix_middleware.go:75
↓ 3 callersFunctionrequiredEnv
(name string)
adk/agentic/retry_max_output_tokens/main.go:171
↓ 3 callersMethodrun
Run the server
flow/agent/deer-go/biz/mcps/python/server.py:226
↓ 3 callersFunctionselectedAgenticProvider
()
adk/agentic/research_assistant/model.go:150
↓ 3 callersMethodstartLoopCleanup
startLoopCleanup spawns a goroutine that waits for the loop to exit (e.g. due to an error or all items consumed) and nils out ts.loop so the next hand
quickstart/chatwitheino/server/server.go:165
↓ 3 callersFunctiontruncateRunes
(s string, n int)
flow/agent/react/memory_example/main.go:195
↓ 3 callersFunctionwithGit
(url string)
quickstart/eino_assistant/pkg/tool/gitclone/gitclone.go:154
↓ 2 callersMethodAppend
(msg *schema.Message)
quickstart/eino_assistant/pkg/tool/einotool/templates/http_agent/main.go:208
↓ 2 callersMethodBindTools
(tools []*schema.ToolInfo)
compose/graph/simple/graph.go:128
↓ 2 callersFunctionBuildEinoAgent
(ctx context.Context)
quickstart/eino_assistant/eino/einoagent/orchestration.go:26
↓ 2 callersFunctionBuilder
Builder 初始化全部子图并连接
flow/agent/deer-go/biz/eino/builder.go:46
↓ 2 callersFunctionDrainToolResult
DrainToolResult consumes a tool-result variant and returns its text and call ID.
quickstart/chatwitheino/msgops/variant.go:88
↓ 2 callersFunctionFormatExecutedSteps
(in []planexecute.ExecutedStep)
adk/multiagent/integration-excel-agent/utils/utils.go:111
↓ 2 callersMethodGenerate
(ctx context.Context, input []*schema.Message, opts ...model.Option)
adk/human-in-the-loop/5_supervisor/agent.go:51
↓ 2 callersFunctionGetComposeOptions
(opts ...AgentOption)
flow/agent/react/agentic/react.go:255
↓ 2 callersFunctionGetDefaultStorage
()
quickstart/eino_assistant/pkg/tool/task/storage.go:40
↓ 2 callersMethodGetMessages
get messages with max window size
quickstart/eino_assistant/pkg/mem/simple.go:162
↓ 2 callersMethodGetMsgIdx
GetMsgIdx returns the stored component slot counter.
quickstart/chatwitheino/mem/store.go:75
↓ 2 callersMethodGetPendingInterruptID
GetPendingInterruptID returns the stored interrupt ID, or "" if none is pending.
quickstart/chatwitheino/mem/store.go:61
↓ 2 callersFunctionGetSessionValue
(ctx context.Context, key string)
adk/multiagent/deep/utils/utils.go:96
↓ 2 callersMethodGetType
()
flow/agent/deer-go/biz/infra/mcp.go:54
↓ 2 callersMethodGo
(f func() error)
adk/multiagent/integration-excel-agent/utils/utils.go:66
↓ 2 callersFunctionHasContent
HasContent reports whether a message carries any content worth persisting.
quickstart/chatwitheino/msgops/extract.go:72
↓ 2 callersMethodInfo
(_ context.Context)
components/tool/middlewares/jsonfix/json_fix_middleware_test.go:109
↓ 2 callersFunctionInitAPMPlusTracing
InitAPMPlusTracing initializes APMPlus observability components for Eino applications Creates Eino APMPlus callbacks and optionally initializes Hertz
flow/agent/deer-go/biz/infra/tracing.go:47
↓ 2 callersFunctionInitCozeLoopTracing
()
flow/agent/deer-go/biz/infra/tracing.go:100
↓ 2 callersFunctionInitMCP
()
flow/agent/deer-go/biz/infra/mcp.go:41
↓ 2 callersFunctionInitModel
()
flow/agent/deer-go/biz/infra/llms.go:35
↓ 2 callersMethodIsCallbacksEnabled
IsCallbacksEnabled 透出内部的 ChatModel 是否已埋入了回调切面.
flow/agent/multiagent/plan_execute/debug/mock_model.go:103
↓ 2 callersMethodIsCallbacksEnabled
()
components/model/abtest/ab_router.go:131
↓ 2 callersMethodList
List returns metadata for all known sessions.
quickstart/chatwitheino/mem/store.go:185
↓ 2 callersFunctionListDir
(dir string)
adk/multiagent/integration-excel-agent/generic/submit_result.go:48
↓ 2 callersFunctionLoadDeerConfig
(ctx context.Context)
flow/agent/deer-go/conf/config.go:51
↓ 2 callersFunctionLogMiddleware
LogMiddleware 记录 HTTP 请求日志
quickstart/eino_assistant/cmd/einoagent/main.go:101
↓ 2 callersFunctionLogModelRetry
(w io.Writer, err error)
quickstart/chatwitheino/helpers/retry.go:48
↓ 2 callersFunctionMiddleware
Middleware bundles both invokable and streamable wrappers for convenience.
components/tool/middlewares/jsonfix/json_fix_middleware.go:69
↓ 2 callersFunctionNewBashTool
(op commandline.Operator)
adk/multiagent/integration-excel-agent/tools/bash.go:49
↓ 2 callersFunctionNewEditFileTool
(op commandline.Operator)
adk/multiagent/integration-excel-agent/tools/edit.go:54
↓ 2 callersFunctionNewReadFileTool
(op commandline.Operator)
adk/multiagent/deep/tools/read.go:52
↓ 2 callersFunctionNewReadFileTool
(op commandline.Operator)
adk/multiagent/integration-excel-agent/tools/read.go:52
↓ 2 callersFunctionNewToolSubmitResult
(op commandline.Operator)
adk/multiagent/integration-excel-agent/tools/submit_result.go:76
↓ 2 callersFunctionNewTreeTool
(op commandline.Operator)
adk/multiagent/deep/tools/tree.go:42
↓ 2 callersFunctionNewTreeTool
(op commandline.Operator)
adk/multiagent/integration-excel-agent/tools/tree.go:42
↓ 2 callersFunctionNewWrite2PlanMDWrapper
(a adk.Agent, op commandline.Operator)
adk/multiagent/integration-excel-agent/agents/wrap_plan.go:35
↓ 2 callersMethodOnEndWithStreamOutput
(ctx context.Context, info *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput], )
flow/agent/react/react.go:224
↓ 2 callersFunctionPtrOf
(v T)
adk/multiagent/integration-excel-agent/utils/utils.go:51
↓ 2 callersFunctionRandStr
(n int)
flow/agent/deer-go/biz/util/util.go:25
↓ 2 callersMethodRead
(ctx context.Context, sessionID string)
flow/agent/react/memory_example/memory/store.go:31
↓ 2 callersMethodRead
Read returns decoded messages for the given session; returns nil if absent.
flow/agent/react/memory_example/memory/inmem.go:51
↓ 2 callersFunctionRenderHistory
RenderHistory writes the beginRendering + history surfaceUpdate messages to w without running an agent. Used to populate the chat window when a sessio
quickstart/chatwitheino/a2ui/streamer.go:34
↓ 2 callersFunctionRoleLabel
RoleLabel returns the human label used by chatwitheino UIs.
quickstart/chatwitheino/msgops/extract.go:195
↓ 2 callersMethodSetMsgIdx
SetMsgIdx stores the A2UI component slot counter so a resume can continue from it.
quickstart/chatwitheino/mem/store.go:68
↓ 2 callersMethodStream
Stream 以流式的方式调用多智能体.
flow/agent/multiagent/plan_execute/compose.go:228
↓ 2 callersMethodStream
(ctx context.Context, input []*schema.Message, opts ...model.Option)
compose/graph/simple/graph.go:118
← previousnext →101–200 of 1,121, ranked by callers