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
extractWorkflowId
(event: PlanningSseEvent)
web/src/features/workflows/pages/WorkflowEditorPage.tsx:28
↓ 1 callers
Method
extract_for_memory
提取用于记忆存储的数据 Args: result_pkg: 结果包 Returns: 可存储的记忆数据
src/domain/services/result_memory_integration.py:228
↓ 1 callers
Function
extract_template_variables
从模板中提取变量名
scripts/validate_prompt_templates.py:67
↓ 1 callers
Method
filter_by_category
按类别过滤条目 参数: category: 类别名称 返回: 匹配的条目列表
src/domain/services/knowledge_manager.py:133
↓ 1 callers
Method
filter_by_source_type
按来源类型过滤 参数: source_type: 来源类型 返回: 匹配的引用列表
src/domain/services/knowledge_reference.py:238
↓ 1 callers
Method
filter_logs_by_level
按级别过滤日志 参数: level: 日志级别(如 "ERROR") 返回: 匹配的日志列表
src/domain/services/unified_log_integration.py:145
↓ 1 callers
Method
filter_logs_by_source
按来源过滤日志 参数: source: 日志来源(如 "CoordinatorAgent") 返回: 匹配的日志列表
src/domain/services/unified_log_integration.py:156
↓ 1 callers
Method
filter_logs_by_time_range
按时间范围过滤日志 参数: since: 开始时间(可选,None 表示无限制) until: 结束时间(可选,None 表示无限制) 返回: 时间范围内的日志列表
src/domain/services/unified_log_integration.py:167
↓ 1 callers
Method
find_active
查找所有活跃的定时工作流 返回: 活跃 ScheduledWorkflow 列表
src/infrastructure/database/repositories/scheduled_workflow_repository.py:165
↓ 1 callers
Method
find_all
查找所有定时工作流 返回: ScheduledWorkflow 列表
src/infrastructure/database/repositories/scheduled_workflow_repository.py:156
↓ 1 callers
Method
find_all
(self)
tests/integration/test_conversation_engine_e2e.py:47
↓ 1 callers
Method
find_by_agent_id
按 agent_id 查询 runs(按 created_at 倒序)。
src/infrastructure/database/repositories/run_repository.py:179
↓ 1 callers
Method
find_by_category
根据分类查找 Tool 参数: category: Tool 分类(http, database, file等) 返回: Tool 列表(可能为空)
src/infrastructure/database/repositories/tool_repository.py:202
↓ 1 callers
Method
find_by_id
根据用户ID查找用户 参数: user_id: 用户ID(UUID) 返回: Optional[User]: 用户实体,如果不存在则返回None
src/infrastructure/database/repositories/user_repository.py:174
↓ 1 callers
Method
find_by_id
根据 ID 查找 Workflow 实体(不存在返回 None) 实现策略: - 使用 select() + scalars().first() - 级联加载:lazy="selectin" 自动加载 Node 和 Edge - 不存
src/infrastructure/database/repositories/workflow_repository.py:239
↓ 1 callers
Method
find_by_id
按 ID 查找 Run (不存在返回 None) Args: run_id: Run ID Returns: Run 实体或 None
src/domain/ports/run_repository.py:62
↓ 1 callers
Method
find_by_tags
按标签查找工具
tests/unit/domain/agents/test_coordinator_context_service.py:47
↓ 1 callers
Method
find_by_workflow_id
按工作流 ID 查找定时工作流 参数: workflow_id: 工作流 ID 返回: ScheduledWorkflow 列表
src/infrastructure/database/repositories/scheduled_workflow_repository.py:139
↓ 1 callers
Method
find_chunks_by_document_id
查找指定文档的所有分块
src/domain/knowledge_base/ports/knowledge_repository.py:67
↓ 1 callers
Method
find_documents_by_workflow_id
查找指定工作流的所有文档
src/infrastructure/knowledge_base/sqlite_knowledge_repository.py:191
↓ 1 callers
Method
find_enabled
查找所有已启用的 LLMProvider 返回: 状态为启用的 LLMProvider 列表
src/infrastructure/database/repositories/llm_provider_repository.py:187
↓ 1 callers
Method
find_enabled
查找所有已启用的 LLMProvider 返回: 状态为启用的 LLMProvider 列表
src/domain/ports/llm_provider_repository.py:111
↓ 1 callers
Method
find_published
(self)
tests/unit/domain/agents/test_coordinator_context_service.py:44
↓ 1 callers
Function
formatFields
(fields: string[] | undefined)
web/src/features/workflows/components/WorkflowDiffSummary.tsx:9
↓ 1 callers
Method
format_error_for_user
将错误格式化为用户友好消息 使用错误分类器、消息生成器和选项生成器将技术错误 转换为用户可理解的格式。 参数: node_id: 节点ID error: 异常实例 node_n
src/domain/agents/conversation_agent_recovery.py:322
↓ 1 callers
Function
format_step_for_frontend
将步骤格式化为前端可用的字典 这是一个便捷函数,直接返回字典格式。 参数: step: 会话步骤 返回: 前端可直接使用的字典
src/domain/services/stream_message_formatter.py:257
↓ 1 callers
Method
from_dict
从字典创建实例
src/domain/services/subagent_context_bridge.py:93
↓ 1 callers
Method
from_dict
从字典反序列化
src/domain/services/unified_definition.py:82
↓ 1 callers
Method
from_dict
从字典创建实例
src/domain/services/scenario_prompt_system.py:191
↓ 1 callers
Method
from_dict
从字典创建 Schema
src/domain/services/parent_node_schema.py:115
↓ 1 callers
Method
from_dict
从字典反序列化 参数: data: 字典数据 返回: KnowledgeReference 实例
src/domain/services/knowledge_reference.py:73
↓ 1 callers
Method
from_dict
从字典创建日志
src/domain/services/logging_metrics.py:165
↓ 1 callers
Method
from_dict
从字典恢复 ChatMessage(用于从数据库读取) 参数: data: 包含消息数据的字典 返回: ChatMessage 实例 示例: data = {
src/domain/entities/chat_message.py:122
↓ 1 callers
Method
from_dict
从字典创建消息
src/domain/agents/agent_channel.py:106
↓ 1 callers
Method
from_dict
从字典反序列化 参数: data: 包含节点定义的字典 返回: NodeDefinition 实例(包含层次化结构)
src/domain/agents/node_definition.py:626
↓ 1 callers
Method
from_dict_list
从字典列表创建集合 参数: data: 字典列表 返回: KnowledgeReferences 实例
src/domain/services/knowledge_reference.py:212
↓ 1 callers
Method
from_entity
从 Domain 实体创建响应 DTO 参数: task: Task 实体 返回: TaskResponse DTO
src/interfaces/api/dto/agent_dto.py:45
↓ 1 callers
Method
from_error_doc
从错误文档创建引用 参数: error_doc: 错误文档字典,包含 error_type, solution_title, solution_preview, confidence 返回: KnowledgeRef
src/domain/services/knowledge_reference.py:124
↓ 1 callers
Method
from_goal_doc
从目标相关文档创建引用 参数: goal_doc: 目标文档字典,包含 goal_keyword, related_doc_id, doc_title, preview, match_score 返回: Knowle
src/domain/services/knowledge_reference.py:144
↓ 1 callers
Method
from_rag_source
从 RAG 结果创建引用 参数: rag_source: RAG 来源字典,包含 document_id, title, source, relevance_score, preview 返回: KnowledgeR
src/domain/services/knowledge_reference.py:104
↓ 1 callers
Method
generate
生成确定性响应. 参数: prompt: 提示词(用于计算hash) temperature: 忽略(stub不需要随机性) max_tokens: 忽略(stub返回固定内容) **k
src/infrastructure/adapters/llm_stub_adapter.py:36
↓ 1 callers
Method
generate
从录制中查找匹配的响应. 参数: prompt: 提示词(必须与录制时完全匹配) temperature: 忽略(回放不需要随机性) max_tokens: 忽略(返回录制内容) **k
src/infrastructure/adapters/llm_replay_adapter.py:52
↓ 1 callers
Method
generate
生成响应
src/domain/services/goal_decomposer.py:103
↓ 1 callers
Method
generate
生成响应
src/domain/services/context_bridge.py:308
↓ 1 callers
Method
generate
生成摘要 参数: raw_data: 原始数据 level: 摘要级别 source_id: 来源ID 返回: 摘要信息
src/domain/services/summary_strategy.py:276
↓ 1 callers
Function
generatePythonCode
(nodes: Node[], edges: Edge[])
web/src/features/workflows/utils/codeGenerator.ts:12
↓ 1 callers
Function
generateRunId
()
web/src/features/workflows/pages/WorkflowEditorPage.tsx:21
↓ 1 callers
Function
generateTypeScriptCode
(nodes: Node[], edges: Edge[])
web/src/features/workflows/utils/codeGenerator.ts:144
↓ 1 callers
Method
generate_agent_summary
生成 Agent 摘要
src/domain/services/logging_metrics.py:1137
↓ 1 callers
Method
generate_all
生成完整的Schema文档 返回: Markdown格式的完整文档
src/domain/services/node_schema.py:992
↓ 1 callers
Method
generate_all_rules
从Agent配置生成所有规则 参数: agent_config: Agent配置字典 返回: 规则列表
src/domain/services/rule_generator.py:619
↓ 1 callers
Method
generate_for_agent
为特定 Agent 生成完整提示词 参数: agent_type: Agent 类型 variables: 变量值 separator: 模块分隔符 返回: 生成的完整
src/domain/services/prompt_template_system.py:408
↓ 1 callers
Method
generate_full_dashboard
生成完整仪表盘数据
src/domain/services/logging_metrics.py:1158
↓ 1 callers
Method
generate_intervention_report
生成干预报告
src/domain/services/supervision_strategy.py:1141
↓ 1 callers
Method
generate_modifications
(self, system_prompt: str, user_prompt: str)
src/interfaces/api/routes/workflows.py:195
↓ 1 callers
Method
generate_modifications_async
异步生成工作流修改指令。
src/domain/ports/workflow_chat_llm.py:19
↓ 1 callers
Method
generate_workflow
Generate a workflow specification via LLM.
src/interfaces/api/routes/workflows.py:1498
↓ 1 callers
Function
getDefaultOpenKeys
()
web/src/layouts/MainLayout.tsx:114
↓ 1 callers
Function
getMessageTypeLabel
(type: StreamingMessageType)
web/src/shared/types/streaming.ts:134
↓ 1 callers
Function
getMethodColor
(method: string)
web/src/features/workflows/components/nodes/HttpRequestNode.tsx:25
↓ 1 callers
Function
getSelectedKeys
()
web/src/layouts/MainLayout.tsx:97
↓ 1 callers
Function
getStoredTheme
()
web/src/shared/styles/themes.ts:215
↓ 1 callers
Function
getThemeVariables
(mode: ThemeMode)
web/src/shared/styles/themes.ts:184
↓ 1 callers
Function
getWorkflow
(workflowId: string)
web/src/features/workflows/api/workflowsApi.ts:43
↓ 1 callers
Method
get_accumulated_content
获取累积的内容 返回所有 delta 步骤累积的内容。 返回: 累积的内容字符串
src/domain/services/conversation_flow_emitter.py:462
↓ 1 callers
Method
get_agent_stats
获取 Agent 统计
src/domain/services/logging_metrics.py:911
↓ 1 callers
Method
get_alert
获取告警
src/domain/services/management_modules.py:1112
↓ 1 callers
Method
get_alert_history
获取告警历史 参数: limit: 返回数量限制(可选) 返回: 告警历史列表
src/domain/services/dynamic_alert_rule_manager.py:343
↓ 1 callers
Method
get_alert_message
获取告警消息 返回: 格式化的告警消息
src/domain/services/knowledge_deviation_alert.py:111
↓ 1 callers
Method
get_alerts_by_severity
按严重性获取告警历史 参数: severity: 严重性级别 返回: 匹配的告警列表
src/domain/services/dynamic_alert_rule_manager.py:356
↓ 1 callers
Method
get_all_groups
获取所有分组 返回: 分组节点列表
src/domain/agents/workflow_agent.py:3005
↓ 1 callers
Method
get_all_sections
获取所有段落 返回: 包含所有段落的字典
src/domain/services/structured_dialogue_summary.py:139
↓ 1 callers
Method
get_all_sorted
获取所有请求(按优先级排序) 返回: 排序后的请求列表
src/domain/services/save_request_channel.py:501
↓ 1 callers
Function
get_all_tools
()
src/lc/tools/__init__.py:17
↓ 1 callers
Method
get_all_workflows
获取所有工作流摘要 返回: 工作流摘要字典
src/domain/services/execution_monitor.py:603
↓ 1 callers
Method
get_analysis_prompt
获取分析 Prompt 参数: task_description: 任务描述 available_tools: 可用工具列表 返回: 分析 Prompt
src/domain/services/node_code_generator.py:978
↓ 1 callers
Method
get_ancestors
获取所有祖先节点 返回: 祖先列表,从直接父节点到根节点
src/domain/services/node_registry.py:350
↓ 1 callers
Method
get_api_latency
获取最新 API 延迟
src/domain/services/supervision_strategy.py:533
↓ 1 callers
Method
get_api_latency_stats
获取 API 延迟统计 参数: workflow_id: 工作流ID api_name: API 名称 返回: 统计信息
src/domain/services/supervision_strategy.py:542
↓ 1 callers
Method
get_brief_summary
获取简要摘要(给前端用) 返回: 简要摘要字典
src/domain/services/tool_executor.py:506
↓ 1 callers
Method
get_cached_knowledge
获取缓存的知识引用 参数: workflow_id: 工作流ID 返回: KnowledgeReferences 或 None
src/domain/services/knowledge_retrieval_orchestrator.py:184
↓ 1 callers
Method
get_call_statistics
获取全局调用统计 返回: 统计信息字典
src/domain/services/tool_engine.py:1130
↓ 1 callers
Method
get_capabilities
(self)
tests/unit/domain/services/test_sub_agent_scheduler.py:291
↓ 1 callers
Method
get_chat_history
获取对话历史 返回: 对话消息列表
src/application/use_cases/enhanced_chat_workflow.py:128
↓ 1 callers
Method
get_children
获取直接子节点 参数: node_id: 节点ID 返回: 子节点列表
src/domain/services/node_hierarchy_service.py:414
↓ 1 callers
Function
get_classification_prompt
生成任务分类的完整prompt 参数: input_data: 包含start, goal, context的字典 返回: 完整的分类prompt字符串
src/infrastructure/lc_adapters/prompts/task_classification.py:131
↓ 1 callers
Method
get_client_ids
获取指定工作流的所有客户端ID 参数: workflow_id: 工作流ID 返回: 客户端ID列表
src/infrastructure/websocket/canvas_sync.py:340
↓ 1 callers
Method
get_code_generation_prompt
获取代码生成 Prompt 参数: node_name: 节点名称 language: 编程语言 parameters: 参数列表 返回: 代码生成 Prompt
src/domain/services/node_code_generator.py:1007
↓ 1 callers
Method
get_compressed_context
获取压缩上下文 优先从缓存读取,缓存未命中则从快照管理器读取。 参数: workflow_id: 工作流ID 返回: 压缩上下文对象,如果不存在则返回 None
src/domain/services/reflection_context_manager.py:273
↓ 1 callers
Method
get_container_execution_statistics
获取容器执行统计(代理到 ContainerExecutionMonitor) 返回: 包含执行统计的字典
src/domain/agents/coordinator_agent.py:2792
↓ 1 callers
Method
get_container_logs
获取容器日志字典 返回: 容器日志字典 {container_id: [logs]}
src/domain/services/coordinator_bootstrap.py:119
↓ 1 callers
Method
get_container_logs
获取容器日志(代理到 ContainerExecutionMonitor) 参数: container_id: 容器ID 返回: 日志列表
src/domain/agents/coordinator_agent.py:2781
↓ 1 callers
Method
get_context_async
获取上下文信息(异步版本) 根据用户输入,异步查询规则库、知识库、工具库,返回相关上下文。 参数: user_input: 用户输入文本 workflow_id: 可选的工作流ID,用于获取工作流上下文
src/domain/services/context/service.py:84
↓ 1 callers
Method
get_context_async
获取上下文信息(异步版本) Phase 35.1: 委托给 ContextService 根据用户输入,异步查询规则库、知识库、工具库,返回相关上下文。 参数: user_input: 用户输入文本
src/domain/agents/coordinator_agent.py:1822
↓ 1 callers
Method
get_context_async
获取上下文
src/domain/agents/conversation_engine.py:142
↓ 1 callers
Method
get_context_for_reasoning
Get reasoning context from host. Must be provided by concrete ConversationAgent.
src/domain/agents/conversation_agent_recovery.py:79
↓ 1 callers
Method
get_contexts_by_type
按类型获取上下文
src/domain/services/resource_lifecycle.py:215
↓ 1 callers
Method
get_critical_path
获取关键路径(最长执行路径) 返回从根到叶子的最长时间路径。
src/domain/services/log_analysis.py:185
↓ 1 callers
Method
get_current_metrics
获取当前指标
src/domain/services/supervision_strategy.py:600
↓ 1 callers
Function
get_database_connection
获取数据库连接(同步 DB-API connection)。
src/lc/tools/database_tool.py:42
← previous
next →
2,801–2,900 of 13,770, ranked by callers