-
Notifications
You must be signed in to change notification settings - Fork 838
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
68 changed files
with
3,393 additions
and
1,431 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.git | ||
.env | ||
.DS_Store | ||
.github | ||
.vercel | ||
.wrangler | ||
dist | ||
doc | ||
node_modules | ||
plugins | ||
scripts | ||
wrangler.toml | ||
config.json |
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 |
---|---|---|
|
@@ -152,3 +152,4 @@ out | |
/wrangler-test.toml | ||
/dist/index.cjs | ||
/dist/index.d.ts | ||
/dist/src |
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 |
---|---|---|
@@ -1,16 +1,15 @@ | ||
FROM node:alpine as DEV | ||
|
||
FROM node:alpine AS build | ||
WORKDIR /app | ||
COPY package.json vite.config.ts tsconfig.json ./ | ||
COPY src ./src | ||
RUN npm install && npm run build:local | ||
COPY package.json tsconfig.json vite.config.ts ./ | ||
RUN npm install | ||
COPY src src | ||
RUN npm run build:local | ||
|
||
FROM node:alpine as PROD | ||
|
||
FROM node:alpine AS production | ||
WORKDIR /app | ||
COPY --from=DEV /app/dist/index.js /app/dist/index.js | ||
COPY --from=DEV /app/package.json /app/ | ||
RUN npm install --only=production --omit=dev | ||
RUN apk add --no-cache sqlite | ||
COPY package.json ./ | ||
RUN npm install --omit=dev | ||
COPY --from=build /app/dist ./dist | ||
EXPOSE 8787 | ||
CMD ["npm", "run", "start:dist"] | ||
CMD ["npm", "run", "start:dist"] |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
# 更新日志 | ||
|
||
- v1.10.0 | ||
- 使用 InlineKeyboards 切换模型 | ||
|
||
- v1.9.0 | ||
- 添加插件系统 | ||
|
||
|
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
# Changelog | ||
|
||
- v1.10.0 | ||
- Switching Models with InlineKeyboards | ||
|
||
- v1.9.0 | ||
- Add plugin system | ||
|
||
|
Oops, something went wrong.