-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #669 from RockChinQ/feat/asyncio
Refactor: 异步架构
- Loading branch information
Showing
246 changed files
with
7,303 additions
and
8,765 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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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 |
---|---|---|
|
@@ -33,3 +33,5 @@ bard.json | |
!/docker-compose.yaml | ||
res/instance_id.json | ||
.DS_Store | ||
/data | ||
botpy.log |
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,15 +1,8 @@ | ||
FROM python:3.10.13-bullseye | ||
WORKDIR /QChatGPT | ||
FROM python:3.10.13-slim | ||
WORKDIR /app | ||
|
||
COPY . /QChatGPT/ | ||
COPY . . | ||
|
||
RUN ls | ||
|
||
RUN python -m pip install -r requirements.txt && \ | ||
python -m pip install -U websockets==10.0 && \ | ||
python -m pip install -U httpcore httpx openai | ||
|
||
# 生成配置文件 | ||
RUN python main.py | ||
RUN python -m pip install -r requirements.txt | ||
|
||
CMD [ "python", "main.py" ] |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.