Commit Graph
100 Commits
Author SHA1 Message Date
bdd46c5dd1 Version 3.74: Merge latest updates on dev branch (frontier) (#1621)
* Update version to 3.74

* Add support for Yi Model API (#1635)

* 更新以支持零一万物模型

* 删除newbing

* 修改config

---------

Co-authored-by: binary-husky <[email protected]>

* Refactor function signatures in bridge files

* fix qwen api change

* rename and ref functions

* rename and move some cookie functions

* 增加haiku模型,新增endpoint配置说明 (#1626)

* haiku added

* 新增haiku,新增endpoint配置说明

* Haiku added

* 将说明同步至最新Endpoint

---------

Co-authored-by: binary-husky <[email protected]>

* private_upload目录下进行文件鉴权 (#1596)

* private_upload目录下进行文件鉴权

* minor fastapi adjustment

* Add logging functionality to enable saving
conversation records

* waiting to fix username retrieve

* support 2rd web path

* allow accessing default user dir

---------

Co-authored-by: binary-husky <[email protected]>

* remove yaml deps

* fix favicon

* fix abs path auth problem

* forget to write a return

* add `dashscope` to deps

* fix GHSA-v9q9-xj86-953p

* 用户名重叠越权访问patch (#1681)

* add cohere model api access

* cohere + can_multi_thread

* fix block user access(fail)

* fix fastapi bug

* change cohere api endpoint

* explain version

---------

Co-authored-by: Menghuan1918 <[email protected]>
Co-authored-by: Skyzayre <[email protected]>
Co-authored-by: XIao <[email protected]>
2024-04-08 11:49:30 +08:00
binary-husky cb7c0703be Update requirements.txt (#1668) 2024-04-01 11:30:50 +08:00
binary-husky 5181cd441d change pip install url due to server failure (#1667) 2024-04-01 11:20:14 +08:00
c3140ce344 merge frontier branch (#1620)
* Zhipu sdk update 适配最新的智谱SDK,支持GLM4v (#1502)

* 适配 google gemini 优化为从用户input中提取文件

* 适配最新的智谱SDK、支持glm-4v

* requirements.txt fix

* pending history check

---------

Co-authored-by: binary-husky <[email protected]>

* Update "生成多种Mermaid图表" plugin: Separate out the file reading function (#1520)

* Update crazy_functional.py with new functionality deal with PDF

* Update crazy_functional.py and Mermaid.py for plugin_kwargs

* Update crazy_functional.py with new chart type: mind map

* Update SELECT_PROMPT and i_say_show_user messages

* Update ArgsReminder message in get_crazy_functions() function

* Update with read md file and update PROMPTS

* Return the PROMPTS as the test found that the initial version worked best

* Update Mermaid chart generation function

* version 3.71

* 解决issues #1510

* Remove unnecessary text from sys_prompt in 解析历史输入 function

* Remove sys_prompt message in 解析历史输入 function

* Update bridge_all.py: supports gpt-4-turbo-preview (#1517)

* Update bridge_all.py: supports gpt-4-turbo-preview

supports gpt-4-turbo-preview

* Update bridge_all.py

---------

Co-authored-by: binary-husky <[email protected]>

* Update config.py: supports gpt-4-turbo-preview (#1516)

* Update config.py: supports gpt-4-turbo-preview

supports gpt-4-turbo-preview

* Update config.py

---------

Co-authored-by: binary-husky <[email protected]>

* Refactor 解析历史输入 function to handle file input

* Update Mermaid chart generation functionality

* rename files and functions

---------

Co-authored-by: binary-husky <[email protected]>
Co-authored-by: hongyi-zhao <[email protected]>
Co-authored-by: binary-husky <[email protected]>

* 接入mathpix ocr功能 (#1468)

* Update Latex输出PDF结果.py

借助mathpix实现了PDF翻译中文并重新编译PDF

* Update config.py

add mathpix appid & appkey

* Add 'PDF翻译中文并重新编译PDF' feature to plugins.

---------

Co-authored-by: binary-husky <[email protected]>

* fix zhipuai

* check picture

* remove glm-4 due to bug

* 修改config

* 检查MATHPIX_APPID

* Remove unnecessary code and update
function_plugins dictionary

* capture non-standard token overflow

* bug fix #1524

* change mermaid style

* 支持mermaid 滚动放大缩小重置,鼠标滚动和拖拽 (#1530)

* 支持mermaid 滚动放大缩小重置,鼠标滚动和拖拽

* 微调未果 先stage一下

* update

---------

Co-authored-by: binary-husky <[email protected]>
Co-authored-by: binary-husky <[email protected]>

* ver 3.72

* change live2d

* save the status of ``clear btn` in cookie

* 前端选择保持

* js ui bug fix

* reset btn bug fix

* update live2d tips

* fix missing get_token_num method

* fix live2d toggle switch

* fix persistent custom btn with cookie

* fix zhipuai feedback with core functionality

* Refactor button update and clean up functions

* tailing space removal

* Fix missing MATHPIX_APPID and MATHPIX_APPKEY
configuration

* Prompt fix、脑图提示词优化 (#1537)

* 适配 google gemini 优化为从用户input中提取文件

* 脑图提示词优化

* Fix missing MATHPIX_APPID and MATHPIX_APPKEY
configuration

---------

Co-authored-by: binary-husky <[email protected]>

* 优化“PDF翻译中文并重新编译PDF”插件 (#1602)

* Add gemini_endpoint to API_URL_REDIRECT (#1560)

* Add gemini_endpoint to API_URL_REDIRECT

* Update gemini-pro and gemini-pro-vision model_info
endpoints

* Update to support new claude models (#1606)

* Add anthropic library and update claude models

* 更新bridge_claude.py文件,添加了对图片输入的支持。修复了一些bug。

* 添加Claude_3_Models变量以限制图片数量

* Refactor code to improve readability and
maintainability

* minor claude bug fix

* more flexible one-api support

* reformat config

* fix one-api new access bug

* dummy

* compat non-standard api

* version 3.73

---------

Co-authored-by: XIao <[email protected]>
Co-authored-by: Menghuan1918 <[email protected]>
Co-authored-by: hongyi-zhao <[email protected]>
Co-authored-by: Hao Ma <[email protected]>
Co-authored-by: zeyuan huang <[email protected]>
2024-03-11 17:26:09 +08:00
binary-husky 3036709496 add can_multi_thread model attr (#1598) 2024-03-05 15:58:18 +08:00
binary-husky 66c876a9ca Update README.md 2024-02-26 22:56:09 +08:00
binary-husky 0665eb75ed Update README.md (#1581) 2024-02-26 22:52:00 +08:00
binary-husky a0193cf227 edit dep url 2024-02-23 13:28:49 +08:00
2e9b4a5770 Merge Frontier, Update to Version 3.72 (#1553)
* Zhipu sdk update 适配最新的智谱SDK,支持GLM4v (#1502)

* 适配 google gemini 优化为从用户input中提取文件

* 适配最新的智谱SDK、支持glm-4v

* requirements.txt fix

* pending history check

---------

Co-authored-by: binary-husky <[email protected]>

* Update "生成多种Mermaid图表" plugin: Separate out the file reading function (#1520)

* Update crazy_functional.py with new functionality deal with PDF

* Update crazy_functional.py and Mermaid.py for plugin_kwargs

* Update crazy_functional.py with new chart type: mind map

* Update SELECT_PROMPT and i_say_show_user messages

* Update ArgsReminder message in get_crazy_functions() function

* Update with read md file and update PROMPTS

* Return the PROMPTS as the test found that the initial version worked best

* Update Mermaid chart generation function

* version 3.71

* 解决issues #1510

* Remove unnecessary text from sys_prompt in 解析历史输入 function

* Remove sys_prompt message in 解析历史输入 function

* Update bridge_all.py: supports gpt-4-turbo-preview (#1517)

* Update bridge_all.py: supports gpt-4-turbo-preview

supports gpt-4-turbo-preview

* Update bridge_all.py

---------

Co-authored-by: binary-husky <[email protected]>

* Update config.py: supports gpt-4-turbo-preview (#1516)

* Update config.py: supports gpt-4-turbo-preview

supports gpt-4-turbo-preview

* Update config.py

---------

Co-authored-by: binary-husky <[email protected]>

* Refactor 解析历史输入 function to handle file input

* Update Mermaid chart generation functionality

* rename files and functions

---------

Co-authored-by: binary-husky <[email protected]>
Co-authored-by: hongyi-zhao <[email protected]>
Co-authored-by: binary-husky <[email protected]>

* 接入mathpix ocr功能 (#1468)

* Update Latex输出PDF结果.py

借助mathpix实现了PDF翻译中文并重新编译PDF

* Update config.py

add mathpix appid & appkey

* Add 'PDF翻译中文并重新编译PDF' feature to plugins.

---------

Co-authored-by: binary-husky <[email protected]>

* fix zhipuai

* check picture

* remove glm-4 due to bug

* 修改config

* 检查MATHPIX_APPID

* Remove unnecessary code and update
function_plugins dictionary

* capture non-standard token overflow

* bug fix #1524

* change mermaid style

* 支持mermaid 滚动放大缩小重置,鼠标滚动和拖拽 (#1530)

* 支持mermaid 滚动放大缩小重置,鼠标滚动和拖拽

* 微调未果 先stage一下

* update

---------

Co-authored-by: binary-husky <[email protected]>
Co-authored-by: binary-husky <[email protected]>

* ver 3.72

* change live2d

* save the status of ``clear btn` in cookie

* 前端选择保持

* js ui bug fix

* reset btn bug fix

* update live2d tips

* fix missing get_token_num method

* fix live2d toggle switch

* fix persistent custom btn with cookie

* fix zhipuai feedback with core functionality

* Refactor button update and clean up functions

---------

Co-authored-by: XIao <[email protected]>
Co-authored-by: Menghuan1918 <[email protected]>
Co-authored-by: hongyi-zhao <[email protected]>
Co-authored-by: Hao Ma <[email protected]>
Co-authored-by: zeyuan huang <[email protected]>
2024-02-14 18:35:09 +08:00
binary-husky 8814026ec3 fix gradio-client version (#1548) 2024-02-09 13:25:01 +08:00
binary-husky 3025d5be45 remove jsdelivr (#1547) 2024-02-09 13:17:14 +08:00
binary-husky 08b4e9796e Update README.md (#1499)
* Update README.md

* Update README.md
2024-01-21 19:08:48 +08:00
binary-husky 38956934fd Update README.md (#1485) 2024-01-17 11:45:49 +08:00
binary-husky 32439e14b5 Update README.md (#1484) 2024-01-17 11:30:09 +08:00
binary-husky 96832a8228 Update requirements.txt (#1480) 2024-01-16 20:08:32 +08:00
binary-husky 5f18d4a1af Update README.md (#1477)
* Update README.md

* Update README.md
2024-01-16 02:14:08 +08:00
binary-husky 0a2805513e better gui interaction (#1459) 2024-01-07 19:13:12 +08:00
binary-husky c22867b74c Merge pull request #1458 from binary-husky/frontier
introduce Gemini & Format code
2024-01-07 16:24:33 +08:00
binary-husky 865c4ca993 Update README.md 2023-12-26 22:51:56 +08:00
binary-husky 6d4a74893a Merge pull request #1415 from binary-husky/frontier
Merge Frontier Branch
2023-12-25 20:18:56 +08:00
binary-husky f522691529 Merge pull request #1398 from leike0813/frontier
添加通义千问在线模型系列支持&增加插件
2023-12-24 18:21:45 +08:00
binary-husky 6ca0dd2f9e Merge pull request #1410 from binary-husky/frontier
fix spark image understanding api
2023-12-23 17:49:35 +08:00
binary-husky c181ad38b4 Update build-with-all-capacity-beta.yml 2023-12-14 12:23:49 +08:00
binary-husky d0c2923ab1 Merge pull request #1352 from jlw463195395/master
修复deepseekcoder爆显存,加入int8,int4通用加载量化。
2023-12-06 21:37:05 +08:00
binary-husky 647d9f88db Merge pull request #1356 from alphaply/update-for-qwen
修复了qwen使用本地模型时候的报错
2023-12-04 15:45:10 +08:00
binary-husky 102bf2f1eb Merge pull request #1348 from Skyzayre/TestServer
修改插件分类名称,丰富dalle3风格参数选择
2023-12-04 11:14:32 +08:00
binary-husky 4f04d810b7 Merge pull request #1342 from Kilig947/copy_moitoring
监听输入框,支持粘贴上传文件
2023-12-04 10:54:50 +08:00
binary-husky 7933675c12 Merge pull request #1347 from Skyzayre/README-edit
转化README徽章为动态徽章
2023-12-04 10:50:20 +08:00
binary-husky d8958da8cd 修改Typo 2023-12-01 09:28:22 +08:00
binary-husky d876a81e78 Merge pull request #1337 from Skyzayre/README-edit
修饰README,修正图片链接格式
2023-11-30 23:09:16 +08:00
binary-husky 71537b570f Merge pull request #1315 from Harry67Hu/master
fix MacOS-zip bug
2023-11-22 16:49:22 +08:00
binary-husky 2199cd263c Merge pull request #1293 from mbaneshi/mbaneshi
Update README.English.md
2023-11-17 14:30:26 +08:00
binary-husky 75a84d3cec 添加python版本说明 2023-11-16 17:18:07 +08:00
binary-husky c4aefc5fac Merge pull request #1274 from Skyzayre/master
dall-e作图模型调用错误的相关修正 && dall-e做图质量功能添加
2023-11-14 23:18:07 +08:00
binary-husky e7c662a5d6 Update crazy_functional.py 2023-11-14 23:16:49 +08:00
binary-husky 5caeb7525d Update 图片生成.py 2023-11-14 23:15:19 +08:00
binary-husky 371158cb56 Merge pull request #1268 from DoiiarX/master
添加帮助文本
2023-11-14 12:29:15 +08:00
binary-husky 1fa296a303 添加帮助文本 2023-11-14 12:28:57 +08:00
binary-husky fcf04554c6 Merge pull request #1255 from xiangsam/master
[Feature] 更新精准翻译PDF文档(NOUGAT)插件
2023-11-11 14:07:22 +08:00
binary-husky caf45ef740 Merge pull request #1244 from awwaawwa/fix_gpt_35_16k_maxtoken
修改 gpt-3.5-turbo-16k 系列模型 max_token 为 16385
2023-11-10 12:55:02 +08:00
binary-husky b49b272587 Merge pull request #1241 from Skyzayre/master
新加入1106两个模型的适配
2023-11-10 12:53:42 +08:00
binary-husky 795de492fe Merge pull request #1238 from samxiaowastaken/master
Add new API support
2023-11-10 12:41:14 +08:00
binary-husky 245585be81 Update README.md 2023-11-07 10:39:35 +08:00
binary-husky 5566ba8257 Merge pull request #1215 from ZornWang/ERNIE_Bot_4
[Feature] 添加百度千帆文心4.0大模型支持
2023-11-01 22:29:33 +08:00
binary-husky 8c4a753b65 Merge pull request #1222 from ji-jinlong/master
Update 理解PDF文档内容.py
2023-11-01 22:26:55 +08:00
binary-husky f016323b8a Update 理解PDF文档内容.py 2023-11-01 22:26:46 +08:00
binary-husky cd9f2ec402 Update README.md 2023-11-01 22:25:27 +08:00
binary-husky f3f90f7b90 Update README.md 2023-10-30 01:10:45 +08:00
binary-husky 50ecb45d63 Merge pull request #1173 from Kilig947/azure_multiple_models
Azure 支持部署多个模型
2023-10-27 23:36:05 +08:00
binary-husky 349c399967 Merge branch 'frontier' into azure_multiple_models 2023-10-27 23:35:50 +08:00
binary-husky f7a332eee7 Merge pull request #1201 from shao0099876/master
修复了一个导致无法加载未量化的ChatGLM2 fine-tuning模型的问题
2023-10-27 10:00:48 +08:00
binary-husky 3531e7f23f 修正提示 2023-10-20 15:40:36 +08:00
binary-husky d99f4681f0 修正提示 2023-10-20 15:39:50 +08:00
binary-husky a6e7bbbd22 修改缩进 2023-10-20 10:43:04 +08:00
binary-husky a915a2ddd1 Grobid负载均衡 2023-10-20 10:43:04 +08:00
binary-husky 120d4ad556 Update README.md 2023-10-20 10:42:31 +08:00
binary-husky 3410bd9b1d Update README.md 2023-10-19 16:05:12 +08:00
binary-husky 20e3eee6e7 Update GithubAction+NoLocal+Latex 2023-10-18 16:23:28 +08:00
binary-husky 775b07dbcc 为Dockerfile添加更多注释 2023-10-18 11:15:35 +08:00
binary-husky 560d4e2cb1 修正Dockerfile中的错误 2023-10-18 11:10:38 +08:00
binary-husky a4de91d000 修改缩进 2023-10-15 22:53:57 +08:00
binary-husky 673faf8cef Grobid负载均衡 2023-10-14 19:59:35 +08:00
binary-husky 130ae31d55 Merge pull request #1168 from Menghuan1918/master
fix bug  #1167 学术小助手在proxies返回空时会首先尝试直接连接
2023-10-13 17:02:01 +08:00
binary-husky 8698c5a80f Merge pull request #1159 from Skyzayre/patch-1
Update Dockerfile
2023-10-11 17:18:28 +08:00
binary-husky 1ef6730369 Update README.md 2023-10-08 23:14:07 +08:00
binary-husky fdffbee1b0 Update toolbox.py 2023-09-30 09:56:30 +08:00
binary-husky 87ccd1a89a Update crazy_functional.py 2023-09-27 18:35:06 +08:00
binary-husky b6ee3e9807 Merge pull request #1121 from binary-husky/frontier
arxiv翻译插件添加禁用缓存选项
2023-09-21 09:33:19 +08:00
binary-husky 0801e4d881 Merge pull request #1111 from kaixindelele/only_chinese_pdf
提升PDF翻译插件的效果
2023-09-19 15:56:04 +08:00
binary-husky baaacc5a7b Update README.md 2023-09-09 19:11:21 +08:00
binary-husky 7d5abb6d69 Merge pull request #1077 from jsz14897502/master
更改谷歌学术搜索助手获取摘要的逻辑
2023-09-09 18:24:30 +08:00
binary-husky bac6810e75 修改操作提示 2023-09-08 09:38:16 +08:00
binary-husky c176187d24 修复因为函数返回值导致的不准确错误提示 2023-09-07 23:46:54 +08:00
binary-husky 31d5ee6ccc Update README.md 2023-09-07 23:05:54 +08:00
binary-husky 9a5ee86434 Merge pull request #1084 from eltociear/patch-2
Update README.md
2023-09-06 21:56:39 +08:00
binary-husky fda1e87278 Update stale.yml 2023-09-06 10:19:21 +08:00
binary-husky 1092031d77 Create stale.yml 2023-09-06 10:15:52 +08:00
binary-husky f0482d3bae Update docker-compose.yml 2023-09-04 12:39:25 +08:00
binary-husky b6ac3d0d6c Update README.md 2023-09-04 12:34:55 +08:00
binary-husky 3344ffcb8b Update README.md 2023-09-04 11:41:52 +08:00
binary-husky 82936f71b6 Update README.md 2023-09-04 11:37:47 +08:00
binary-husky 51e809c09e Update README.md 2023-09-04 11:34:46 +08:00
binary-husky 0ef06683dc Update README.md 2023-09-03 16:35:03 +08:00
binary-husky 79080290c6 Merge pull request #1074 from Kilig947/plugin_classification
插件分区新增插件分类选择
2023-09-03 15:41:45 +08:00
binary-husky 3e5cdbaf68 Update README.md 2023-08-29 18:29:45 +08:00
binary-husky 27cab3b38a Update README.md 2023-08-29 18:29:16 +08:00
binary-husky 2cca46375c Update crazy_functional.py 2023-08-28 17:47:37 +08:00
binary-husky 06410b593c Update config.py 2023-08-28 16:16:30 +08:00
binary-husky 545c9f47de Update README.md 2023-08-28 11:59:23 +08:00
binary-husky dacc282763 Update README.md 2023-08-21 22:00:51 +08:00
binary-husky 8b3b883fce Update README.md 2023-08-17 10:02:55 +08:00
binary-husky 0597ffea2e Update README.md 2023-08-14 16:37:07 +08:00
binary-husky 8199a9a12e Update requirements.txt 2023-08-14 11:23:15 +08:00
binary-husky cb10a8abec Update requirements.txt 2023-08-14 10:54:46 +08:00
binary-husky 0dbcda89b7 add websocket dep 2023-08-14 10:32:31 +08:00
binary-husky 78a8259b82 Update bridge_all.py 2023-08-14 10:24:59 +08:00
binary-husky f22fdb4f94 Merge pull request #1040 from Keldos-Li/fix-Chuanhu-theme
调整与修复 [川虎小而美] 主题样式
2023-08-14 10:08:01 +08:00
binary-husky 8dd2e2a6b7 Update bug_report.yml 2023-08-13 21:25:21 +08:00
binary-husky aaf4f37403 Merge pull request #1014 from hongyi-zhao/master
Fix the reverse proxy based OpenAI access via https://github.com/acheong08/ChatGPT-to-API/.
2023-08-13 20:57:32 +08:00
binary-husky 7a99560183 Update README.md 2023-08-07 02:01:35 +08:00