Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwego/eino-examples
/ functions
Functions
1,121 in github.com/cloudwego/eino-examples
⨍
Functions
1,121
◇
Types & classes
448
↓ 4 callers
Method
WriteFile
(ctx context.Context, path, content string)
adk/multiagent/integration-excel-agent/operator.go:42
↓ 4 callers
Function
firstEnv
(names ...string)
quickstart/chatwitheino/chatmodel/model.go:102
↓ 4 callers
Method
formatHeaders
(h http.Header)
components/model/httptransport/curlrt.go:223
↓ 4 callers
Function
requiredEnv
(name string)
adk/agentic/research_assistant/model.go:158
↓ 3 callers
Function
AssistantDeltaText
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 callers
Function
AssistantText
AssistantText returns generated assistant text from a message.
quickstart/chatwitheino/msgops/extract.go:39
↓ 3 callers
Function
DecodeMessages
DecodeMessages deserializes messages previously encoded by EncodeMessages.
flow/agent/react/memory_example/memory/store.go:48
↓ 3 callers
Method
Delete
(ctx context.Context, checkPointID string)
quickstart/chatwitheino/server/server.go:119
↓ 3 callers
Function
EncodeMessages
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 callers
Method
ExportGraph
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 callers
Method
FirstStep
()
adk/multiagent/deep/generic/plan.go:35
↓ 3 callers
Method
Get
(_ context.Context, _ string)
adk/common/tool/graphtool/graph_tool.go:308
↓ 3 callers
Method
GetConversation
(id string, createIfNotExist bool)
quickstart/eino_assistant/pkg/mem/simple.go:66
↓ 3 callers
Method
Info
(ctx context.Context)
flow/agent/react/tools/tools.go:109
↓ 3 callers
Method
Info
(ctx context.Context)
flow/agent/multiagent/plan_execute/tools/tools.go:113
↓ 3 callers
Function
IsModelRetryInProgress
(err error)
quickstart/chatwitheino/helpers/retry.go:43
↓ 3 callers
Method
MarshalJSON
()
adk/multiagent/deep/generic/plan.go:43
↓ 3 callers
Function
Middleware
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 callers
Function
MustHasEnvs
(envs ...string)
quickstart/eino_assistant/pkg/env/env.go:33
↓ 3 callers
Function
NewChatModel
(ctx context.Context, opts ...CreateChatModelOption)
adk/multiagent/deep/utils/model.go:32
↓ 3 callers
Function
NewCurlRT
(base http.RoundTripper, opts ...CurlOption)
components/model/httptransport/curlrt.go:126
↓ 3 callers
Method
OnEnd
(ctx context.Context, info *callbacks.RunInfo, output callbacks.CallbackOutput)
flow/agent/react/react.go:211
↓ 3 callers
Method
Resume
(ctx context.Context, info *adk.ResumeInfo, opts ...adk.AgentRunOption, )
adk/human-in-the-loop/3_feedback-loop/reviewer_agent.go:84
↓ 3 callers
Method
Set
(ctx context.Context, checkPointID string, checkPoint []byte)
flow/agent/deer-go/biz/model/state.go:83
↓ 3 callers
Function
ToJSONString
(v interface{})
adk/multiagent/integration-excel-agent/utils/utils.go:70
↓ 3 callers
Function
Tokenf
(format string, args ...interface{})
internal/logs/logger.go:47
↓ 3 callers
Function
Truncate
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 callers
Function
WithCtxLogger
WithCtxLogger sets a context-aware logger for request/response/chunk logs.
components/model/httptransport/curlrt.go:93
↓ 3 callers
Function
WithLogger
WithLogger sets a simple printf-style logger.
components/model/httptransport/curlrt.go:90
↓ 3 callers
Function
WithMaskHeaders
WithMaskHeaders masks specified header names (case-insensitive) in logs.
components/model/httptransport/curlrt.go:99
↓ 3 callers
Function
WithPrintAuth
WithPrintAuth controls whether the Authorization header value is printed.
components/model/httptransport/curlrt.go:96
↓ 3 callers
Function
addCopyButtons
()
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:57
↓ 3 callers
Function
appendMessage
(content, isUser, animate = true)
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:279
↓ 3 callers
Function
formatDate
(dateStr)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:39
↓ 3 callers
Function
formatTimeDiff
(diffMs)
quickstart/eino_assistant/cmd/einoagent/task/web/script.js:59
↓ 3 callers
Function
formatToolCall
formatToolCall formats a function tool call for display in a chip.
quickstart/chatwitheino/a2ui/streamer.go:346
↓ 3 callers
Function
isDir
(path string)
quickstart/chatwitheino/scripts/sync_eino_ext_skills.go:247
↓ 3 callers
Function
loadConversation
(id)
quickstart/eino_assistant/cmd/einoagent/agent/web/script.js:257
↓ 3 callers
Method
makeGenResume
makeGenResume returns the GenResume callback for interrupt/resume.
quickstart/chatwitheino/server/server.go:692
↓ 3 callers
Function
messageText
(msg *schema.Message)
quickstart/chatwitheino/msgops/extract.go:240
↓ 3 callers
Function
newRateLimitedModel
()
adk/human-in-the-loop/5_supervisor/agent.go:73
↓ 3 callers
Function
newRateLimitedModel
()
adk/human-in-the-loop/6_plan-execute-replan/agent.go:72
↓ 3 callers
Function
normalizeAgenticContentBlock
(block *schema.ContentBlock)
quickstart/chatwitheino/msgops/normalize.go:81
↓ 3 callers
Function
printWrapped
(content string, currentLength int)
flow/agent/react/agentic/callback.go:135
↓ 3 callers
Method
pushF
(ctx context.Context, event string, data *model.ChatResp)
flow/agent/deer-go/biz/infra/logger.go:46
↓ 3 callers
Method
pushMsg
(ctx context.Context, msgID string, msg *schema.Message)
flow/agent/deer-go/biz/infra/logger.go:61
↓ 3 callers
Function
repair
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 callers
Function
requiredEnv
(name string)
adk/agentic/retry_max_output_tokens/main.go:171
↓ 3 callers
Method
run
Run the server
flow/agent/deer-go/biz/mcps/python/server.py:226
↓ 3 callers
Function
selectedAgenticProvider
()
adk/agentic/research_assistant/model.go:150
↓ 3 callers
Method
startLoopCleanup
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 callers
Function
truncateRunes
(s string, n int)
flow/agent/react/memory_example/main.go:195
↓ 3 callers
Function
withGit
(url string)
quickstart/eino_assistant/pkg/tool/gitclone/gitclone.go:154
↓ 2 callers
Method
Append
(msg *schema.Message)
quickstart/eino_assistant/pkg/tool/einotool/templates/http_agent/main.go:208
↓ 2 callers
Method
BindTools
(tools []*schema.ToolInfo)
compose/graph/simple/graph.go:128
↓ 2 callers
Function
BuildEinoAgent
(ctx context.Context)
quickstart/eino_assistant/eino/einoagent/orchestration.go:26
↓ 2 callers
Function
Builder
Builder 初始化全部子图并连接
flow/agent/deer-go/biz/eino/builder.go:46
↓ 2 callers
Function
DrainToolResult
DrainToolResult consumes a tool-result variant and returns its text and call ID.
quickstart/chatwitheino/msgops/variant.go:88
↓ 2 callers
Function
FormatExecutedSteps
(in []planexecute.ExecutedStep)
adk/multiagent/integration-excel-agent/utils/utils.go:111
↓ 2 callers
Method
Generate
(ctx context.Context, input []*schema.Message, opts ...model.Option)
adk/human-in-the-loop/5_supervisor/agent.go:51
↓ 2 callers
Function
GetComposeOptions
(opts ...AgentOption)
flow/agent/react/agentic/react.go:255
↓ 2 callers
Function
GetDefaultStorage
()
quickstart/eino_assistant/pkg/tool/task/storage.go:40
↓ 2 callers
Method
GetMessages
get messages with max window size
quickstart/eino_assistant/pkg/mem/simple.go:162
↓ 2 callers
Method
GetMsgIdx
GetMsgIdx returns the stored component slot counter.
quickstart/chatwitheino/mem/store.go:75
↓ 2 callers
Method
GetPendingInterruptID
GetPendingInterruptID returns the stored interrupt ID, or "" if none is pending.
quickstart/chatwitheino/mem/store.go:61
↓ 2 callers
Function
GetSessionValue
(ctx context.Context, key string)
adk/multiagent/deep/utils/utils.go:96
↓ 2 callers
Method
GetType
()
flow/agent/deer-go/biz/infra/mcp.go:54
↓ 2 callers
Method
Go
(f func() error)
adk/multiagent/integration-excel-agent/utils/utils.go:66
↓ 2 callers
Function
HasContent
HasContent reports whether a message carries any content worth persisting.
quickstart/chatwitheino/msgops/extract.go:72
↓ 2 callers
Method
Info
(_ context.Context)
components/tool/middlewares/jsonfix/json_fix_middleware_test.go:109
↓ 2 callers
Function
InitAPMPlusTracing
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 callers
Function
InitCozeLoopTracing
()
flow/agent/deer-go/biz/infra/tracing.go:100
↓ 2 callers
Function
InitMCP
()
flow/agent/deer-go/biz/infra/mcp.go:41
↓ 2 callers
Function
InitModel
()
flow/agent/deer-go/biz/infra/llms.go:35
↓ 2 callers
Method
IsCallbacksEnabled
IsCallbacksEnabled 透出内部的 ChatModel 是否已埋入了回调切面.
flow/agent/multiagent/plan_execute/debug/mock_model.go:103
↓ 2 callers
Method
IsCallbacksEnabled
()
components/model/abtest/ab_router.go:131
↓ 2 callers
Method
List
List returns metadata for all known sessions.
quickstart/chatwitheino/mem/store.go:185
↓ 2 callers
Function
ListDir
(dir string)
adk/multiagent/integration-excel-agent/generic/submit_result.go:48
↓ 2 callers
Function
LoadDeerConfig
(ctx context.Context)
flow/agent/deer-go/conf/config.go:51
↓ 2 callers
Function
LogMiddleware
LogMiddleware 记录 HTTP 请求日志
quickstart/eino_assistant/cmd/einoagent/main.go:101
↓ 2 callers
Function
LogModelRetry
(w io.Writer, err error)
quickstart/chatwitheino/helpers/retry.go:48
↓ 2 callers
Function
Middleware
Middleware bundles both invokable and streamable wrappers for convenience.
components/tool/middlewares/jsonfix/json_fix_middleware.go:69
↓ 2 callers
Function
NewBashTool
(op commandline.Operator)
adk/multiagent/integration-excel-agent/tools/bash.go:49
↓ 2 callers
Function
NewEditFileTool
(op commandline.Operator)
adk/multiagent/integration-excel-agent/tools/edit.go:54
↓ 2 callers
Function
NewReadFileTool
(op commandline.Operator)
adk/multiagent/deep/tools/read.go:52
↓ 2 callers
Function
NewReadFileTool
(op commandline.Operator)
adk/multiagent/integration-excel-agent/tools/read.go:52
↓ 2 callers
Function
NewToolSubmitResult
(op commandline.Operator)
adk/multiagent/integration-excel-agent/tools/submit_result.go:76
↓ 2 callers
Function
NewTreeTool
(op commandline.Operator)
adk/multiagent/deep/tools/tree.go:42
↓ 2 callers
Function
NewTreeTool
(op commandline.Operator)
adk/multiagent/integration-excel-agent/tools/tree.go:42
↓ 2 callers
Function
NewWrite2PlanMDWrapper
(a adk.Agent, op commandline.Operator)
adk/multiagent/integration-excel-agent/agents/wrap_plan.go:35
↓ 2 callers
Method
OnEndWithStreamOutput
(ctx context.Context, info *callbacks.RunInfo, output *schema.StreamReader[callbacks.CallbackOutput], )
flow/agent/react/react.go:224
↓ 2 callers
Function
PtrOf
(v T)
adk/multiagent/integration-excel-agent/utils/utils.go:51
↓ 2 callers
Function
RandStr
(n int)
flow/agent/deer-go/biz/util/util.go:25
↓ 2 callers
Method
Read
(ctx context.Context, sessionID string)
flow/agent/react/memory_example/memory/store.go:31
↓ 2 callers
Method
Read
Read returns decoded messages for the given session; returns nil if absent.
flow/agent/react/memory_example/memory/inmem.go:51
↓ 2 callers
Function
RenderHistory
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 callers
Function
RoleLabel
RoleLabel returns the human label used by chatwitheino UIs.
quickstart/chatwitheino/msgops/extract.go:195
↓ 2 callers
Method
SetMsgIdx
SetMsgIdx stores the A2UI component slot counter so a resume can continue from it.
quickstart/chatwitheino/mem/store.go:68
↓ 2 callers
Method
Stream
Stream 以流式的方式调用多智能体.
flow/agent/multiagent/plan_execute/compose.go:228
↓ 2 callers
Method
Stream
(ctx context.Context, input []*schema.Message, opts ...model.Option)
compose/graph/simple/graph.go:118
← previous
next →
101–200 of 1,121, ranked by callers