-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Revert "lafAccount add pat & re request when token invalid (#76)" (#77) This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be. * perf: workflow ux * system config * Newflow (#89) * docs: Add doc for Xinference (#1266) Signed-off-by: Carson Yang <[email protected]> * Revert "lafAccount add pat & re request when token invalid (#76)" (#77) This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be. * perf: workflow ux * system config * Revert "lafAccount add pat & re request when token invalid (#76)" (#77) This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be. * Revert "lafAccount add pat & re request when token invalid (#76)" (#77) This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be. * Revert "lafAccount add pat & re request when token invalid (#76)" (#77) This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be. * rename code * move code * update flow * input type selector * perf: workflow runtime * feat: node adapt newflow * feat: adapt plugin * feat: 360 connection * check workflow * perf: flow 性能 * change plugin input type (#81) * change plugin input type * plugin label mode * perf: nodecard * debug * perf: debug ui * connection ui * change workflow ui (#82) * feat: workflow debug * adapt openAPI for new workflow (#83) * adapt openAPI for new workflow * i18n * perf: plugin debug * plugin input ui * delete * perf: global variable select * fix rebase * perf: workflow performance * feat: input render type icon * input icon * adapt flow (#84) * adapt newflow * temp * temp * fix * feat: app schedule trigger * feat: app schedule trigger * perf: schedule ui * feat: ioslatevm run js code * perf: workflow varialbe table ui * feat: adapt simple mode * feat: adapt input params * output * feat: adapt tamplate * fix: ts * add if-else module (#86) * perf: worker * if else node * perf: tiktoken worker * fix: ts * perf: tiktoken * fix if-else node (#87) * fix if-else node * type * fix * perf: audio render * perf: Parallel worker * log * perf: if else node * adapt plugin * prompt * perf: reference ui * reference ui * handle ux * template ui and plugin tool * adapt v1 workflow * adapt v1 workflow completions * perf: time variables * feat: workflow keyboard shortcuts * adapt v1 workflow * update workflow example doc (#88) * fix: simple mode select tool --------- Signed-off-by: Carson Yang <[email protected]> Co-authored-by: Carson Yang <[email protected]> Co-authored-by: heheer <[email protected]> * doc * perf: extract node * extra node field * update plugin version * doc * variable * change doc & fix prompt editor (#90) * fold workflow code * value type label --------- Signed-off-by: Carson Yang <[email protected]> Co-authored-by: Carson Yang <[email protected]> Co-authored-by: heheer <[email protected]>
- Loading branch information
1 parent
b08d81f
commit 439c819
Showing
505 changed files
with
23,420 additions
and
18,065 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,20 +19,6 @@ RUN [ -f pnpm-lock.yaml ] || (echo "Lockfile not found." && exit 1) | |
|
||
RUN pnpm i | ||
|
||
# --------- install dependence ----------- | ||
FROM node:18.17-alpine AS workerDeps | ||
WORKDIR /app | ||
|
||
ARG proxy | ||
|
||
RUN [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories | ||
RUN apk add --no-cache libc6-compat && npm install -g [email protected] | ||
# if proxy exists, set proxy | ||
RUN [ -z "$proxy" ] || pnpm config set registry https://registry.npmmirror.com | ||
|
||
COPY ./worker /app/worker | ||
RUN cd /app/worker && pnpm i --production --ignore-workspace | ||
|
||
# --------- builder ----------- | ||
FROM node:18.17-alpine AS builder | ||
WORKDIR /app | ||
|
@@ -72,12 +58,15 @@ COPY --from=builder /app/projects/$name/public /app/projects/$name/public | |
COPY --from=builder /app/projects/$name/next.config.js /app/projects/$name/next.config.js | ||
COPY --from=builder --chown=nextjs:nodejs /app/projects/$name/.next/standalone /app/ | ||
COPY --from=builder --chown=nextjs:nodejs /app/projects/$name/.next/static /app/projects/$name/.next/static | ||
# copy server chunks | ||
COPY --from=builder --chown=nextjs:nodejs /app/projects/$name/.next/server/chunks /app/projects/$name/.next/server/chunks | ||
# copy worker | ||
COPY --from=builder --chown=nextjs:nodejs /app/projects/$name/.next/server/worker /app/projects/$name/.next/server/worker | ||
# copy package.json to version file | ||
COPY --from=builder /app/projects/$name/package.json ./package.json | ||
# copy woker | ||
COPY --from=workerDeps /app/worker /app/worker | ||
# copy config | ||
COPY ./projects/$name/data /app/data | ||
|
||
RUN chown -R nextjs:nodejs /app/data | ||
|
||
ENV NODE_ENV production | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: 'V4.8(进行中)' | ||
description: 'FastGPT V4.8 更新说明' | ||
icon: 'upgrade' | ||
draft: false | ||
toc: true | ||
weight: 824 | ||
--- | ||
|
||
## 新工作流 | ||
|
||
FastGPT workflow V2上线,支持更加简洁的工作流模式。 | ||
|
||
**由于工作流差异较大,需要手动重新构建。** | ||
|
||
给应用和插件增加了 version 的字段,用于标识是旧工作流还是新工作流。当你更新 4.8 后,保存和新建的工作流均为新版,旧版工作流会有一个重置的弹窗提示。并且,如果是通过 API 和 分享链接 调用的工作流,仍可以正常使用,直到你下次保存它们。 | ||
|
||
## V4.8 更新说明 | ||
|
||
1. 重构 - 工作流 | ||
2. 新增 - 工作流 Debug 模式,可以调试单个节点或者逐步调试工作流。 | ||
3. 新增 - 定时执行应用。可轻松实现定时任务。 | ||
4. 新增 - 插件自定义输入优化,可以渲染输入组件。 | ||
5. 优化 - 工作流连线,可以四向连接,方便构建循环工作流。 | ||
6. 优化 - worker进程管理,并将计算 Token 任务分配给 worker 进程。 |
Oops, something went wrong.