Commit Graph

240 Commits (1605ab9f52f2a394969f59d4bdc9db323038d95c)

Author SHA1 Message Date
GuanMu 1605ab9f52
Merge a9f8329660 into bd43ca6275 8 months ago
Will a327d024e9
fix: improved conversation name (#22840) 8 months ago
Asuka Minato ef51678c73
orm filter -> where (#22801)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
8 months ago
-LAN- 6b544aa0b9
feat: decouple WorkflowAppRunner from AppRunner (#21739)
Signed-off-by: -LAN- <laipz8200@outlook.com>
8 months ago
qfl 841e53dbbe
feat(trace): support external trace id propagation (#22623)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
GuanMu 6d20b71e92 Merge upstream main and resolve conflicts in task pipeline and answer node tests 8 months ago
Aryan Raj ce794335e9
Fix/replace datetime patterns with naive utc now (#22654) 8 months ago
-LAN- 1f9cd99bc2
refactor: elegant event dispatch patterns (92% complexity reduction) (#22600)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
8 months ago
-LAN- 460a825ef1
refactor: decouple Node and NodeData (#22581)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
8 months ago
Maries a4ef900916
Support OAuth Integration for Plugin Tools (#22550)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
8 months ago
jiangbo721 fb5c6dd644
chore: remove unused code (#22501)
Co-authored-by: 刘江波 <jiangbo721@163.com>
8 months ago
yihong d2933c2bfe
fix: drop dead code phase2 unused class (#22042)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
8 months ago
GuanMu 2c8855f668 fix test 8 months ago
GuanMu 37b5b4ea2d remove unused code 8 months ago
GuanMu e057de53e5 fix: Filter workflow outputs, remove unnecessary "answer" field to optimize task status metadata 8 months ago
QuantumGhost 2c1ab4879f
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025)
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025)

This PR addresses serialization issues in the VariablePool model by separating the `value_type` tags for `IntegerSegment`/`FloatSegment` and `IntegerVariable`/`FloatVariable`. Previously, both Integer and Float types shared the same `SegmentType.NUMBER` tag, causing conflicts during serialization.

Key changes:
- Introduce distinct `value_type` tags for Integer and Float segments/variables
- Add `VariableUnion` and `SegmentUnion` types for proper type discrimination
- Leverage Pydantic's discriminated union feature for seamless serialization/deserialization
- Enable accurate serialization of data structures containing these types

Closes #22024.
8 months ago
GuanMu 3b70c408f9 Merge upstream/main - resolved conflicts in answer_node.py
- Combined output variables functionality with upstream ArrayFileSegment changes
- Maintained both features: custom outputs and proper file handling
8 months ago
-LAN- 6eb155ae69
feat(api/repo): Allow to config repository implementation (#21458)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
9 months ago
NeatGuyCoding ebc4fdc4b2
moving the `MessageStatus` class from the `models.model` module to `models.enums` module (#21867)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
9 months ago
jiangbo721 e17b33e004
chore: add message status enum (#21825)
Co-authored-by: 刘江波 <jiangbo721@163.com>
9 months ago
QuantumGhost 89250a36b7
fix(api): files not returned in the answer node (#21807) 9 months ago
QuantumGhost c2e599cd85
fix(api): Fix resetting sys var causing internal server error (#21604)
and sorts draft variables by their creation time, ensures a consist order.
9 months ago
jiangbo721 71d6cf1b1d
fix: Make the latency and logs of web applications consistent. (#21578)
Co-authored-by: 刘江波 <jiangbo721@163.com>
9 months ago
Qiang Lee cf2173644e
Release db.session connection before workflow new thread long time operation (#21726)
Co-authored-by: 李强04 <liqiang04@gaotu.cn>
9 months ago
jiangbo721 cefb8e4218
chore: Simplify code logic (#21496)
Co-authored-by: 刘江波 <jiangbo721@163.com>
9 months ago
QuantumGhost 10b738a296
feat: Persist Variables for Enhanced Debugging Workflow (#20699)
This pull request introduces a feature aimed at improving the debugging experience during workflow editing. With the addition of variable persistence, the system will automatically retain the output variables from previously executed nodes. These persisted variables can then be reused when debugging subsequent nodes, eliminating the need for repetitive manual input.

By streamlining this aspect of the workflow, the feature minimizes user errors and significantly reduces debugging effort, offering a smoother and more efficient experience.

Key highlights of this change:

- Automatic persistence of output variables for executed nodes.
- Reuse of persisted variables to simplify input steps for nodes requiring them (e.g., `code`, `template`, `variable_assigner`).
- Enhanced debugging experience with reduced friction.

Closes #19735.
9 months ago
湛露先生 8331b63baa
add func args missing in apps chat. (#21085)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
9 months ago
湛露先生 6d033d4064
clean duplicate validate for dataset_configs (#20775)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
9 months ago
-LAN- 0dcacdf83d
feat: add a flask_context_manager. (#21061)
Signed-off-by: -LAN- <laipz8200@outlook.com>
9 months ago
GuanMu 0a1e81b018
Merge branch 'langgenius:main' into add-message-extra-data 10 months ago
Takuya Ono af83120832
🐛 Fix(Gemini LLM): Support Gemini 0.2.x plugin on agent app (#20794)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
10 months ago
GuanMu d6240204cf fix: style 10 months ago
GuanMu 314013aa33 update sytle 10 months ago
GuanMu 81ff539253 update style 10 months ago
GuanMu 44d13d60dd fix: refine output retrieval from task state metadata in advanced chat pipeline 10 months ago
GuanMu fca91d1024 fix: update output handling in task state metadata and remove debug print statements 10 months ago
GuanMu 4f9879d2dd fix: remove debug print statements in generate_task_pipeline 10 months ago
GuanMu b20aa20ac5 fix: remove debug print statements in generate_task_pipeline 10 months ago
GuanMu e36b6e2f26 feat: enhance task state management and output handling in advanced chat pipeline 10 months ago
GuanMu cf4fd0ecb4 feat: enhance answer node functionality and output handling
- Updated `AnswerNode` to include dynamic output variable handling.
- Modified `AnswerStreamProcessor` to manage output states and ensure proper event processing.
- Added `outputs` field to relevant components and TypeScript types for better integration.
- Improved logging for debugging purposes in task pipeline and answer stream processing.
10 months ago
GuanMu ecadfd3387
Merge branch 'langgenius:main' into add-message-extra-data 10 months ago
GuanMu a36533a5ec feat: add outputs field to message model and enhance advanced chat task pipeline
- Introduced `outputs` field in the Message model to store output data.
- Updated `generate_task_pipeline.py` to handle and print outputs during task processing.
- Enhanced the answer node components to utilize the new outputs field, including filtering and displaying output variables.
- Added necessary adjustments in the TypeScript types for better integration with the new outputs functionality.
10 months ago
-LAN- 257bf13fef
refactor: Removes unused LLMMode value_of method (#20575)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
-LAN- a6ea15e63c
Refactor/message cycle manage and knowledge retrieval (#20460)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
-LAN- db488bef51
refactor(api/core/workflow/enums): Rename WORKFLOW_RUN_ID to WORKFLOW_EXECUTION_ID (#20459)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
-LAN- f7fb10635f
refactor(workflow): Rename workflow node execution models (#20458)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
-LAN- 32e779eef3
refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey (#20457)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
-LAN- 482e50aae9
Refactor/remove db from cycle manager (#20455)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
Novice b2ab401279
chore: remove agent turn limits (#19930) 10 months ago
-LAN- eaaf551497
fix: Instance <Account> is not bound to a Session (#20347)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago