MCPcopy Create free account

hub / github.com/cloudwego/eino / functions

Functions3,994 in github.com/cloudwego/eino

FunctionTestNewSupervisor
TestNewSupervisor tests the New function
adk/prebuilt/supervisor/supervisor_test.go:40
FunctionTestNewTool
(t *testing.T)
components/tool/utils/invokable_func_test.go:265
FunctionTestNewTurnLoop_ConcurrentPushAndRun
(t *testing.T)
adk/turn_loop_test.go:2833
FunctionTestNewTurnLoop_NilGenInput_Panics
(t *testing.T)
adk/turn_loop_test.go:4827
FunctionTestNewTurnLoop_NilPrepareAgent_Panics
(t *testing.T)
adk/turn_loop_test.go:4835
FunctionTestNewTurnLoop_PushBeforeRun
Tests for NewTurnLoop: the permissive API where Push, Stop, and Wait are all valid on a not-yet-running loop.
adk/turn_loop_test.go:2736
FunctionTestNewTurnLoop_RunIsIdempotent
(t *testing.T)
adk/turn_loop_test.go:2808
FunctionTestNewTurnLoop_WaitBeforeRun
(t *testing.T)
adk/turn_loop_test.go:2775
FunctionTestNewTypedAgenticMessage
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:1030
FunctionTestNewTypedAgenticMessage
(t *testing.T)
adk/middlewares/skill/skill_test.go:1344
FunctionTestNewTypedAgenticMessage
(t *testing.T)
adk/middlewares/agentsmd/agentsmd_test.go:1350
FunctionTestNewTypedAgenticMessage
(t *testing.T)
adk/middlewares/plantask/plantask_test.go:127
FunctionTestNewTypedAgenticMessage
(t *testing.T)
adk/middlewares/patchtoolcalls/patchtoolcalls_test.go:31
FunctionTestNewTypedAgenticMessage
(t *testing.T)
adk/middlewares/summarization/summarization_test.go:1850
FunctionTestNewTypedAgenticMessage
(t *testing.T)
adk/middlewares/reduction/reduction_test.go:2753
FunctionTestNew_StreamingShell
(t *testing.T)
adk/middlewares/filesystem/filesystem_test.go:1951
FunctionTestNew_Validation
--- tests ---
adk/middlewares/agentsmd/agentsmd_test.go:75
FunctionTestNew_Validation_EmptyAgentFiles
(t *testing.T)
adk/middlewares/agentsmd/agentsmd_test.go:910
FunctionTestNilValue
(t *testing.T)
compose/workflow_test.go:1131
FunctionTestNonExistentToolInAliasConfig
(t *testing.T)
compose/tool_alias_test.go:293
FunctionTestOnStartCalledOncePerAgentWithDesignation
(t *testing.T)
adk/callback_integration_test.go:971
FunctionTestOptionWithToolListAndToolAliases
(t *testing.T)
compose/tool_alias_test.go:1102
FunctionTestOptions
(t *testing.T)
components/model/option_test.go:27
FunctionTestOptions
(t *testing.T)
components/indexer/option_test.go:27
FunctionTestOptions
(t *testing.T)
components/embedding/option_test.go:25
FunctionTestOptions
(t *testing.T)
components/retriever/option_test.go:27
FunctionTestPanicErr
(t *testing.T)
internal/safe/panic_test.go:25
FunctionTestParallelAgent
TestParallelAgent tests the parallel workflow agent
adk/workflow_test.go:234
FunctionTestParallelModels
(t *testing.T)
compose/chain_test.go:340
FunctionTestParallelMultiNodes
(t *testing.T)
compose/chain_test.go:551
FunctionTestParallelReturnDirectlyToolCall
(t *testing.T)
adk/chatmodel_test.go:1055
FunctionTestParallelWorkflowResumeWithEvents
(t *testing.T)
adk/workflow_test.go:518
FunctionTestParamsOneOfToJSONSchema
(t *testing.T)
schema/tool_test.go:31
FunctionTestParentIndexer
(t *testing.T)
flow/indexer/parent/parent_test.go:64
FunctionTestParentRetriever
(t *testing.T)
flow/retriever/parent/parent_test.go:44
FunctionTestParseFrontmatter
(t *testing.T)
adk/middlewares/skill/filesystem_backend_test.go:332
FunctionTestParseTypeName
(t *testing.T)
internal/generic/type_name_test.go:26
FunctionTestParser
(t *testing.T)
components/document/parser/parser_test.go:38
FunctionTestPatchToolCallsAgenticToolSearchResult
(t *testing.T)
adk/middlewares/patchtoolcalls/patchtoolcalls_test.go:285
FunctionTestPatchToolCallsGeneric
(t *testing.T)
adk/middlewares/patchtoolcalls/patchtoolcalls_test.go:280
FunctionTestPatchToolCalls_AgenticMessage_NilBlockInUserMessage
TestPatchToolCalls_AgenticMessage_NilBlockInUserMessage verifies the middleware handles a User Agentic Message with nil ContentBlock without panicking
adk/middlewares/patchtoolcalls/patchtoolcalls_test.go:358
FunctionTestPatchToolCalls_NilFunctionToolCallInBlock
TestPatchToolCalls_NilFunctionToolCallInBlock verifies the middleware handles a ContentBlock with Type=FunctionToolCall but FunctionToolCall=nil witho
adk/middlewares/patchtoolcalls/patchtoolcalls_test.go:317
FunctionTestPersistRerunInputBackwardCompatibility
(t *testing.T)
compose/checkpoint_test.go:1820
FunctionTestPersistRerunInputNonStream
(t *testing.T)
compose/checkpoint_test.go:1594
FunctionTestPersistRerunInputStream
(t *testing.T)
compose/checkpoint_test.go:1655
FunctionTestPersistRerunInputSubGraph
(t *testing.T)
compose/checkpoint_test.go:1867
FunctionTestPersistRerunInputWithPreHandler
(t *testing.T)
compose/checkpoint_test.go:1751
FunctionTestPlanExecuteAgentInterruptResume
(t *testing.T)
adk/prebuilt/planexecute/plan_execute_test.go:785
FunctionTestPlanExecuteAgentWithReplan
(t *testing.T)
adk/prebuilt/planexecute/plan_execute_test.go:575
FunctionTestPlannerRunWithFormattedOutput
TestPlannerRunWithFormattedOutput tests the Run method of a planner created with ChatModelWithFormattedOutput
adk/prebuilt/planexecute/plan_execute_test.go:96
FunctionTestPlannerRunWithToolCalling
TestPlannerRunWithToolCalling tests the Run method of a planner created with ToolCallingChatModel
adk/prebuilt/planexecute/plan_execute_test.go:151
FunctionTestPopulateInterruptState
(t *testing.T)
internal/core/interrupt_test.go:873
FunctionTestPopulateUserMessagesInternal
(t *testing.T)
adk/middlewares/summarization/summarization_test.go:1156
FunctionTestPostProcessSummary
(t *testing.T)
adk/middlewares/summarization/summarization_test.go:1410
FunctionTestPreHandlerInterrupt
(t *testing.T)
compose/checkpoint_test.go:1383
FunctionTestPreemptController_AbortPlanningTurnAcksUnconsumedRequest
(t *testing.T)
adk/turn_loop_test.go:3124
FunctionTestPreemptController_BeginActiveTurnNotifiesExistingPending
(t *testing.T)
adk/turn_loop_test.go:3446
FunctionTestPreemptController_BeginPushSnapshotsActiveTurn
(t *testing.T)
adk/turn_loop_test.go:3024
FunctionTestPreemptController_BeginPushSnapshotsPlanningTurn
(t *testing.T)
adk/turn_loop_test.go:3009
FunctionTestPreemptController_CloseForLoopExitDuringDelayedPreempt
(t *testing.T)
adk/turn_loop_test.go:3276
FunctionTestPreemptController_ConcurrentBeginPushAndWaitForPushes
(t *testing.T)
adk/turn_loop_test.go:3321
FunctionTestPreemptController_ConcurrentPreemptRequestsMergeAndAck
(t *testing.T)
adk/turn_loop_test.go:3244
FunctionTestPreemptController_DelayedPreemptTargetGoneBetweenTurns
(t *testing.T)
adk/turn_loop_test.go:3406
FunctionTestPreemptController_EndActiveTurnAcksUnconsumedRequest
(t *testing.T)
adk/turn_loop_test.go:3142
FunctionTestPreemptController_EndActiveTurnDoesNotAckConsumedRequest
(t *testing.T)
adk/turn_loop_test.go:3161
FunctionTestPreemptController_EndPushWithoutBeginPushPanics
(t *testing.T)
adk/turn_loop_test.go:3434
FunctionTestPreemptController_MergeImmediateOverridesTimeout
(t *testing.T)
adk/turn_loop_test.go:3374
FunctionTestPreemptController_MultipleRequestsBeforeReceiveMergeAcksAndUseMergedOpts
(t *testing.T)
adk/turn_loop_test.go:3216
FunctionTestPreemptController_RejectsInvalidTurnPhaseTransitions
(t *testing.T)
adk/turn_loop_test.go:3053
FunctionTestPreemptController_RequestPreemptAfterCloseForLoopExit
(t *testing.T)
adk/turn_loop_test.go:3302
FunctionTestPreemptController_RequestPreemptForActiveTurnIsConsumedOnce
(t *testing.T)
adk/turn_loop_test.go:3100
FunctionTestPreemptController_RequestPreemptForPlanningTurnIsConsumedAfterActivation
(t *testing.T)
adk/turn_loop_test.go:3078
FunctionTestPreemptController_RequestPreemptIdleTurnAcksImmediately
(t *testing.T)
adk/turn_loop_test.go:3040
FunctionTestPreemptController_RequestPreemptWithNilAck
(t *testing.T)
adk/turn_loop_test.go:3353
FunctionTestPreemptController_TargetTurnMismatchAcksImmediately
(t *testing.T)
adk/turn_loop_test.go:3180
FunctionTestPreemptController_WaitForPushesBlocksUntilPushEnds
(t *testing.T)
adk/turn_loop_test.go:3196
FunctionTestPregelEnd
(t *testing.T)
compose/graph_test.go:999
FunctionTestPreprocessADKCheckpoint
(t *testing.T)
adk/interrupt_test.go:41
FunctionTestPreprocessComposeCheckpoint_MigrateErrorIsReturned
(t *testing.T)
adk/chatmodel_test.go:2057
FunctionTestPreserveSkillsConfigCheck
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:172
FunctionTestPreserveSkillsViaBuilder
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:231
FunctionTestPrintTasks
(t *testing.T)
compose/graph_test.go:1969
FunctionTestProcessStateInOnStartDuringResume
(t *testing.T)
compose/resume_test.go:116
FunctionTestRRF
(t *testing.T)
flow/retriever/router/router_test.go:114
FunctionTestReact
(t *testing.T)
flow/agent/react/react_test.go:40
FunctionTestReact
TestReact tests the newReact function with different scenarios
adk/react_test.go:100
FunctionTestReactHistory_EmptyMessages
(t *testing.T)
adk/react_test.go:647
FunctionTestReactStream
(t *testing.T)
flow/agent/react/react_test.go:193
FunctionTestReactWithMessageRewriterAndModifier
(t *testing.T)
flow/agent/react/react_test.go:131
FunctionTestReactWithModifier
(t *testing.T)
flow/agent/react/react_test.go:399
FunctionTestReadFileTool
(t *testing.T)
adk/middlewares/filesystem/filesystem_test.go:121
FunctionTestReadFileTool_DefaultLimit
(t *testing.T)
adk/middlewares/filesystem/filesystem_test.go:180
FunctionTestReadFileTool_NilResult
TestReadFileTool_NilResult verifies that newReadFileTool does not panic when Backend.Read returns nil, and emits a human-readable fallback message ins
adk/middlewares/filesystem/filesystem_test.go:2578
FunctionTestReductionGeneric
--------------------------------------------------------------------------- Top-level test -----------------------------------------------------------
adk/middlewares/reduction/reduction_generic_test.go:870
FunctionTestReductionMiddlewareClear
(t *testing.T)
adk/middlewares/reduction/reduction_test.go:312
FunctionTestReductionMiddlewareEnhancedTrunc
(t *testing.T)
adk/middlewares/reduction/reduction_test.go:1814
FunctionTestReductionMiddlewareTrunc
(t *testing.T)
adk/middlewares/reduction/reduction_test.go:57
FunctionTestReentryForResumedTools
(t *testing.T)
compose/resume_test.go:628
FunctionTestRegister
(t *testing.T)
schema/serialization_test.go:104
FunctionTestRegisterStructWithUUIDField
TestRegisterStructWithUUIDField reproduces issue #607 uuid.UUID is a [16]byte array. Prior to the fix, calling schema.RegisterName on a struct with a
schema/serialization_test.go:170
← previousnext →3,201–3,300 of 3,994, ranked by callers