Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwego/eino
/ functions
Functions
3,994 in github.com/cloudwego/eino
⨍
Functions
3,994
◇
Types & classes
1,204
Function
TestAttack_GenerateCopyDoesNotAffectOriginal
(t *testing.T)
adk/message_id_test.go:654
Function
TestAttack_InterruptedItems_EmptyWhenAgentFinishesNormally
(t *testing.T)
adk/turn_loop_test.go:5581
Function
TestAttack_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
Function
TestAttack_PushAfterStop_UntilIdleFor_RoutedToLateItems
(t *testing.T)
adk/turn_loop_test.go:5669
Function
TestAttack_ShouldRetry_ConcatMessagesFails_EmptyStream
(t *testing.T)
adk/chatmodel_retry_test.go:2952
Function
TestAttack_ShouldRetry_MaxRetriesZero_RejectFirstAttempt
(t *testing.T)
adk/chatmodel_retry_test.go:2648
Function
TestAttack_ShouldRetry_NilDecisionOnEveryCall
(t *testing.T)
adk/chatmodel_retry_test.go:2605
Function
TestAttack_ShouldRetry_OptionsAccumulateAcrossRetries
(t *testing.T)
adk/chatmodel_retry_test.go:2741
Function
TestAttack_ShouldRetry_RetryTrueWithRewriteError_IgnoresRewrite
(t *testing.T)
adk/chatmodel_retry_test.go:2688
Function
TestAttack_ShouldRetry_Stream_MaxRetriesZero_Exhausted
(t *testing.T)
adk/chatmodel_retry_test.go:2838
Function
TestAttack_ShouldRetry_Stream_MidStreamError_VerdictDoubleRead
(t *testing.T)
adk/chatmodel_retry_test.go:3006
Function
TestAttack_ShouldRetry_Stream_NilDecisionAccepts
(t *testing.T)
adk/chatmodel_retry_test.go:2792
Function
TestAttack_ShouldRetry_Stream_RewriteErrorOnCleanStream
(t *testing.T)
adk/chatmodel_retry_test.go:2896
Function
TestAttack_SkipCheckpoint_Sticky
(t *testing.T)
adk/turn_loop_test.go:5740
Function
TestAttack_StopBeforeRun_UntilIdleFor_ExitsImmediately
(t *testing.T)
adk/turn_loop_test.go:5649
Function
TestAttack_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
Function
TestAttack_ToolResultToBlocks_EdgeCases
TestAttack_ToolResultToBlocks_EdgeCases verifies toolResultToBlocks handles nil ToolResult, empty Parts, and Parts with nil media fields.
adk/message_id_test.go:1011
Function
TestAttack_TurnBuffer_ClearWakeupPreventsSpuriousReturn
(t *testing.T)
adk/turn_loop_test.go:5624
Function
TestAttack_TurnBuffer_WakeupDoesNotLoseItems
(t *testing.T)
adk/turn_loop_test.go:5606
Function
TestAttack_UntilIdleFor_ConcurrentPushDuringIdleTimer
(t *testing.T)
adk/turn_loop_test.go:5443
Function
TestAttack_UntilIdleFor_MultipleStopCallsFirstWins
(t *testing.T)
adk/turn_loop_test.go:5484
Function
TestBaseChatModelAgentMiddlewareEnhancedDefaults
(t *testing.T)
adk/wrappers_test.go:458
Function
TestBaseDAGBranch
(t *testing.T)
compose/graph_test.go:1462
Function
TestBatchResumeWithData
(t *testing.T)
internal/core/interrupt_test.go:435
Function
TestBeforeAgent
(t *testing.T)
adk/middlewares/skill/skill_test.go:451
Function
TestBeforeModelRewriteState_Mode1_DoubleInitWithoutComposeContext
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:904
Function
TestBeforeModelRewriteState_Mode1_ForwardSelection
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:598
Function
TestBeforeModelRewriteState_Mode1_Initialization
--------------------------------------------------------------------------- TestBeforeModelRewriteState — direct unit tests for BeforeModelRewriteStat
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:558
Function
TestBeforeModelRewriteState_Mode1_MalformedJSONInToolSearchResult
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:803
Function
TestBeforeModelRewriteState_Mode1_MultipleToolSearchResultsAcrossTurns
--------------------------------------------------------------------------- Edge-case tests for BeforeModelRewriteState ------------------------------
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:754
Function
TestBeforeModelRewriteState_Mode1_NonExistentToolInForwardSelection
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:840
Function
TestBeforeModelRewriteState_Mode2_DeferredToolInfos
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:646
Function
TestBeforeModelRewriteState_Mode2_EmptyToolInfos
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:877
Function
TestBeforeModelRewriteState_ReminderReinsertAfterRemoval
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:683
Function
TestBeforeModelRewriteState_ToolInfosSliceMutation
(t *testing.T)
adk/middlewares/dynamictool/toolsearch/toolsearch_test.go:954
Function
TestBranch
(t *testing.T)
compose/workflow_test.go:1016
Function
TestBuildCancelFunc_CASFailStateDone
TestBuildCancelFunc_CASFailStateDone exercises the race-condition path in buildCancelFunc where the CAS on stateRunning→stateCancelling fails because
adk/cancel_test.go:3751
Function
TestBuildCancelFunc_StateDoneUnderLock
TestBuildCancelFunc_StateDoneUnderLock exercises the race-condition path in buildCancelFunc where the state transitions to stateDone between the lockl
adk/cancel_test.go:3714
Function
TestBuildConfigError
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:49
Function
TestBuildEmpty
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:42
Function
TestBuildHandlerReturnsEmpty
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:130
Function
TestBuildModelWrappers_FailoverProxyInner
(t *testing.T)
adk/wrappers_failover_test.go:32
Function
TestBuildParamsOneOf_CustomParams
(t *testing.T)
adk/middlewares/skill/skill_test.go:183
Function
TestBuildParamsOneOf_CustomParamsNilFallsBackToDefault
(t *testing.T)
adk/middlewares/skill/skill_test.go:230
Function
TestBuildPostProcessError
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:146
Function
TestBuildPreservedSkillsText
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:287
Function
TestBuildStepChaining
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:89
Function
TestBuildStepError
(t *testing.T)
adk/middlewares/summarization/finalizer_builder_test.go:113
Function
TestCallOption
(t *testing.T)
compose/graph_call_options_test.go:89
Function
TestCallOptionInSubGraph
(t *testing.T)
compose/graph_call_options_test.go:304
Function
TestCallOptionsOneByOne
(t *testing.T)
compose/graph_call_options_test.go:204
Function
TestCallbackDesignatedExcludesNonMatchingAgents
(t *testing.T)
adk/callback_integration_test.go:750
Function
TestCallbackDesignatedToMultipleAgents
(t *testing.T)
adk/callback_integration_test.go:657
Function
TestCallbackDesignatedToSpecificAgent
(t *testing.T)
adk/callback_integration_test.go:564
Function
TestCallbackEventsMatchAgentOutput
(t *testing.T)
adk/callback_integration_test.go:345
Function
TestCallbackOnEndForWorkflowAgent
(t *testing.T)
adk/callback_integration_test.go:397
Function
TestCallbackOnEndInvocation
(t *testing.T)
adk/callback_integration_test.go:150
Function
TestCallbackOnStartInvocation
(t *testing.T)
adk/callback_integration_test.go:111
Function
TestCallbackRunInfoForChatModelAgent
(t *testing.T)
adk/callback_integration_test.go:187
Function
TestCallbackWithWorkflowAgent
(t *testing.T)
adk/callback_integration_test.go:271
Function
TestCancelAfterChatModel_SequentialTransitionBoundary
(t *testing.T)
adk/cancel_test.go:2923
Function
TestCancelAfterChatModel_Sequential_Agent1CompletesCancelBeforeAgent2Resume
(t *testing.T)
adk/cancel_test.go:2990
Function
TestCancelAfterToolCalls_LoopTransitionBoundary
(t *testing.T)
adk/cancel_test.go:3097
Function
TestCancelContext
(t *testing.T)
adk/cancel_test.go:190
Function
TestCancelContextKey
(t *testing.T)
adk/cancel_test.go:1366
Function
TestCancelContext_RecursiveGraceBoundary
(t *testing.T)
adk/cancel_test.go:3169
Function
TestCancelImmediate_AgentTool_PreservesChildCheckpoint
(t *testing.T)
adk/cancel_test.go:2576
Function
TestCancelImmediate_CustomAgent_GracePeriodFallback
(t *testing.T)
adk/cancel_test.go:2736
Function
TestCancelImmediate_LoopTransitionBoundary
(t *testing.T)
adk/cancel_test.go:2876
Function
TestCancelImmediate_MultiLevelNesting
(t *testing.T)
adk/cancel_test.go:2768
Function
TestCancelImmediate_OrphanedToolGoroutine_NoPanic
(t *testing.T)
adk/cancel_test.go:2283
Function
TestCancelImmediate_ParallelWorkflow_WithAgentTool
(t *testing.T)
adk/cancel_test.go:2630
Function
TestCancelImmediate_SequentialTransitionBoundary
(t *testing.T)
adk/cancel_test.go:2824
Function
TestCancelInterrupt
(t *testing.T)
compose/checkpoint_test.go:1413
Function
TestCancelMonitoredToolHandler_EnhancedStreamableToolCall
(t *testing.T)
adk/cancel_test.go:1290
Function
TestCancelMonitoredToolHandler_StreamableToolCall
(t *testing.T)
adk/cancel_test.go:1149
Function
TestCancelRequestState_EmptyMergeMeansExplicitImmediate
(t *testing.T)
adk/turn_loop_test.go:5210
Function
TestCancelRequestState_ExpiredTimeoutConvertsToImmediate
(t *testing.T)
adk/turn_loop_test.go:5258
Function
TestCancelRequestState_ImmediateDominatesSafePointModes
(t *testing.T)
adk/turn_loop_test.go:5186
Function
TestCancelRequestState_NilMergeDoesNotCreateCancelIntent
(t *testing.T)
adk/turn_loop_test.go:5200
Function
TestCancelRequestState_RecursiveIsMonotonic
(t *testing.T)
adk/turn_loop_test.go:5230
Function
TestCancelRequestState_SafePointModesJoin
(t *testing.T)
adk/turn_loop_test.go:5220
Function
TestCancelRequestState_TimeoutUsesEarliestDeadline
(t *testing.T)
adk/turn_loop_test.go:5241
Function
TestCancel_CancelAfterToolCalls_InSequentialWorkflow
(t *testing.T)
adk/cancel_test.go:3512
Function
TestCancel_LoopWorkflow_CancelAfterChatModel
(t *testing.T)
adk/cancel_test.go:3272
Function
TestCancel_NestedWorkflow_AgentTool_CancelAfterChatModel
(t *testing.T)
adk/cancel_test.go:3352
Function
TestCancel_ParallelWorkflow_CancelAfterChatModel
(t *testing.T)
adk/cancel_test.go:3191
Function
TestCancel_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
Function
TestCancel_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
Function
TestCanonicalNameCallWithAliasConfigured
(t *testing.T)
compose/tool_alias_test.go:464
Function
TestCascadingFrom_NewChatModelAgentFrom
(t *testing.T)
adk/agentic_test.go:823
Function
TestCascadingTyped_EventFromAgenticMessage
(t *testing.T)
adk/agentic_test.go:877
Function
TestCascadingTyped_TypedStatefulInterrupt
(t *testing.T)
adk/agentic_test.go:863
Function
TestChain
(t *testing.T)
compose/chain_test.go:37
Function
TestChainBranch
(t *testing.T)
compose/chain_branch_test.go:35
Function
TestChainList
(t *testing.T)
compose/chain_test.go:250
Function
TestChainMultiBranch
(t *testing.T)
compose/chain_branch_test.go:276
Function
TestChainMultiNodes
(t *testing.T)
compose/chain_test.go:376
Function
TestChainSingleNode
(t *testing.T)
compose/chain_test.go:303
Function
TestChainWithException
(t *testing.T)
compose/chain_test.go:112
← previous
next →
2,601–2,700 of 3,994, ranked by callers