Feat/workflow#2161
Open
TyperBody wants to merge 22 commits into
Open
Conversation
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Member
Author
|
i18n问题还是存在 |
Member
咕咕咕,我吗 |
Member
Author
|
靠 ai翻译i18n的杂鱼文件上传上去了 |
| async def initialize(self) -> None: | ||
| # Workflow CRUD | ||
| @self.route('', methods=['GET', 'POST'], auth_type=group.AuthType.USER_TOKEN_OR_API_KEY) | ||
| async def _() -> str: |
| @self.route( | ||
| '/<workflow_uuid>', methods=['GET', 'PUT', 'DELETE'], auth_type=group.AuthType.USER_TOKEN_OR_API_KEY | ||
| ) | ||
| async def _(workflow_uuid: str) -> str: |
| @self.route( | ||
| '/<workflow_uuid>/extensions', methods=['GET', 'PUT'], auth_type=group.AuthType.USER_TOKEN_OR_API_KEY | ||
| ) | ||
| async def _(workflow_uuid: str) -> str: |
| setSaving, | ||
| setLoading, | ||
| reset, | ||
| nodeTypes, |
| 'WorkflowNode', | ||
| 'workflow_node', | ||
| # Registry | ||
| 'NodeTypeRegistry', |
| # Registry | ||
| 'NodeTypeRegistry', | ||
| # Executor | ||
| 'WorkflowExecutor', |
| # Executor | ||
| 'WorkflowExecutor', | ||
| # Debug | ||
| 'DebugWorkflowExecutor', |
| 'WorkflowExecutor', | ||
| # Debug | ||
| 'DebugWorkflowExecutor', | ||
| 'DebugExecutionState', |
| # Debug | ||
| 'DebugWorkflowExecutor', | ||
| 'DebugExecutionState', | ||
| 'ExecutionLog', |
Comment on lines
+14
to
+23
| from langbot_plugin.api.entities.builtin.workflow import ( | ||
| ExecutionContext, | ||
| ExecutionStep, | ||
| ExecutionStatus, | ||
| MessageContext, | ||
| NodeDefinition, | ||
| NodeState, | ||
| NodeStatus, | ||
| PortDefinition, | ||
| ) |
|
|
||
| from __future__ import annotations | ||
|
|
||
| from typing import Any, Optional |
This was referenced May 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述 / Overview
本次 PR 将原有基于 流水线 + 正则路由 的消息处理机制,替换为基于 工作流节点编排 的实现方式。
This PR replaces the original message processing mechanism based on pipeline + regex routing with an implementation based on workflow node orchestration.
主要改进 / Main improvements:
interaction:code_bot作为交互入口 / Useinteraction:code_botas the interaction entry更改前后对比截图 / Screenshots
检查清单 / Checklist
PR 作者完成 / For PR author
请在方括号间写
x以打勾 / Please tick the box withx项目维护者完成 / For project maintainer