Skip to content

Commit 439c819

Browse files
c121914yuyangchuanshengnewfish-cmyk
authored
4.8 preview (labring#1288)
* Revert "lafAccount add pat & re request when token invalid (labring#76)" (labring#77) This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be. * perf: workflow ux * system config * Newflow (labring#89) * docs: Add doc for Xinference (labring#1266) Signed-off-by: Carson Yang <[email protected]> * Revert "lafAccount add pat & re request when token invalid (labring#76)" (labring#77) This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be. * perf: workflow ux * system config * Revert "lafAccount add pat & re request when token invalid (labring#76)" (labring#77) This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be. * Revert "lafAccount add pat & re request when token invalid (labring#76)" (labring#77) This reverts commit 83d85dfe37adcaef4833385ea52ee79fd84720be. * Revert "lafAccount add pat & re request when token invalid (labring#76)" (labring#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 (labring#81) * change plugin input type * plugin label mode * perf: nodecard * debug * perf: debug ui * connection ui * change workflow ui (labring#82) * feat: workflow debug * adapt openAPI for new workflow (labring#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 (labring#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 (labring#86) * perf: worker * if else node * perf: tiktoken worker * fix: ts * perf: tiktoken * fix if-else node (labring#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 (labring#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 (labring#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]>
1 parent b08d81f commit 439c819

File tree

505 files changed

+23420
-18065
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

505 files changed

+23420
-18065
lines changed

Dockerfile

+5-16
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,6 @@ RUN [ -f pnpm-lock.yaml ] || (echo "Lockfile not found." && exit 1)
1919

2020
RUN pnpm i
2121

22-
# --------- install dependence -----------
23-
FROM node:18.17-alpine AS workerDeps
24-
WORKDIR /app
25-
26-
ARG proxy
27-
28-
RUN [ -z "$proxy" ] || sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
29-
RUN apk add --no-cache libc6-compat && npm install -g [email protected]
30-
# if proxy exists, set proxy
31-
RUN [ -z "$proxy" ] || pnpm config set registry https://registry.npmmirror.com
32-
33-
COPY ./worker /app/worker
34-
RUN cd /app/worker && pnpm i --production --ignore-workspace
35-
3622
# --------- builder -----------
3723
FROM node:18.17-alpine AS builder
3824
WORKDIR /app
@@ -72,12 +58,15 @@ COPY --from=builder /app/projects/$name/public /app/projects/$name/public
7258
COPY --from=builder /app/projects/$name/next.config.js /app/projects/$name/next.config.js
7359
COPY --from=builder --chown=nextjs:nodejs /app/projects/$name/.next/standalone /app/
7460
COPY --from=builder --chown=nextjs:nodejs /app/projects/$name/.next/static /app/projects/$name/.next/static
61+
# copy server chunks
62+
COPY --from=builder --chown=nextjs:nodejs /app/projects/$name/.next/server/chunks /app/projects/$name/.next/server/chunks
63+
# copy worker
64+
COPY --from=builder --chown=nextjs:nodejs /app/projects/$name/.next/server/worker /app/projects/$name/.next/server/worker
7565
# copy package.json to version file
7666
COPY --from=builder /app/projects/$name/package.json ./package.json
77-
# copy woker
78-
COPY --from=workerDeps /app/worker /app/worker
7967
# copy config
8068
COPY ./projects/$name/data /app/data
69+
8170
RUN chown -R nextjs:nodejs /app/data
8271

8372
ENV NODE_ENV production
110 KB
Binary file not shown.
-100 KB
Binary file not shown.
181 KB
Binary file not shown.
-160 KB
Binary file not shown.
185 KB
Binary file not shown.
-156 KB
Binary file not shown.
184 KB
Binary file not shown.
-155 KB
Binary file not shown.
205 KB
145 KB
-51.3 KB
Binary file not shown.
-36.4 KB
Binary file not shown.
-58 KB
Binary file not shown.

docSite/assets/imgs/demo-dalle1.png

-125 KB
Binary file not shown.

docSite/assets/imgs/demo-dalle1.webp

105 KB
Binary file not shown.

docSite/assets/imgs/demo-dalle2.webp

19.3 KB
Binary file not shown.
182 KB
-118 KB
Binary file not shown.
188 KB
-163 KB
Binary file not shown.
-216 KB
Binary file not shown.
179 KB
Binary file not shown.
130 Bytes
Binary file not shown.
-61.6 KB
Binary file not shown.
-198 KB
Binary file not shown.
132 KB
Binary file not shown.
-200 KB
Binary file not shown.
114 KB
Binary file not shown.
-263 KB
Binary file not shown.
114 KB
Binary file not shown.
-31.8 KB
Binary file not shown.
-12.4 KB
Binary file not shown.
-41 KB
Binary file not shown.
-39.8 KB
Binary file not shown.
-25.8 KB
Binary file not shown.
-33.5 KB
Binary file not shown.
-19.5 KB
Binary file not shown.

docSite/content/docs/development/faq.md

+2-2

docSite/content/docs/development/openapi/share.md

+1-1

0 commit comments

Comments
 (0)