Commit Graph

269 Commits

Author SHA1 Message Date
Archer
3ddc4917a5 perf: auto add empty response (#3113) 2024-12-11 14:53:02 +08:00
Archer
353de2f506 perf: forbid image to base64 (#3038)
* perf: forbid image to base64

* update file upload path

* feat: support promptCall use image

* fix: echarts load

* update doc
2024-12-11 14:53:02 +08:00
Archer
6e84cb5fd9 update text splitter (#3020) 2024-12-11 14:53:01 +08:00
Archer
78f44b936f perf: dataset data auth (#3015) 2024-12-11 14:53:01 +08:00
Archer
e13e21dd9c feat: reset milvus (#3013) 2024-12-11 14:53:01 +08:00
Finley Ge
6c37fbc7f1 fix/group (#3012)
* fix: app/dataset list private resource bug

* fix: auth owner
2024-12-11 14:53:00 +08:00
Archer
6932b2984c 4.8.12 test (#3006)
* perf: oneapi error tip

* fix: qps limit condition error

* perf: Plan tip

* fix: permission modal ui

* perf: dataset slider ui

* perf: api key auth tmbId problem

* perf: dataset upload i18n

* fix: http json path check
2024-12-11 14:53:00 +08:00
Finley Ge
e45fe46d1c fix: upload file (#2992)
* fix: upload file

* chore: remove wasm, support html image parse

* chore: adjust

* chore: move base64match function into htmlstr2md
2024-12-11 14:53:00 +08:00
Finley Ge
dd178399a3 fix: milvus (#3004) 2024-12-11 14:53:00 +08:00
Archer
9b7dd9a0c7 4.8.12 test (#2994)
* perf: run loop code

* doc

* fix: mulity loop node will error; loop node variables cannot inherit

* back save tip position

* fix: child workflow runtime

* stream connection
2024-12-11 14:53:00 +08:00
Archer
c6d053e050 Group role (#2993)
* feat: app/dataset support group (#2898)

* pref: member-group (#2862)

* feat: group list ordered by updateTime

* fix: transfer ownership of group when deleting member

* fix: i18n fix

* feat: can not set member as admin/owner when user is not active

* fix: GroupInfoModal hover input do not change color

* fix(fe): searchinput do not scroll

* feat: app collaborator with group, remove default permission

* feat: dataset collaborator with group, remove default permission

* chore(test): pref mock

* chore: remove useless code

* chore: adjust

* fix: add self as collaborator when creating folder

* fix(fe): folder manage menu do not show when user has write permission
only

* fix: dataset folder create

* feat: Add code comment

* Pref: app move (#2952)

* perf: app schema

* doc

---------

Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com>
2024-12-11 14:53:00 +08:00
Archer
8df886452e 4.8.12 test fix (#2988)
* perf: qps limit

* perf: http response data

* perf: json path check

* fix: ts

* loop support reference parent variable
2024-12-11 14:53:00 +08:00
heheer
eb28734a63 fix: http raw response undefined (#2981) 2024-12-11 14:53:00 +08:00
Finley Ge
1b3dccc543 feat: QPS Limit middleware (#2956)
* feat: QPS Limit middleware

* chore: use request-ip to get client ip

* feat: frequencyLimit schema
2024-12-11 14:53:00 +08:00
Archer
ab08fc80d3 HTTP support jsonPath; System plugin support save file. (#2969)
* perf: system plugin auto save file

* feat: http support jsonPath

* fix: assistant response

* reset milvus version

* fix: textarea register

* fix: global variable

* delete tip

* doc
2024-12-11 14:53:00 +08:00
Finley Ge
036bdabe5d fix: milvus (#2968) 2024-12-11 14:53:00 +08:00
Archer
fbbfcceb08 Concat textinput to input type (#2963)
* perf: toast position

* concat textinput to input
2024-12-11 14:53:00 +08:00
Archer
d6cf1fa3ea 4.8.12 test (#2936)
* system config tip

* perf: prompt editor code

* perf: cookie tip
2024-12-11 14:52:59 +08:00
heheer
d839603d48 fix: variable label i18n & create question guide language (#2933) 2024-12-11 14:52:59 +08:00
Archer
d6cf5470be 4.8.12 dev (#2928)
* perf: optimize global variables (#2863)

* feat: add global variable types

* add global variables to debug

* fix select dnd

* unify InputTypeConfig params

* feat: http node url support variables (#2891)

* feat: http node url support variables

* change to prompt editor

* fix: global variables (#2892)

* fix global variables

* fix type

* perf: global variables

* perf: workflow delete node error (#2905)

* update lock

* update 4812 doc

* feat: add node course url config (#2897)

* feat: add node course url config

* change plugin course url

* change default doc url

* change url store

* delete unused code

* fix: global variable (#2915)

* fix: global variable

* add comment

* fix: interactive check

* locj

* perf: debug switch to global tab when click run & global var default reset (#2925)

* fix: tool course url

* fix: global var default value & wrap variable form (#2926)

* fix: add dataset tags not update render (#2927)

* feat: tool will save histories

* perf: global variables code

* perf: FE_DOMAIN config

---------

Co-authored-by: heheer <heheer@sealos.io>
2024-12-11 14:52:59 +08:00
Archer
efa998664e Tool call support interactive node (#2903)
* feat: tool call support interactive node

* feat: interactive node tool response

* fix: tool call concat

* fix: llm history concat
2024-12-11 14:52:59 +08:00
Zhenyi-Wang
b0a364c31b feat: remove style tag when fetching url (#2913)
Co-authored-by: zhenyiwang <zhenyiwang@intl.zju.edu.cn>
2024-12-11 14:52:59 +08:00
Archer
9a621583c4 Doc (#2910)
* feat: add app chat openapi (#2908)

* add chat openapi

* create question guide openapi

* change auth method

* add chat openapi doc

* delete unused code

* feat: chat openapi doc

* rerank doc

* add chat detail openapi & doc

* update chat openapi doc

---------

Co-authored-by: heheer <heheer@sealos.io>
Co-authored-by: heheer <1239331448@qq.com>
2024-12-11 14:52:59 +08:00
Finley Ge
9bce721428 fix: resource permission indexes (#2890) 2024-10-12 15:23:00 +08:00
Archer
7e80007d72 fix: dataset data list api adapt (#2878)
* fix: dataset data list api adapt

* update doc version

* perf: fedomain env

* add fedomain env
2024-10-12 15:23:00 +08:00
Archer
4d6809e483 fix: file extension check (#2876) 2024-10-12 15:23:00 +08:00
Archer
942d56b33d IOS safari whisper support (#2870)
* fix: variables check

* remove log

* perf: safari whisper

* feat: comment

* perf: connetion check

* doc
2024-10-12 15:23:00 +08:00
heheer
b6e74b6928 fix: form-data not display in http node log (#2868)
* fix: fix form-data not display in http node log

* fix
2024-10-12 15:23:00 +08:00
Archer
afc9009a41 Team group (#2864)
* feat(member-group): Team (#2616)

* feat: member-group schema define

* feat(fe): create group

* feat: add group edit modal

* feat(fe): add avatar group component

* feat: edit group
fix: permission select menu style

* feat: bio-mode support for select-member component

* fix: avatar group key unique

* feat: group manage

* feat: divide member into group and clbs

* feat: finish team permission

* chore: adjust

* fix: get clbs

* perf: groups code

* pref: member group for team (#2706)

* chore: fe adjust
fix: remove the member from groups when removing from team
feat: change the groups avatar when updating the team's avatar

* chore: DefaultGroupName as a constant string ''

* fix: create default group when create team for root

* feat: comment

* feat: 4811 init

* pref: member group for team (#2732)

* chore: default group name

* feat: get default group when get by tmbid

* feat(fe): adjust

* member ui

* fix: delete group (#2736)

* perf: init4811

* pref: member group (#2818)

* fix: update clb per then refetch clb list

* fix: calculate group permission

* feat(fe): group tag

* refactor(fe): team and group manage

* feat: manage group member

* feat: add group transfer owner modal

* feat: group manage member

* chore: adjust the file structure

* pref: member group

* chore: adjust fe style

* fix: ts error

* chore: fe adjust

* chore: fe adjust

* chore: adjust

* chore: adjust the code

* perf: i18n and schema name

* pref: member-group (#2862)

* feat: group list ordered by updateTime

* fix: transfer ownership of group when deleting member

* fix: i18n fix

* feat: can not set member as admin/owner when user is not active

* fix: GroupInfoModal hover input do not change color

* fix(fe): searchinput do not scroll

* perf: team group ui

* doc

* remove enum

---------

Co-authored-by: Finley Ge <32237950+FinleyGe@users.noreply.github.com>
2024-10-12 15:23:00 +08:00
Archer
944ec4cce1 Optimize base64 storage in files to support concurrent storage (#2856)
* fix: variables check

* remove log

* perf: file img saved

* update doc
2024-10-12 15:23:00 +08:00
Archer
e579d3fa1f 4.8.11 test (#2843)
* feat: app version test

* update doc

* fix: paging num error

* fix: doc api domain

* rename variable

* perf: memment node min size
2024-10-12 15:23:00 +08:00
heheer
df784b7369 feat: add context menu & comment node (#2834)
* feat: add comment node

* useMemo
2024-10-12 15:23:00 +08:00
heheer
942e6c0b08 feat: add tool params node & tool params add array type (#2824)
* add tool params node

* add tool params enum

* node response

* tool add array type params

* fix tool params

* fix

* fix

* fix
2024-10-12 15:23:00 +08:00
Archer
6425249a4e 4.8.11 perf (#2832)
* save toast

* perf: surya ocr

* perf: remove same model name

* fix: indexes

* perf: ip check

* feat: Fixed the version number of the subapplication

* feat: simple app get latest child version

* perf: update child dispatch variables

* feat: variables update doc
2024-10-12 15:23:00 +08:00
heheer
bf74496945 fix:variable not update in nested workflow runs (#2830) 2024-10-12 15:23:00 +08:00
Archer
0e6877b0a1 4.8.11 fix (#2822)
* fix: tool choice hostiry error

* fix: chat page auth error redirect

* perf: ip redirect tip

* feat: fedomain env

* fix: tool desc empty

* feat: 4811 doc
2024-10-12 15:23:00 +08:00
Archer
c0227f8ddc perf: stream response (#2813)
* perf: stream response

* fold code
2024-10-12 15:23:00 +08:00
Archer
f755e76c94 4.8.11 code perf (#2804)
* perf: support child layout

* perf: user form ui

* perf: plugin tool output code

* perf: code

* perf: node fold hook
2024-10-12 15:23:00 +08:00
Zhenyi-Wang
c76bb81536 fix: 网页抓取:正确处理//开头的超链接 (#2803)
Co-authored-by: zhenyiwang <zhenyiwang@intl.zju.edu.cn>
2024-10-12 15:23:00 +08:00
papapatrick
e59ba9354f feat: support select field as tool output (#2798)
* feat: support select field as tool output

* defaultOutput
2024-10-12 15:23:00 +08:00
heheer
1144826ed5 feat: add form input node (#2773)
* add node

* dispatch

* extract InputTypeConfig component

* question tip

* fix build

* fix

* fix
2024-10-12 15:23:00 +08:00
Archer
f567e026b5 Perf ui detail (#2775)
* perf: tool response tip

* perf: image extract

* perf: user question tool desc

* fix: simple mode load app module

* perf: simple mode plugin version

* perf: share page reload

* refresh simple mode data
2024-10-12 15:22:59 +08:00
Archer
5f9479e889 Record scroll test (#2783)
* perf: history add scrollList (#2696)

* perf: chatHistorySlider add virtualList

* perf: chat records add scrollList

* delete console

* perf: ScrollData add ref props

* 优化代码

* optimize code && add line breaks

* add total records display

* finish test

* perf: ScrollComponent load data

* perf: Scroll components load

* perf: scroll code

---------

Co-authored-by: papapatrick <109422393+Patrickill@users.noreply.github.com>
2024-10-12 15:22:59 +08:00
Archer
8e0edaace1 Support simpleApp select workflow (#2772)
* fix: share page id error

* feat: simple workflow support childApp tool

* perf: aichat box animation
2024-10-12 15:22:59 +08:00
Archer
07177272b2 4.8.11 perf (#2768)
* perf: watch local

* perf: dataset list ui

* perf: Check workflow invalid edges in saved

* remove log

* perf: Forbid touch scale

* perf: rename dataset process

* feat: support child app unstream mode

* feat: Dispatch child app will record detail

* feat: Save childApp run log

* fix: share page init error

* perf: chatId reset
2024-10-12 15:22:59 +08:00
Archer
9c103ecfd2 feat: plan index;flat i18n and add variable value type (#2762)
* feat: plan index

* flat i18n and add variable value type

* fix: ts

* perf: free plan tip
2024-10-12 15:22:59 +08:00
Archer
91ce4b0166 Plugin support select file (#2756)
* feat: plugin support upload files (#2716)

* feat: plugin support file upload

* file history

* fix history & chattest

* chore: code

* plugin config icon & file preview padding

* perf: undefined fn

* fix: plugin file numbers & plugin template add config (#2743)

* perf: run plugin without human message (#2749)

* perf: run plugin without human message

* fix build

* fix build

* rename node

* perf: ui

* perf: plugin rerun with last params & plugin log add file (#2755)

* perf: plugin run with last params & plugin log add file

* delete console

* perf: plugin refresh code

* fix: ts

---------

Co-authored-by: heheer <heheer@sealos.io>
2024-10-12 15:22:59 +08:00
Archer
e8967ddd39 4.8.11 test fix (#2746)
* fix: refresh tool param

* perf: load image message

* fix: cannot remoce externalReadUrl

* perf: variables update dom

* perf: empty response tip

* fix: conflict
2024-10-12 15:22:59 +08:00
Archer
91ebc58d8c Add externalfile api params (#2745)
* feat: external dataset api

* perf: doc
2024-10-12 15:22:59 +08:00
Archer
c67257b8f2 remove code (#2735) 2024-10-12 15:22:59 +08:00