Commit Graph

5802 Commits (8bc1512fa11a18cd50caa23da760e7fc2a28b59e)
 

Author SHA1 Message Date
湛露先生 c457e2b67a
clean docker compose env. (#19301)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
12 months ago
AichiB7A c4c20f6ed5
[Observability] Update counter to include http method and target (#19297)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
12 months ago
-LAN- f23cf98317
refactor: Remove RepositoryFactory (#19176)
Signed-off-by: -LAN- <laipz8200@outlook.com>
12 months ago
zxhlyh a6827493f0
chore: slice workflow refresh draft hook (#19292) 12 months ago
QuantumGhost 9565fe9b1b
fix(api): fix alembic offline mode (#19285)
Alembic's offline mode generates SQL from SQLAlchemy migration operations,
providing developers with a clear view of database schema changes without
requiring an active database connection.

However, some migration versions (specifically bbadea11becb and d7999dfa4aae)
were performing database schema introspection, which fails in offline mode
since it requires an actual database connection.

This commit:
- Adds offline mode support by detecting context.is_offline_mode()
- Skips introspection steps when in offline mode
- Adds warning messages in SQL output to inform users that assumptions were made
- Prompts users to review the generated SQL for accuracy

These changes ensure migrations work consistently in both online and offline modes.

Close #19284.
12 months ago
Rajhans Jadhao 8de24bc16e
chore: enhance dev script robustness by determining the script directory (#19209) 12 months ago
AllenWriter 3ecc1e0228
Fix: update docs link (#19278) 12 months ago
NFish afe6dc84eb Merge branch 'fix/add-system-feature-validate' into e-300 12 months ago
NFish d6652beb62 fix: disabled web app access control if systemFeatures.webapp_auth.enabled is false 12 months ago
NFish 2ec5007ba2 Merge branch 'fix/upgrade-bug-fix' into e-300 12 months ago
NFish a41b194d4d Merge branch 'fix/invite-modal-style' into e-300 12 months ago
NFish 99261c5010 fix: invite modal style error 12 months ago
NFish b30308e85b fix: migrating web app access control features 12 months ago
步浪 1abf00e443
Fix doc bug workflow (#19269)
Co-authored-by: liuwangwang <liuwangwang@hikvision.com.cn>
12 months ago
NFish 17d6dd6193 fix: reopen switch to 'workflow orchestrate' menu in app detail page 12 months ago
NFish 7237c467ce fix: reopen switch to 'workflow orchestrate' menu in app detail page 12 months ago
Jim 6c515ef47f
fix(web): add workspace selector overflow auto (#19265)
Co-authored-by: JMY <jiangmingyao@gf.com.cn>
12 months ago
Good Wood 0b44791eae
feat: add mode for /info api (#19264) 12 months ago
Novice 0cfc82d731
fix(structured-output): reasoning model's json format parsing (#19261) 12 months ago
KVOJJJin b78846078c
Fix: hide view chat setting button when no inputs form (#19263) 12 months ago
Bowen Liang 8537abfff8
chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions (#19224) 12 months ago
KVOJJJin 4b77c9df9d
Fix: optional input in batch run (#19257) 12 months ago
NFish ddb3e32c1a fix: disable items in publish dropdown menu panel if web app access not set 12 months ago
GeorgeCaoJ b979a8a707
feat: sort variables in the selector by x axis for most recent order (#19243) 12 months ago
crazywoola 9231c197a5
fix: s.filter is not a function (#19250) 12 months ago
NFish 0301bd3ac1 Merge branch 'main' into e-300 12 months ago
Yeuoly 8ac3a223a8
fix(api): add missing INNER_API_KEY to InnerAPIConfig (#19166) 12 months ago
NFish 27daeefe98 Merge branch 'fix/console-page-error' into e-300 12 months ago
allenZhang 5a6f20d575
Optimize the event handling and rendering logic of the component picker (#19232) 12 months ago
kenwoodjw c5568f756f
fix basic auth if not base64 encode (#19242)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
12 months ago
Bowen Liang 22f5af9987
fix: support non-ascii charactors in filename of the tool files (#19228) 12 months ago
Bowen Liang e352ab2bdd
chore: required pip and performance improvment in mypy checks (#19225) 12 months ago
Abdullah AlOsaimi bbf513a2cd
Fix appURL construction when basePath is empty (#19234) 12 months ago
Hao Cheng 9bcf837f17
fix: use only supported operators in metadata filter system prompts (#19195) 12 months ago
Will a212a63e6a
fix: time type metadata filtering error (#19192) 12 months ago
Bowen Liang e2cae42115
chore: bump celery from 5.4 to 5.5 (#19190) 12 months ago
诗浓 50fa0d1512
feat: Plugin page related document supports multiple languages (#19197) 12 months ago
Hao Cheng bb1d1dc263
fix: fix API tool integration test (#19187) 12 months ago
非法操作 1ca6dbcdc8
fix: file name incorrect when download file (#19183) 12 months ago
NFish 087ccf2cc1 fix: hide doc and support menu in enterprise edition 12 months ago
QuantumGhost 349c3cf7b8
feat(api): Add image multimodal support for LLMNode (#17372)
Enhance `LLMNode` with multimodal capability, introducing support for
image outputs.

This implementation extracts base64-encoded images from LLM responses,
saves them to the storage service, and records the file metadata in the
`ToolFile` table. In conversations, these images are rendered as
markdown-based inline images.
Additionally, the images are included in the LLMNode's output as
file variables, enabling subsequent nodes in the workflow to utilize them.

To integrate file outputs into workflows, adjustments to the frontend code
are necessary.

For multimodal output functionality, updates to related model configurations
are required. Currently, this capability has been applied exclusively to
Google's Gemini models.

Close #15814.

Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
12 months ago
Junjie.M 6c9a9d344a
fix: mouse scrolling zooming can not function anymore (#19160) 12 months ago
NFish e7161a9bb5 Merge branch 'fix/console-page-error' into e-300 12 months ago
NFish 6de5172a7d fix: import systemFeatures from useGlobalPublicStore 12 months ago
NFish 36394a4374 fix: console page show error if click app card 12 months ago
NFish 96ff86a627 fix: console page show error if click app card 12 months ago
yihong f8e5341ac0
ci: add diff to lint ci (#17874)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
12 months ago
Bowen Liang 12c96b93d9
immediately return initialed tiktokenizer instance and remove dead code in usage of tiktokenizer (#17957) 12 months ago
-LAN- bcc95e520b
feat: support remove first and remove last in variable assigner (#19144)
Signed-off-by: -LAN- <laipz8200@outlook.com>
12 months ago
Will 69b43a955f
fix: inconsistent case expression in _process_metadata_filter_func (#19146) 12 months ago