MCPcopy Create free account

hub / github.com/cloudwego/eino / functions

Functions3,994 in github.com/cloudwego/eino

FunctionTestAttack_GenerateCopyDoesNotAffectOriginal
(t *testing.T)
adk/message_id_test.go:654
FunctionTestAttack_InterruptedItems_EmptyWhenAgentFinishesNormally
(t *testing.T)
adk/turn_loop_test.go:5581
FunctionTestAttack_PopToolMsgID_DoublePop
--- Adversarial attack tests for message ID system --- TestAttack_PopToolMsgID_DoublePop tests that calling popToolMsgID twice for the same key return
adk/message_id_test.go:873
FunctionTestAttack_PushAfterStop_UntilIdleFor_RoutedToLateItems
(t *testing.T)
adk/turn_loop_test.go:5669
FunctionTestAttack_ShouldRetry_ConcatMessagesFails_EmptyStream
(t *testing.T)
adk/chatmodel_retry_test.go:2952
FunctionTestAttack_ShouldRetry_MaxRetriesZero_RejectFirstAttempt
(t *testing.T)
adk/chatmodel_retry_test.go:2648
FunctionTestAttack_ShouldRetry_NilDecisionOnEveryCall
(t *testing.T)
adk/chatmodel_retry_test.go:2605
FunctionTestAttack_ShouldRetry_OptionsAccumulateAcrossRetries
(t *testing.T)
adk/chatmodel_retry_test.go:2741
FunctionTestAttack_ShouldRetry_RetryTrueWithRewriteError_IgnoresRewrite
(t *testing.T)
adk/chatmodel_retry_test.go:2688
FunctionTestAttack_ShouldRetry_Stream_MaxRetriesZero_Exhausted
(t *testing.T)
adk/chatmodel_retry_test.go:2838
FunctionTestAttack_ShouldRetry_Stream_MidStreamError_VerdictDoubleRead
(t *testing.T)
adk/chatmodel_retry_test.go:3006
FunctionTestAttack_ShouldRetry_Stream_NilDecisionAccepts
(t *testing.T)
adk/chatmodel_retry_test.go:2792
FunctionTestAttack_ShouldRetry_Stream_RewriteErrorOnCleanStream
(t *testing.T)
adk/chatmodel_retry_test.go:2896
FunctionTestAttack_SkipCheckpoint_Sticky
(t *testing.T)
adk/turn_loop_test.go:5740
FunctionTestAttack_StopBeforeRun_UntilIdleFor_ExitsImmediately
(t *testing.T)
adk/turn_loop_test.go:5649
FunctionTestAttack_ToolMsgIDConsistency_MultipleTools
TestAttack_ToolMsgIDConsistency_MultipleTools is an integration test: when an agent has multiple tools called in one turn, verify that EACH tool's eve
adk/message_id_test.go:916
FunctionTestAttack_ToolResultToBlocks_EdgeCases
TestAttack_ToolResultToBlocks_EdgeCases verifies toolResultToBlocks handles nil ToolResult, empty Parts, and Parts with nil media fields.
adk/message_id_test.go:1011
FunctionTestAttack_TurnBuffer_ClearWakeupPreventsSpuriousReturn
(t *testing.T)
adk/turn_loop_test.go:5624
FunctionTestAttack_TurnBuffer_WakeupDoesNotLoseItems
(t *testing.T)
adk/turn_loop_test.go:5606
FunctionTestAttack_UntilIdleFor_ConcurrentPushDuringIdleTimer
(t *testing.T)
adk/turn_loop_test.go:5443
FunctionTestAttack_UntilIdleFor_MultipleStopCallsFirstWins
(t *testing.T)
adk/turn_loop_test.go:5484
FunctionTestBaseChatModelAgentMiddlewareEnhancedDefaults
(t *testing.T)
adk/wrappers_test.go:458
FunctionTestBaseDAGBranch
(t *testing.T)
compose/graph_test.go:1462
FunctionTestBatchResumeWithData
(t *testing.T)
internal/core/interrupt_test.go:435
FunctionTestBeforeAgent
(t *testing.T)
adk/middlewares/skill/skill_test.go:451
FunctionTestBeforeModelRewriteState_Mode1_DoubleInitWithoutComposeContext
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:904
FunctionTestBeforeModelRewriteState_Mode1_ForwardSelection
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:598
FunctionTestBeforeModelRewriteState_Mode1_Initialization
--------------------------------------------------------------------------- TestBeforeModelRewriteState — direct unit tests for BeforeModelRewriteStat
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:558
FunctionTestBeforeModelRewriteState_Mode1_MalformedJSONInToolSearchResult
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:803
FunctionTestBeforeModelRewriteState_Mode1_MultipleToolSearchResultsAcrossTurns
--------------------------------------------------------------------------- Edge-case tests for BeforeModelRewriteState ------------------------------
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:754
FunctionTestBeforeModelRewriteState_Mode1_NonExistentToolInForwardSelection
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:840
FunctionTestBeforeModelRewriteState_Mode2_DeferredToolInfos
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:646
FunctionTestBeforeModelRewriteState_Mode2_EmptyToolInfos
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:877
FunctionTestBeforeModelRewriteState_ReminderReinsertAfterRemoval
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:683
FunctionTestBeforeModelRewriteState_ToolInfosSliceMutation
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:954
FunctionTestBranch
(t *testing.T)
compose/workflow_test.go:1016
FunctionTestBuildCancelFunc_CASFailStateDone
TestBuildCancelFunc_CASFailStateDone exercises the race-condition path in buildCancelFunc where the CAS on stateRunning→stateCancelling fails because
adk/cancel_test.go:3751
FunctionTestBuildCancelFunc_StateDoneUnderLock
TestBuildCancelFunc_StateDoneUnderLock exercises the race-condition path in buildCancelFunc where the state transitions to stateDone between the lockl
adk/cancel_test.go:3714
FunctionTestBuildConfigError
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:49
FunctionTestBuildEmpty
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:42
FunctionTestBuildHandlerReturnsEmpty
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:130
FunctionTestBuildModelWrappers_FailoverProxyInner
(t *testing.T)
adk/wrappers_failover_test.go:32
FunctionTestBuildParamsOneOf_CustomParams
(t *testing.T)
adk/middlewares/skill/skill_test.go:183
FunctionTestBuildParamsOneOf_CustomParamsNilFallsBackToDefault
(t *testing.T)
adk/middlewares/skill/skill_test.go:230
FunctionTestBuildPostProcessError
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:146
FunctionTestBuildPreservedSkillsText
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:287
FunctionTestBuildStepChaining
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:89
FunctionTestBuildStepError
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:113
FunctionTestCallOption
(t *testing.T)
compose/graph_call_options_test.go:89
FunctionTestCallOptionInSubGraph
(t *testing.T)
compose/graph_call_options_test.go:304
FunctionTestCallOptionsOneByOne
(t *testing.T)
compose/graph_call_options_test.go:204
FunctionTestCallbackDesignatedExcludesNonMatchingAgents
(t *testing.T)
adk/callback_integration_test.go:750
FunctionTestCallbackDesignatedToMultipleAgents
(t *testing.T)
adk/callback_integration_test.go:657
FunctionTestCallbackDesignatedToSpecificAgent
(t *testing.T)
adk/callback_integration_test.go:564
FunctionTestCallbackEventsMatchAgentOutput
(t *testing.T)
adk/callback_integration_test.go:345
FunctionTestCallbackOnEndForWorkflowAgent
(t *testing.T)
adk/callback_integration_test.go:397
FunctionTestCallbackOnEndInvocation
(t *testing.T)
adk/callback_integration_test.go:150
FunctionTestCallbackOnStartInvocation
(t *testing.T)
adk/callback_integration_test.go:111
FunctionTestCallbackRunInfoForChatModelAgent
(t *testing.T)
adk/callback_integration_test.go:187
FunctionTestCallbackWithWorkflowAgent
(t *testing.T)
adk/callback_integration_test.go:271
FunctionTestCancelAfterChatModel_SequentialTransitionBoundary
(t *testing.T)
adk/cancel_test.go:2923
FunctionTestCancelAfterChatModel_Sequential_Agent1CompletesCancelBeforeAgent2Resume
(t *testing.T)
adk/cancel_test.go:2990
FunctionTestCancelAfterToolCalls_LoopTransitionBoundary
(t *testing.T)
adk/cancel_test.go:3097
FunctionTestCancelContext
(t *testing.T)
adk/cancel_test.go:190
FunctionTestCancelContextKey
(t *testing.T)
adk/cancel_test.go:1366
FunctionTestCancelContext_RecursiveGraceBoundary
(t *testing.T)
adk/cancel_test.go:3169
FunctionTestCancelImmediate_AgentTool_PreservesChildCheckpoint
(t *testing.T)
adk/cancel_test.go:2576
FunctionTestCancelImmediate_CustomAgent_GracePeriodFallback
(t *testing.T)
adk/cancel_test.go:2736
FunctionTestCancelImmediate_LoopTransitionBoundary
(t *testing.T)
adk/cancel_test.go:2876
FunctionTestCancelImmediate_MultiLevelNesting
(t *testing.T)
adk/cancel_test.go:2768
FunctionTestCancelImmediate_OrphanedToolGoroutine_NoPanic
(t *testing.T)
adk/cancel_test.go:2283
FunctionTestCancelImmediate_ParallelWorkflow_WithAgentTool
(t *testing.T)
adk/cancel_test.go:2630
FunctionTestCancelImmediate_SequentialTransitionBoundary
(t *testing.T)
adk/cancel_test.go:2824
FunctionTestCancelInterrupt
(t *testing.T)
compose/checkpoint_test.go:1413
FunctionTestCancelMonitoredToolHandler_EnhancedStreamableToolCall
(t *testing.T)
adk/cancel_test.go:1290
FunctionTestCancelMonitoredToolHandler_StreamableToolCall
(t *testing.T)
adk/cancel_test.go:1149
FunctionTestCancelRequestState_EmptyMergeMeansExplicitImmediate
(t *testing.T)
adk/turn_loop_test.go:5210
FunctionTestCancelRequestState_ExpiredTimeoutConvertsToImmediate
(t *testing.T)
adk/turn_loop_test.go:5258
FunctionTestCancelRequestState_ImmediateDominatesSafePointModes
(t *testing.T)
adk/turn_loop_test.go:5186
FunctionTestCancelRequestState_NilMergeDoesNotCreateCancelIntent
(t *testing.T)
adk/turn_loop_test.go:5200
FunctionTestCancelRequestState_RecursiveIsMonotonic
(t *testing.T)
adk/turn_loop_test.go:5230
FunctionTestCancelRequestState_SafePointModesJoin
(t *testing.T)
adk/turn_loop_test.go:5220
FunctionTestCancelRequestState_TimeoutUsesEarliestDeadline
(t *testing.T)
adk/turn_loop_test.go:5241
FunctionTestCancel_CancelAfterToolCalls_InSequentialWorkflow
(t *testing.T)
adk/cancel_test.go:3512
FunctionTestCancel_LoopWorkflow_CancelAfterChatModel
(t *testing.T)
adk/cancel_test.go:3272
FunctionTestCancel_NestedWorkflow_AgentTool_CancelAfterChatModel
(t *testing.T)
adk/cancel_test.go:3352
FunctionTestCancel_ParallelWorkflow_CancelAfterChatModel
(t *testing.T)
adk/cancel_test.go:3191
FunctionTestCancel_SafePointNeverFires_ErrExecutionEnded
TestCancel_SafePointNeverFires_ErrExecutionEnded verifies the waitForCompletion path where a safe-point cancel is submitted while the agent is running
adk/cancel_test.go:3656
FunctionTestCancel_SequentialWorkflow_CancelAfterChatModel
Tests for CancelAfterChatModel/CancelAfterToolCalls in nested workflow structures. These verify that safe-point cancel modes propagate through the ent
adk/cancel_test.go:2202
FunctionTestCanonicalNameCallWithAliasConfigured
(t *testing.T)
compose/tool_alias_test.go:464
FunctionTestCascadingFrom_NewChatModelAgentFrom
(t *testing.T)
adk/agentic_test.go:823
FunctionTestCascadingTyped_EventFromAgenticMessage
(t *testing.T)
adk/agentic_test.go:877
FunctionTestCascadingTyped_TypedStatefulInterrupt
(t *testing.T)
adk/agentic_test.go:863
FunctionTestChain
(t *testing.T)
compose/chain_test.go:37
FunctionTestChainBranch
(t *testing.T)
compose/chain_branch_test.go:35
FunctionTestChainList
(t *testing.T)
compose/chain_test.go:250
FunctionTestChainMultiBranch
(t *testing.T)
compose/chain_branch_test.go:276
FunctionTestChainMultiNodes
(t *testing.T)
compose/chain_test.go:376
FunctionTestChainSingleNode
(t *testing.T)
compose/chain_test.go:303
FunctionTestChainWithException
(t *testing.T)
compose/chain_test.go:112
← previousnext →2,601–2,700 of 3,994, ranked by callers