MCPcopy Create free account

hub / github.com/PGshen/thinking-map / functions

Functions1,120 in github.com/PGshen/thinking-map

FunctionTestDefaultOpenAIModelConfig
(t *testing.T)
server/internal/agent/llmmodel/openai_test.go:45
FunctionTestDeleteNodeTool
TestDeleteNodeTool 测试删除节点工具
server/internal/agent/tool/node/operator_test.go:30
FunctionTestDependencyChecker_CheckExecutionReadiness
(t *testing.T)
server/internal/service/dependency_checker_test.go:19
FunctionTestDependencyChecker_CheckExecutionReadinessWithChildren
(t *testing.T)
server/internal/service/dependency_checker_test.go:122
FunctionTestDependencyChecker_GetBlockedNodes
(t *testing.T)
server/internal/service/dependency_checker_test.go:363
FunctionTestDependencyChecker_GetExecutionOrder
(t *testing.T)
server/internal/service/dependency_checker_test.go:213
FunctionTestDependencyChecker_ValidateDependencyCycle
(t *testing.T)
server/internal/service/dependency_checker_test.go:304
FunctionTestErrorHandling
(t *testing.T)
server/internal/pkg/utils/stream_json_parser_test.go:164
FunctionTestExtractFunc
(t *testing.T)
server/internal/agent/tool/search/tavily_test.go:49
FunctionTestGetAllNodeTools
TestGetAllNodeTools 测试获取所有节点工具
server/internal/agent/tool/node/operator_test.go:52
FunctionTestIsIndependentTopicContextControl
(t *testing.T)
server/internal/agent/base/multiagent/context_test.go:10
FunctionTestIsNil
(t *testing.T)
server/internal/pkg/utils/ternary_test.go:31
FunctionTestLoadConfigWithEnvVars
(t *testing.T)
server/internal/config/loader_test.go:88
FunctionTestMain
(m *testing.M)
server/internal/service/init_test.go:25
FunctionTestMain
(m *testing.M)
server/internal/global/init_test.go:19
FunctionTestMain
(m *testing.M)
server/internal/agent/llmmodel/openai_test.go:22
FunctionTestMain
(m *testing.M)
server/internal/agent/tool/search/tavily_test.go:12
FunctionTestMapService_CRUD
(t *testing.T)
server/internal/service/map_test.go:19
FunctionTestMessageManager_ClearConversation
(t *testing.T)
server/internal/global/message_manager_test.go:306
FunctionTestMessageManager_ConvertToSchemaMsg
(t *testing.T)
server/internal/global/message_manager_test.go:344
FunctionTestMessageManager_CreateConversation
(t *testing.T)
server/internal/global/message_manager_test.go:408
FunctionTestMessageManager_CreateMessage
(t *testing.T)
server/internal/global/message_manager_test.go:23
FunctionTestMessageManager_DeleteMessage
(t *testing.T)
server/internal/global/message_manager_test.go:151
FunctionTestMessageManager_GetMessageByConversationID
(t *testing.T)
server/internal/global/message_manager_test.go:177
FunctionTestMessageManager_GetMessageByID
(t *testing.T)
server/internal/global/message_manager_test.go:122
FunctionTestMessageManager_GetMessageChain
(t *testing.T)
server/internal/global/message_manager_test.go:216
FunctionTestMessageManager_GetMessageStatus
(t *testing.T)
server/internal/global/message_manager_test.go:372
FunctionTestMessageManager_RollbackConversation
(t *testing.T)
server/internal/global/message_manager_test.go:266
FunctionTestMessageManager_SaveDecompositionMessage_Concurrent
TestMessageManager_SaveDecompositionMessage_Concurrent 测试并发环境下 SaveDecompositionMessage 的正确性
server/internal/global/message_manager_test.go:423
FunctionTestMessageManager_SaveDecompositionMessage_MessageChainIntegrity
TestMessageManager_SaveDecompositionMessage_MessageChainIntegrity 测试消息链完整性
server/internal/global/message_manager_test.go:537
FunctionTestMessageManager_SaveDecompositionMessage_TransactionRollback
TestMessageManager_SaveDecompositionMessage_TransactionRollback 测试事务回滚功能
server/internal/global/message_manager_test.go:511
FunctionTestMessageManager_SaveStreamMessage
(t *testing.T)
server/internal/global/message_manager_test.go:397
FunctionTestMessageManager_UpdateMessage
(t *testing.T)
server/internal/global/message_manager_test.go:87
FunctionTestMultiAgent_BasicExxecution
(t *testing.T)
server/internal/agent/base/multiagent/compose_test.go:136
FunctionTestMultiAgent_ComplexTask
(t *testing.T)
server/internal/agent/base/multiagent/compose_test.go:200
FunctionTestMultiAgent_ContextTimeout
(t *testing.T)
server/internal/agent/base/multiagent/compose_test.go:302
FunctionTestMultiAgent_MultiRoundConversation
(t *testing.T)
server/internal/agent/base/multiagent/compose_test.go:240
FunctionTestMultiAgent_StreamExecution
(t *testing.T)
server/internal/agent/base/multiagent/compose_test.go:161
FunctionTestNewAgent_InvalidConfig
TestNewAgent_InvalidConfig tests agent creation with invalid config
server/internal/agent/base/react/compose_test.go:240
FunctionTestNewAgent_Success
TestNewAgent_Success tests successful agent creation
server/internal/agent/base/react/compose_test.go:222
FunctionTestNewMultiAgent_InvalidConfig
(t *testing.T)
server/internal/agent/base/multiagent/compose_test.go:100
FunctionTestNewMultiAgent_Success
(t *testing.T)
server/internal/agent/base/multiagent/compose_test.go:82
FunctionTestNewTavilyClient
(t *testing.T)
server/internal/agent/tool/search/tavily_test.go:23
FunctionTestNodeService_CRUD
(t *testing.T)
server/internal/service/node_test.go:19
FunctionTestOpenAIModelStream
(t *testing.T)
server/internal/agent/llmmodel/openai_test.go:79
FunctionTestParseEnvVar
(t *testing.T)
server/internal/config/loader_test.go:10
FunctionTestParseReasoningResponse
TestParseReasoningResponse tests the reasoning response parsing function
server/internal/agent/base/react/compose_test.go:476
FunctionTestPlanUpdateHandler_IncrementalUpdate
(t *testing.T)
server/internal/agent/base/multiagent/plan_update_test.go:11
FunctionTestRealtimeIncrementalArrayBehaviorSummary
TestRealtimeIncrementalArrayBehaviorSummary 总结性测试:验证实时增量模式下数组解析的完整行为
server/internal/pkg/utils/stream_json_parser_test.go:444
FunctionTestRealtimeIncrementalBugDemo
TestRealtimeIncrementalBugDemo 简化的测试,专门演示实时增量模式的问题
server/internal/pkg/utils/stream_json_parser_test.go:306
FunctionTestSearchFunc
(t *testing.T)
server/internal/agent/tool/search/tavily_test.go:30
FunctionTestSelectiveClearSpecialistResults
(t *testing.T)
server/internal/agent/base/multiagent/plan_update_test.go:165
FunctionTestSetNodeDependenciesTool
TestSetNodeDependenciesTool 测试设置节点依赖关系工具
server/internal/agent/tool/node/operator_test.go:41
FunctionTestSimplePathMatcher
(t *testing.T)
server/internal/pkg/utils/stream_json_parser_test.go:10
FunctionTestStreamingJsonParser
(t *testing.T)
server/internal/pkg/utils/stream_json_parser_test.go:39
FunctionTestStreamingJsonParserIncremental
(t *testing.T)
server/internal/pkg/utils/stream_json_parser_test.go:176
FunctionTestStreamingJsonParserRealtime
(t *testing.T)
server/internal/pkg/utils/stream_json_parser_test.go:79
FunctionTestStreamingJsonParserRealtimeIncremental
(t *testing.T)
server/internal/pkg/utils/stream_json_parser_test.go:232
FunctionTestTernary
(t *testing.T)
server/internal/pkg/utils/ternary_test.go:7
FunctionTestUpdateNodeTool
TestUpdateNodeTool 测试更新节点工具
server/internal/agent/tool/node/operator_test.go:19
FunctionTestValidateConfig
TestValidateConfig tests the configuration validation function
server/internal/agent/base/react/compose_test.go:532
FunctionTestWithConversationAnalyzer_BasicFunctionality
TestWithConversationAnalyzer_BasicFunctionality 测试基本功能
server/internal/agent/base/multiagent/options_test.go:44
FunctionTestWithConversationAnalyzer_ContextPropagation
TestWithConversationAnalyzer_ContextPropagation 测试上下文传播
server/internal/agent/base/multiagent/options_test.go:278
FunctionTestWithConversationAnalyzer_ErrorHandling
TestWithConversationAnalyzer_ErrorHandling 测试错误处理
server/internal/agent/base/multiagent/options_test.go:232
FunctionTestWithConversationAnalyzer_MultiRoundConversation
(t *testing.T)
server/internal/agent/base/multiagent/options_test.go:125
FunctionTestWithConversationAnalyzer_MultipleMessages
TestWithConversationAnalyzer_MultipleMessages 测试多消息场景
server/internal/agent/base/multiagent/options_test.go:189
FunctionTestWithConversationAnalyzer_StreamFunctionality
TestWithConversationAnalyzer_StreamFunctionality 测试流式功能
server/internal/agent/base/multiagent/options_test.go:78
FunctionTestWithDirectAnswerHandler
(t *testing.T)
server/internal/agent/base/multiagent/options_test.go:371
FunctionTestWithFeedbackProcessorHandler
(t *testing.T)
server/internal/agent/base/multiagent/options_test.go:413
FunctionTestWithFinalAnswerHandler
(t *testing.T)
server/internal/agent/base/multiagent/options_test.go:455
FunctionTestWithPlanCreationHandler
(t *testing.T)
server/internal/agent/base/multiagent/options_test.go:392
FunctionTestWithPlanUpdateHandler
(t *testing.T)
server/internal/agent/base/multiagent/options_test.go:434
FunctionTestWithSpecialistHandler
(t *testing.T)
server/internal/agent/base/multiagent/options_test.go:476
FunctionTestWorkspacePage
()
web/src/app/(workspace)/map/[id]/page.tsx:7
FunctionTextarea
({ className, ...props }: React.ComponentProps<"textarea">)
web/src/components/ui/textarea.tsx:5
FunctionToMapResponse
ToMapResponse converts a model.ThinkingMap to a MapResponse
server/internal/model/dto/map.go:75
FunctionToMessageResponse
ToMessageResponse 将 model.Message 转为 dto.MessageResponse
server/internal/model/dto/message.go:96
FunctionToNodeResponse
modelToNodeResponse 将model.ThinkingNode转为dto.NodeResponse
server/internal/model/dto/node.go:73
FunctionToaster
({ ...props }: ToasterProps)
web/src/components/ui/sonner.tsx:6
FunctionTooltip
({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>)
web/src/components/ui/tooltip.tsx:21
FunctionTooltipContent
({ className, sideOffset = 0, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Conte
web/src/components/ui/tooltip.tsx:37
FunctionTooltipProvider
({ delayDuration = 0, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>)
web/src/components/ui/tooltip.tsx:8
FunctionTooltipTrigger
({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>)
web/src/components/ui/tooltip.tsx:31
MethodUnmarshalJSON
UnmarshalJSON 实现 json.Unmarshaler 接口
server/internal/model/jsonb.go:55
MethodUnsubscribeClient
UnsubscribeSession 取消订阅会话事件
server/internal/pkg/sse/eventbus.go:211
MethodUnsubscribeSessionIfNoLocalClients
(ctx context.Context, sessionID string)
server/internal/pkg/sse/eventbus.go:223
MethodUpdate
(ctx context.Context, node *model.ThinkingNode)
server/internal/repository/thinking_node.go:34
MethodUpdate
(ctx context.Context, message *model.Message)
server/internal/repository/message.go:35
MethodUpdate
UpdateMap updates a thinking map
server/internal/repository/thinking_map.go:101
MethodUpdate
(ctx context.Context, mapID string, updates map[string]interface{})
server/internal/repository/interfaces.go:33
MethodUpdate
(ctx context.Context, node *model.ThinkingNode)
server/internal/repository/interfaces.go:42
MethodUpdate
(ctx context.Context, message *model.Message)
server/internal/repository/interfaces.go:60
MethodUpdate
(ctx context.Context, record *model.RAGRecord)
server/internal/repository/interfaces.go:71
MethodUpdate
(ctx context.Context, record *model.RAGRecord)
server/internal/repository/rag_record.go:24
MethodUpdate
(ctx context.Context, user *model.User)
server/internal/repository/user.go:24
MethodUpdateConnectionState
更新连接状态
server/internal/pkg/sse/connection.go:44
MethodUpdateConnectionState
UpdateConnectionState 更新连接状态
server/internal/pkg/sse/connection.go:157
MethodUpdateInTx
UpdateInTx 在事务中更新节点
server/internal/repository/thinking_node.go:39
MethodUpdateIsDecomposed
(ctx context.Context, id string, isDecomposed bool)
server/internal/repository/thinking_node.go:133
MethodUpdateLastSeen
更新最后活跃时间
server/internal/pkg/sse/connection.go:46
← previousnext →901–1,000 of 1,120, ranked by callers