Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DSGWJQ/Feagent
/ functions
Functions
13,770 in github.com/DSGWJQ/Feagent
⨍
Functions
13,770
◇
Types & classes
3,506
↳
Endpoints
127
↓ 1 callers
Function
get_decision_type_map
获取决策类型映射(延迟初始化) 将action_type字符串映射到DecisionType枚举。 此函数使用延迟初始化模式以避免模块导入时的额外开销。 Returns: dict mapping action_type strings to Decisi
src/domain/agents/conversation_agent_models.py:171
↓ 1 callers
Method
get_diff
获取内容差异
src/domain/services/coordinator_runbook.py:101
↓ 1 callers
Function
get_engine
创建数据库引擎 为什么使用工厂函数? - 延迟初始化:只在需要时创建引擎 - 便于测试:可以传入不同的配置 - 便于管理:可以在应用启动时创建,关闭时销毁 配置说明: - echo: 是否打印 SQL(开发环境开启,生产环境关闭) - po
src/infrastructure/database/engine.py:25
↓ 1 callers
Method
get_entries_by_category
按类别获取条目
src/domain/services/coordinator_runbook.py:930
↓ 1 callers
Method
get_event_log
获取事件日志
src/domain/services/agent_orchestrator.py:249
↓ 1 callers
Method
get_execution_result
获取执行结果 参数: run_id: Run ID 返回: Run实体 抛出: NotFoundError: Run不存在
src/application/use_cases/execute_concurrent_workflows.py:121
↓ 1 callers
Method
get_execution_timeline
获取执行时间线
src/domain/services/resource_lifecycle.py:566
↓ 1 callers
Method
get_executor
获取节点执行器
src/domain/services/extension_api.py:329
↓ 1 callers
Method
get_executor
获取执行器 参数: handler_name: 处理器名称 返回: 执行器实例或 None
src/domain/services/tool_engine.py:783
↓ 1 callers
Method
get_experiment_audit_logs
获取实验审计日志 参数: experiment_id: 实验ID 返回: 审计日志列表
src/domain/services/experiment_orchestrator.py:458
↓ 1 callers
Method
get_experiment_audit_logs
获取实验审计日志(代理到 ExperimentOrchestrator)
src/domain/agents/coordinator_agent.py:3693
↓ 1 callers
Method
get_experiment_metrics_summary
获取实验指标汇总 参数: experiment_id: 实验ID 返回: 指标汇总字典,包含各变体的详细指标
src/domain/services/experiment_orchestrator.py:311
↓ 1 callers
Method
get_experiment_report
获取实验报告 包含各变体的指标统计:成功率、平均时长、平均满意度。 参数: experiment_id: 实验ID 返回: 实验报告字典
src/domain/services/experiment_orchestrator.py:298
↓ 1 callers
Method
get_experiment_report
获取实验报告(代理到 ExperimentOrchestrator)
src/domain/agents/coordinator_agent.py:3658
↓ 1 callers
Method
get_final_state
获取最终状态 返回: 最终的 ReAct 循环状态
src/infrastructure/lc_adapters/workflow/react_orchestrator.py:526
↓ 1 callers
Method
get_final_state
获取最近一次运行的最终状态。
src/domain/ports/react_orchestrator.py:49
↓ 1 callers
Method
get_flat_nodes_with_hierarchy
扁平化节点列表并保留层级信息 返回: 包含层级信息的节点列表
src/domain/agents/workflow_agent.py:962
↓ 1 callers
Function
get_global_memory_cache
获取全局单例缓存 Returns: InMemoryCache 实例(全局共享) Configuration: - TTL: 15 分钟 - 最大 workflow 数: 1000 - 每个 workflo
src/interfaces/api/dependencies/memory.py:28
↓ 1 callers
Method
get_hierarchy_tree
获取完整的层级树 参数: node_id: 根节点ID 返回: 层级树字典
src/domain/services/node_hierarchy_service.py:450
↓ 1 callers
Method
get_inspection_summary
获取巡检摘要 参数: results: 巡检结果列表 返回: 巡检摘要统计
src/domain/services/knowledge_coordinator_inspector.py:293
↓ 1 callers
Method
get_intervention_events
获取干预事件
src/domain/services/supervision_strategy.py:1133
↓ 1 callers
Method
get_leaf_nodes
获取叶子节点(没有出边的节点) 返回: 叶子节点列表
src/domain/agents/workflow_plan.py:312
↓ 1 callers
Method
get_least_loaded_agent
获取负载最低的 Agent
src/domain/services/resource_lifecycle.py:350
↓ 1 callers
Method
get_log_by_id
按 ID 获取日志
src/domain/services/prompt_stability_monitor.py:291
↓ 1 callers
Method
get_log_statistics
获取日志统计信息 返回: 统计信息字典,包含: - total_entries: 总日志条目数 - by_level: 按级别统计 {"INFO": 60, "ERROR": 10, ...}
src/domain/services/unified_log_integration.py:185
↓ 1 callers
Method
get_logs
获取日志 参数: source: 过滤来源(可选) limit: 限制数量(可选) 返回: 日志列表
src/domain/services/summary_strategy.py:652
↓ 1 callers
Method
get_logs_by_action
按操作类型获取日志 参数: action: 操作类型 返回: 该类型的所有日志
src/domain/services/knowledge_audit_log.py:299
↓ 1 callers
Method
get_logs_by_actor
按操作者获取日志 参数: actor: 操作者ID 返回: 该操作者的所有日志
src/domain/services/knowledge_audit_log.py:288
↓ 1 callers
Method
get_logs_in_time_range
按时间范围获取日志 参数: start_time: 开始时间 end_time: 结束时间 返回: 时间范围内的所有日志
src/domain/services/knowledge_audit_log.py:310
↓ 1 callers
Method
get_merged_logs
合并多源日志并按时间排序 合并以下日志源: 1. UnifiedLogCollector 的日志 2. message_log(如果 message_log_accessor 不为 None) 3. container_logs(如果
src/domain/services/unified_log_integration.py:214
↓ 1 callers
Method
get_metadata
获取元数据 返回: 包含检索元数据的字典
src/domain/services/knowledge_vault_retriever.py:71
↓ 1 callers
Method
get_metadata_for_prompt
获取节点元数据用于 Prompt 参数: node_name: 节点名称 返回: 格式化的元数据字符串
src/domain/services/self_describing_node.py:336
↓ 1 callers
Method
get_model_metadata
获取模型元数据 Args: provider: 模型提供商(如 "openai", "anthropic") model: 模型名称(如 "gpt-4", "claude-3") Returns:
src/domain/ports/model_metadata.py:43
↓ 1 callers
Method
get_node_definition
获取节点定义
src/domain/services/extension_api.py:325
↓ 1 callers
Function
get_node_executor
Return a node executor for the given node type. This is intentionally a thin hook for unit tests to patch. Production code should use NodeExe
src/lc/workflow/langgraph_workflow_executor.py:34
↓ 1 callers
Method
get_node_info
获取节点信息 参数: node_name: 节点名称 返回: 节点信息字典
src/domain/services/self_describing_node.py:769
↓ 1 callers
Method
get_parameter_inference_prompt
获取参数推断 Prompt 参数: task_description: 任务描述 返回: 参数推断 Prompt
src/domain/services/node_code_generator.py:1043
↓ 1 callers
Method
get_pending_feedbacks_async
获取待处理的反馈列表(异步锁保护版本,P0-2 Phase 2) 在_state_lock保护下返回快照,避免并发修改。 返回: 反馈列表的副本
src/domain/agents/conversation_agent_recovery.py:238
↓ 1 callers
Method
get_pending_save_request_count
No-op: 无队列时返回0 返回: 0(无待处理请求)
src/domain/services/null_save_request_orchestrator.py:57
↓ 1 callers
Function
get_plan_generation_prompt
获取计划生成的 Prompt Template 为什么使用 ChatPromptTemplate? - 支持多轮对话(system + user) - 自动处理消息格式 - 与 LCEL 兼容 为什么分离 system 和 user prompt?
src/infrastructure/lc_adapters/prompts/plan_generation.py:67
↓ 1 callers
Method
get_power_compression_statistics
获取强力压缩器统计 返回: 包含统计信息的字典
src/domain/agents/coordinator_agent.py:3255
↓ 1 callers
Method
get_processing_logs
获取处理日志
src/domain/services/monitoring_knowledge_bridge.py:366
↓ 1 callers
Method
get_processing_logs
获取处理日志
src/domain/services/monitoring_knowledge_bridge.py:556
↓ 1 callers
Method
get_prompt_audit_logs
获取提示词版本审计日志 参数: module_name: 模块名称 返回: 审计日志列表
src/domain/services/prompt_version_facade.py:259
↓ 1 callers
Method
get_prompt_audit_logs
获取提示词版本审计日志(代理到 Facade)
src/domain/agents/coordinator_agent.py:2003
↓ 1 callers
Method
get_prompt_loading_logs
获取提示词加载日志(代理到 Facade)
src/domain/agents/coordinator_agent.py:2058
↓ 1 callers
Method
get_prompt_version_for_experiment
获取用户在模块实验中应使用的提示词版本 参数: module_name: 模块名称 user_id: 用户ID 返回: 提示词版本号,如 "1.0.0"
src/domain/services/experiment_orchestrator.py:257
↓ 1 callers
Method
get_prompt_version_history
获取提示词版本历史(代理到 Facade)
src/domain/agents/coordinator_agent.py:2010
↓ 1 callers
Method
get_propagation_context
获取传播上下文 参数: span: 当前span 返回: 可传播的上下文字典
src/domain/services/monitoring.py:299
↓ 1 callers
Method
get_rag_env_template
获取RAG环境变量模板
src/infrastructure/knowledge_base/rag_config_manager.py:264
↓ 1 callers
Method
get_recent
获取最近 N 条日志 参数: count: 条目数 返回: 最近的日志列表
src/domain/services/unified_log_collector.py:177
↓ 1 callers
Method
get_recommended_compression_point
获取推荐的压缩点 根据缓冲区大小和使用率推荐应该压缩的轮次数。 参数: session: 会话上下文 返回: 推荐保留的轮次数
src/domain/services/token_guardrail.py:283
↓ 1 callers
Method
get_reference
获取引用详情 参数: ref_id: 引用ID 返回: 引用详情
src/domain/services/summary_strategy.py:216
↓ 1 callers
Method
get_registered_subagent_types
获取已注册的子Agent类型列表(代理到 SubAgentOrchestrator)
src/domain/agents/coordinator_agent.py:2694
↓ 1 callers
Method
get_replan_events
获取 REPLAN 事件列表
src/domain/services/supervision_strategy.py:831
↓ 1 callers
Method
get_replan_events
获取 REPLAN 事件
src/domain/services/supervision_strategy.py:1137
↓ 1 callers
Method
get_rollback_history
获取回滚历史
src/domain/services/prompt_version_manager.py:603
↓ 1 callers
Method
get_root_nodes
获取所有根节点 返回: 根节点列表
src/domain/services/node_hierarchy_service.py:442
↓ 1 callers
Method
get_root_nodes
获取所有根节点(无父节点的节点) 返回: 根节点列表
src/domain/agents/workflow_agent.py:939
↓ 1 callers
Method
get_save_audit_logs
No-op: 无审核器时返回空列表 返回: 空列表
src/domain/services/null_save_request_orchestrator.py:143
↓ 1 callers
Method
get_save_audit_logs_by_session
No-op: 无审核器时返回空列表 参数: session_id: 会话ID(忽略) 返回: 空列表
src/domain/services/null_save_request_orchestrator.py:151
↓ 1 callers
Method
get_save_receipt_chain_log
No-op: 无回执系统时返回None 参数: request_id: 请求ID(忽略) 返回: None
src/domain/services/null_save_request_orchestrator.py:219
↓ 1 callers
Method
get_save_receipt_chain_log
获取保存请求的完整链路日志(代理到 SaveRequestOrchestrator) 参数: request_id: 请求 ID 返回: 链路日志或 None
src/domain/agents/coordinator_agent.py:1666
↓ 1 callers
Method
get_save_receipt_context
No-op: 无回执系统时返回空字典 参数: session_id: 会话ID(忽略) 返回: 空字典
src/domain/services/null_save_request_orchestrator.py:208
↓ 1 callers
Method
get_save_receipt_logs
No-op: 无回执系统时返回空列表 返回: 空列表
src/domain/services/null_save_request_orchestrator.py:230
↓ 1 callers
Method
get_save_request_queue
No-op: 无队列时返回空列表 返回: 空列表
src/domain/services/null_save_request_orchestrator.py:65
↓ 1 callers
Method
get_save_request_status
No-op: 无队列时返回PENDING状态 参数: request_id: 请求ID(忽略) 返回: SaveRequestStatus.PENDING
src/domain/services/null_save_request_orchestrator.py:73
↓ 1 callers
Method
get_save_requests_by_session
No-op: 无队列时返回空列表 参数: session_id: 会话ID(忽略) 返回: 空列表
src/domain/services/null_save_request_orchestrator.py:86
↓ 1 callers
Function
get_section_description
获取段落描述 参数: section: 段落枚举 返回: 段落的中文描述
src/domain/services/structured_dialogue_summary.py:58
↓ 1 callers
Method
get_session_save_statistics
No-op: 无回执系统时返回零值统计 返回值结构与 SaveResultMemoryHandler.get_session_statistics() 一致。 参数: session_id: 会话ID(忽略) 返回:
src/domain/services/null_save_request_orchestrator.py:238
↓ 1 callers
Method
get_stability_metrics
获取稳定性指标
src/domain/services/prompt_stability_monitor.py:940
↓ 1 callers
Method
get_statistics
获取同步统计 返回: 统计数据字典
src/domain/services/canvas_synchronizer.py:389
↓ 1 callers
Method
get_statistics
别名: get_container_execution_statistics
src/domain/services/container_execution_monitor.py:312
↓ 1 callers
Method
get_statistics
获取统计信息
src/domain/services/management_modules.py:406
↓ 1 callers
Method
get_statistics
获取消息统计 返回: 包含消息统计的字典: - total_messages: 总消息数 - by_intent: 按意图分类的消息数
src/domain/services/message_log_listener.py:158
↓ 1 callers
Method
get_subagent_status
获取子Agent状态(代理到 SubAgentOrchestrator)
src/domain/agents/coordinator_agent.py:2721
↓ 1 callers
Method
get_summary_text
获取摘要文本 参数: max_refs: 最大包含的引用数 返回: 人类可读的摘要文本
src/domain/services/knowledge_reference.py:249
↓ 1 callers
Method
get_supervision_logs_by_session
获取指定会话的监督日志(委托到 SupervisionFacade)
src/domain/agents/coordinator_agent.py:1465
↓ 1 callers
Method
get_system_prompt
获取系统 Prompt
src/domain/services/node_code_generator.py:940
↓ 1 callers
Method
get_time_series
获取时间序列数据 参数: name: 指标名称 since: 起始时间 返回: 时间序列数据列表
src/domain/services/monitoring.py:179
↓ 1 callers
Method
get_unused_variables
获取声明但未在模板中使用的变量 返回: 未使用的变量名集合
src/domain/services/prompt_template_system.py:109
↓ 1 callers
Method
get_usage_by_version
按版本获取使用记录
src/domain/services/prompt_stability_monitor.py:286
↓ 1 callers
Method
get_usage_ratio
获取当前上下文使用率 返回: 使用率(0-1 之间,超过 1 表示超限)
src/domain/entities/session_context.py:345
↓ 1 callers
Method
get_user_preferences
获取用户的所有偏好 参数: user_id: 用户 ID 返回: 偏好列表
src/domain/services/knowledge_maintenance.py:672
↓ 1 callers
Method
get_vector_config
Backward-compatible alias for older callers/tests.
src/infrastructure/knowledge_base/rag_config_manager.py:52
↓ 1 callers
Method
get_workflow_container_executions
获取工作流的容器执行记录(代理到 ContainerExecutionMonitor) 参数: workflow_id: 工作流ID 返回: 容器执行记录列表
src/domain/agents/coordinator_agent.py:2770
↓ 1 callers
Method
get_workflow_executions
别名: get_workflow_container_executions
src/domain/services/container_execution_monitor.py:308
↓ 1 callers
Method
get_workflow_suggestions
根据工作流结构提供优化建议 参数: workflow: 工作流实体 返回: 建议列表
src/domain/ports/workflow_chat_service.py:62
↓ 1 callers
Method
get_workflow_suggestions
根据工作流结构提供优化建议 参数: workflow: 工作流实体 返回: 建议列表
src/domain/services/workflow_chat_service_enhanced.py:504
↓ 1 callers
Method
get_workflow_suggestions
获取工作流优化建议 参数: workflow_id: 工作流ID 返回: 建议列表 抛出: NotFoundError: 工作流不存在
src/application/use_cases/enhanced_chat_workflow.py:91
↓ 1 callers
Function
handleDelete
(e: React.MouseEvent, id: string)
web/src/features/agents/pages/AgentListTest.tsx:51
↓ 1 callers
Function
handleDeleteConfirm
(toolId: string)
web/src/features/tools/pages/ToolsLibraryPage.tsx:141
↓ 1 callers
Function
handleDeleteConfirm
(record: ScheduledWorkflow)
web/src/features/scheduler/pages/ScheduledWorkflowsPage.tsx:162
↓ 1 callers
Function
handleDeleteConfirm
(providerId: string)
web/src/features/llm/pages/LLMProvidersPage.tsx:157
↓ 1 callers
Function
handleDragStart
( event: React.DragEvent<HTMLDivElement>, nodeType: string )
web/src/features/workflows/components/NodePalette.tsx:54
↓ 1 callers
Function
handleSave
()
web/src/features/workflows/components/NodeConfigPanel.tsx:67
↓ 1 callers
Function
handleSend
()
web/src/shared/components/WorkflowAIChat.tsx:101
↓ 1 callers
Function
handleSend
()
web/src/shared/components/WorkflowAIChatWithExecution.tsx:207
↓ 1 callers
Function
handleSend
()
web/src/shared/components/StreamingChat.tsx:84
↓ 1 callers
Method
handle_client_message
处理客户端消息 参数: workflow_id: 工作流 ID data: 消息数据 返回: 是否成功处理
src/infrastructure/websocket/canvas_sync.py:630
← previous
next →
2,901–3,000 of 13,770, ranked by callers