Feat/workflow#2161
Open
TyperBody wants to merge 34 commits into
Open
Conversation
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Member
Author
|
i18n问题还是存在 |
Member
咕咕咕,我吗 |
This was referenced May 23, 2026
This was referenced May 27, 2026
Member
|
recheck |
Contributor
|
All contributors have signed the CLA. ✅ 所有贡献者均已签署 CLA。 |
Member
Author
|
I have read the CLA Document and I hereby sign the CLA |
# Conflicts: # pyproject.toml # src/langbot/pkg/api/http/controller/main.py # src/langbot/pkg/core/app.py # src/langbot/pkg/core/stages/build_app.py # src/langbot/pkg/provider/modelmgr/requester.py # uv.lock # web/package-lock.json # web/package.json # web/pnpm-lock.yaml # web/src/app/home/components/dynamic-form/DynamicFormComponent.tsx # web/src/app/home/components/dynamic-form/DynamicFormItemComponent.tsx # web/src/app/home/components/home-sidebar/HomeSidebar.tsx # web/src/app/infra/entities/api/index.ts # web/src/app/infra/http/BackendClient.ts # web/src/i18n/locales/en-US.ts # web/src/i18n/locales/es-ES.ts # web/src/i18n/locales/ja-JP.ts # web/src/i18n/locales/ru-RU.ts # web/src/i18n/locales/th-TH.ts # web/src/i18n/locales/vi-VN.ts # web/src/i18n/locales/zh-Hans.ts # web/src/i18n/locales/zh-Hant.ts # web/src/router.tsx
|
|
||
| import sys | ||
| import os | ||
| import pytest |
| async def initialize(self) -> None: | ||
| # Workflow CRUD | ||
| @self.route('', methods=['GET', 'POST'], auth_type=group.AuthType.USER_TOKEN_OR_API_KEY) | ||
| async def _() -> str: |
| return target_uuid, True | ||
|
|
||
| return self.bot_entity.use_pipeline_uuid, False | ||
| execution_id = await self.ap.workflow_service.execute_workflow( |
|
|
||
| # Determine if pipeline_uuid is a workflow or a legacy pipeline by querying both services | ||
| workflow_dict = await self.ap.workflow_service.get_workflow(pipeline_uuid) | ||
| pipeline_dict = await self.ap.pipeline_service.get_pipeline(pipeline_uuid) |
| session_id = f'{session_type}_{connection.connection_id}' | ||
| logger.info(f'Processing workflow message from {session_id}: {message_content}') | ||
|
|
||
| execution_id = await self.ap.workflow_service.execute_workflow( |
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