Commit Graph

3683 Commits (81ff539253d116ed6df962f6c8591f812893e1bf)

Author SHA1 Message Date
GuanMu 81ff539253 update style 10 months ago
GuanMu 1d19f7f88a remove reversion 10 months ago
GuanMu 4c7e9d0dd4 fix: remove print 10 months ago
GuanMu 6bb24a938e
Merge branch 'langgenius:main' into add-message-extra-data 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
-LAN- 1e03c97663
fix(llm_node): missing parameters for structure outputs (#20915)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
湛露先生 41e3ecc837
fix remote ip header CF-Connecting-IP (#20846) 10 months ago
-LAN- acb2488fc8
chore(package): Bump version to 1.4.2 (#20897)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
Yeuoly d6d8cca053
refactor: replace compact response generation with length-prefixed response for backwards invocation api (#20903) 10 months ago
GuanMu 4f9879d2dd fix: remove debug print statements in generate_task_pipeline 10 months ago
Bowen Liang 0f3d4d0b6e
chore: bump mypy to 1.16 (#20608) 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
Jyong 21a50e22d2
fix auto metadata filter (#20845) 10 months ago
QuantumGhost c439e82038
refactor(api): Decouple `ParameterExtractorNode` from `LLMNode` (#20843)
- Extract methods used by `ParameterExtractorNode` from `LLMNode` into a separate file.
- Convert `ParameterExtractorNode` into a subclass of `BaseNode`.
- Refactor code referencing the extracted methods to ensure functionality and clarity.
- Fixes the issue that `ParameterExtractorNode` returns error when executed.
- Fix relevant test cases.

Closes #20840.
10 months ago
QuantumGhost a97ff587d2
fix(api): Resolve error encountered when executing `QuestionClassifieNode` (#20829)
The `QuestionClassifierNode` class extends `LLMNode`, meaning that, per the Liskov Substitution Principle, `QuestionClassifierNodeData` **SHOULD** be compatible in contexts where `LLMNodeData` is expected.

However, the absence of the `structured_output_enabled` attribute violates this principle, causing `QuestionClassifierNode` to fail during execution.

This commit implements a quick and temporary workaround. A proper resolution would involve refactoring to decouple `QuestionClassifierNode` from `LLMNode` to address the underlying design issue.

Fixes #20725.
10 months ago
GuanMu fb420781ab fix: reorder import statements in AnswerNodeData for consistency and clarity 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
Xiyuan Chen 0720bc7408
Feat/webapp verified sso main (#20494) 10 months ago
GuanMu 53a2bca784
Merge branch 'langgenius:main' into add-message-extra-data 10 months ago
yihong 65c7c01d90
fix: clean up two unreachable code (#20773)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
10 months ago
Bharat Ramanathan e6e76852d5
Add support for W&B dedicated cloud instances in Weave tracing integration (#20765)
Co-authored-by: crazywoola <427733928@qq.com>
10 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
jefferyvvv 37c3283450
fix: opensearch vector search falls back to keyword search (#20723)
Co-authored-by: wenjun.gu <wenjun.gu@envision-energy.com>
10 months ago
Bowen Liang c1a13fa553
chore: replace pseudo-random generators with secrets module (#20616) 10 months ago
jefferyvvv 4271602cfc
fix: opensearch metadata filtering returns empty (#20701)
Co-authored-by: wenjun.gu <wenjun.gu@envision-energy.com>
Co-authored-by: crazywoola <427733928@qq.com>
10 months ago
Bowen Liang 4f14d7c0ca
chore: bump uv to 0.7.x (#20692) 10 months ago
Yeuoly 38554c5f3e
fix(inner_api/plugin/wraps): refresh user model after creation in get user function (#20704) 10 months ago
jefferyvvv 138ad6e8b3
fix: opensearch fulltext search with metadata filtering dsl error (#20702)
Co-authored-by: wenjun.gu <wenjun.gu@envision-energy.com>
10 months ago
湛露先生 f76f70f0b6
Fix builtin_providers for tools. (#20697)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
10 months ago
HaiyangP 3fb9b41fe5
A more concise and effective extractor for excel and csv files (#20625)
Co-authored-by: haiyangpengai <xxxx>
10 months ago
Eric Guo 822298f69d
Fix 500 error (#20614) 10 months ago
Arcaner ad2f25875e
fix(llm_node): update file variable mapping to use vision configs (#20417) 10 months ago
Abdullah AlOsaimi ad8e79c440
assign dataset indexing_technique to args if not explicitly provided (#20597) 10 months ago
-LAN- 5ccfb1f4ba
refactor: Improve model status handling and structured output (#20586)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
Dongyu Li 92614765ff
Feat/queue monitor (#20647) 10 months ago
Abdullah AlOsaimi 006496f24e
raise error when process_rule is required but missing (#20599) 10 months ago
kenwoodjw 01d500db14
fix: autocorrect everything in web (#20605)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
10 months ago
Novice 4ac3600f81
fix: update app tag error (#20618) 10 months ago
GuanMu ecadfd3387
Merge branch 'langgenius:main' into add-message-extra-data 10 months ago
GuanMu df3bf8e52e style: format outputs field definition for better readability in Message model 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- 275e86a26c
refactor: Removes tenant ID check from rate limit logic (#20585)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
非法操作 ca0b268ae5
fix: variable aggregator with group and file raise exception (#20581) 10 months ago
Bowen Liang 888cd86afd
chore: prepare the plugin daemon base url to yarl URL ahead intstead of in every invocation (#20541) 10 months ago
Anshuman Saini e40e9db39a
fixes #19634 (#20545) 10 months ago
-LAN- 36f1b4b222
fix: Ensure model config integrity in retrieval processes (#20576)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
-LAN- 257bf13fef
refactor: Removes unused LLMMode value_of method (#20575)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
-LAN- 957f5b212e
fix: Upgrade Flask-Cors (#20577)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago