Commit Graph

270 Commits (fdf08fc0865dedac89e98f134bc358453a96087e)

Author SHA1 Message Date
Asuka Minato fdf08fc086
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato b24f19db6c
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato 49fcdd6c4d
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato fab4d74c39
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato 41ec3357b8
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato a4ccd72170
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato e1d6ee6ce9
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato 4c74969d24
Update api/models/model.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato 1182a72966
Update api/models/account.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato 93446506e6
Update api/models/account.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato 3900352101
Update api/models/account.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato 5f9756849a
Update api/models/account.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato 5bad1bdf00
Update api/models/account.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato bfa62a5cd6
Update api/models/account.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato d39776c0c9
Merge branch 'main' into mapped_column 8 months ago
Asuka Minato eeef2f0cdf
Update api/models/model.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
Asuka Minato 07a2b4a1f7
Update api/models/model.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
8 months ago
znn 19c09d6111
enabling vector index prefix name via configuration files (#22661) 8 months ago
Aryan Raj ce794335e9
Fix/replace datetime patterns with naive utc now (#22654) 8 months ago
Asuka Minato 42a28fa3aa fix type 8 months ago
Asuka Minato bb29bf9042 well, fix a hidden bug 8 months ago
Asuka Minato e2963d342d fix more typing 8 months ago
Asuka Minato e66325d309 ignore more 8 months ago
Asuka Minato 3387dc1695 # type: ignore 8 months ago
Asuka Minato bdfad1e8a3 fmt 8 months ago
Asuka Minato aa0538874b ??? 8 months ago
Asuka Minato d4ed7d05d0 remove more 8 months ago
Asuka Minato 74cdf050cb fmt 8 months ago
Asuka Minato 79741fa8a4 apply exact Python types as needed using Mapped 8 months ago
Asuka Minato 9d28f9b865 one more 8 months ago
Asuka Minato 5fda800d09 db.Column -> mapped_column 8 months ago
-LAN- 1715dd4320
refactor: Fix some type error (#22594)
Signed-off-by: -LAN- <laipz8200@outlook.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
yihong d2933c2bfe
fix: drop dead code phase2 unused class (#22042)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
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
-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>
8 months ago
Novice 535fff62f3
feat: add MCP support (#20716)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
9 months ago
-LAN- 4cb50f1809
feat(libs): Introduce `extract_tenant_id` (#22086)
Signed-off-by: -LAN- <laipz8200@outlook.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
YoungLH b8b9c3a783
fix: set the func.coalesce() second paramter default value #21239 (#21240)
Signed-off-by: YoungLH <974840768@qq.com>
9 months ago
Qiang Lee 9ded6f6a40
[fix] #21678 User input of remote file link on the run page form causes conversation/message interface error (#21683)
Co-authored-by: 李强04 <liqiang04@gaotu.cn>
9 months ago
jiangbo721 90aba77471
chore: remove unused code (#21497)
Co-authored-by: 刘江波 <jiangbo721@163.com>
9 months ago
-LAN- 8f15341f1e
fix(event_handlers): DB dead lock (#21468)
Signed-off-by: -LAN- <laipz8200@outlook.com>
9 months ago
jiangbo721 9de552cb42
fix: first message query error (#21444)
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
-LAN- 6b1ad634f1
fix(workflow_run): sequence_number race. (#21228)
Signed-off-by: -LAN- <laipz8200@outlook.com>
9 months ago
Xin Zhang 30cfc9c172
Feat/plugin install scope management (#19963) 9 months ago
QuantumGhost 930c4cb609
feat(api): Adjust `WorkflowDraftVariable` and `WorkflowNodeExecutionModel` (#20746)
- Add `node_execution_id` column to `WorkflowDraftVariable`, allowing efficient implementation of 
  the "Reset to last run value" feature.
- Add additional index for `WorkflowNodeExecutionModel` to improve the performance of last run lookup.

Closes #20745.
10 months ago
-LAN- 5ccfb1f4ba
refactor: Improve model status handling and structured output (#20586)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago