Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

命令管理和中间件优化处理 #1122

Open
wants to merge 144 commits into
base: browser-version-dev
Choose a base branch
from

Conversation

Haibersut
Copy link
Collaborator

新增部分命令的集中管理,中间件自动扫描导入

lss233 and others added 30 commits April 21, 2023 00:01
Bumps [edgegpt](https://github.com/acheong08/EdgeGPT) from 0.1.25.1 to 0.3.0.
- [Release notes](https://github.com/acheong08/EdgeGPT/releases)
- [Commits](acheong08/EdgeGPT@0.1.25.1...0.3.0)

---
updated-dependencies:
- dependency-name: edgegpt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [poe-api](https://github.com/ading2210/poe-api) to permit the latest version.
- [Release notes](https://github.com/ading2210/poe-api/releases)
- [Commits](https://github.com/ading2210/poe-api/commits)

---
updated-dependencies:
- dependency-name: poe-api
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [pygments](https://github.com/pygments/pygments) to permit the latest version.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.15.0...2.15.1)

---
updated-dependencies:
- dependency-name: pygments
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
增加企业微信支持
Haibersut and others added 29 commits July 12, 2023 12:30
* 修复程序开启http模式关不掉的问题

* 修复部分api错误

修复了加载预设导致engine重置为None的问题

* 不再强制检查API,新增非流API请求

* 格式化文件

* 'Refactored by Sourcery'

---------

Co-authored-by: Matt Gideon <117586514+Haibersut@users.noreply.github.com>
Co-authored-by: Sourcery AI <>
* 修复程序开启http模式关不掉的问题

* 修复部分api错误

修复了加载预设导致engine重置为None的问题

* 不再强制检查API,新增非流API请求

* 格式化文件

* 优化部分代码
* 更新edgeGPT的方式和依赖版本

* 更新适配新的EDGEGPT的流式传输
…s233#1036)

Updates the requirements on [pydantic](https://github.com/pydantic/pydantic) to permit the latest version.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v1.10.9...v2.0.2)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…s233#948)

Updates the requirements on [urllib3](https://github.com/urllib3/urllib3) to permit the latest version.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@1.26.15...2.0.3)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update api.py

* 'Refactored by Sourcery'

---------

Co-authored-by: Matt Gideon <117586514+Haibersut@users.noreply.github.com>
Co-authored-by: Sourcery AI <>
Bumps [revchatgpt](https://github.com/acheong08/ChatGPT) from 6.3.3 to 6.8.1.
- [Release notes](https://github.com/acheong08/ChatGPT/releases)
- [Commits](acheong08/ChatGPT@6.3.3...6.8.1)

---
updated-dependencies:
- dependency-name: revchatgpt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…233#1061)

Updates the requirements on [poe-api](https://github.com/ading2210/poe-api) to permit the latest version.
- [Commits](https://github.com/ading2210/poe-api/commits)

---
updated-dependencies:
- dependency-name: poe-api
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…s233#1076)

Updates the requirements on [poe-api](https://github.com/ading2210/poe-api) to permit the latest version.
- [Commits](https://github.com/ading2210/poe-api/commits)

---
updated-dependencies:
- dependency-name: poe-api
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fix ModuleNotFoundError: No module named 'utils'
更新api模型清单以支持第三方网站提供的额外模型
* 修复部分情况下上游返回正常的空消息导致程序错误

* 修复程序出错后仍然计时的问题
* Fit newest POE

* Fit newest POE

* Fix name

* Fit newest poe

* Update poe to newest fix some error

* Fix name error
…ss233#1063)

Updates the requirements on [httpcore](https://github.com/encode/httpcore) to permit the latest version.
- [Release notes](https://github.com/encode/httpcore/releases)
- [Changelog](https://github.com/encode/httpcore/blob/master/CHANGELOG.md)
- [Commits](encode/httpcore@0.17.2...0.17.3)

---
updated-dependencies:
- dependency-name: httpcore
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…3#1060)

Updates the requirements on [tinydb](https://github.com/msiemens/tinydb) to permit the latest version.
- [Release notes](https://github.com/msiemens/tinydb/releases)
- [Changelog](https://github.com/msiemens/tinydb/blob/master/docs/changelog.rst)
- [Commits](msiemens/tinydb@v4.7.1...v4.8.0)

---
updated-dependencies:
- dependency-name: tinydb
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot) from 20.3 to 20.4.
- [Release notes](https://github.com/python-telegram-bot/python-telegram-bot/releases)
- [Changelog](https://github.com/python-telegram-bot/python-telegram-bot/blob/master/CHANGES.rst)
- [Commits](python-telegram-bot/python-telegram-bot@v20.3...v20.4)

---
updated-dependencies:
- dependency-name: python-telegram-bot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…33#1084)

Updates the requirements on [urllib3](https://github.com/urllib3/urllib3) to permit the latest version.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.0.3...2.0.4)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…33#1085)

Updates the requirements on [aiohttp](https://github.com/aio-libs/aiohttp) to permit the latest version.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/v3.8.5/CHANGES.rst)
- [Commits](aio-libs/aiohttp@v3.8.4...v3.8.5)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.