XiaoBoAI
1109bf3896
添加中转渠道支持功能
...
- 更新config.py配置文件,添加中转渠道相关配置项
- 修改bridge_all.py和bridge_chatgpt.py以支持中转渠道
- 更新key_pattern_manager.py处理中转渠道密钥模式
2025-07-08 01:48:16 +08:00
BZfei
82aac97980
阿里云百炼(原灵积)增加对deepseek-r1、deepseek-v3模型支持 ( #2182 )
...
* 阿里云百炼(原灵积)增加对deepseek-r1、deepseek-v3模型支持
* update reasoning display
---------
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
2025-03-25 00:11:55 +08:00
Steven Moder
4a79aa6a93
typo: Fix typos and rename functions across multiple files ( #2130 )
...
* typo: Fix typos and rename functions across multiple files
This commit addresses several minor issues:
- Corrected spelling of function names (e.g., `update_ui_lastest_msg` to `update_ui_latest_msg`)
- Fixed typos in comments and variable names
- Corrected capitalization in some strings (e.g., "ArXiv" instead of "Arixv")
- Renamed some variables for consistency
- Corrected some console-related parameter names (e.g., `console_slience` to `console_silence`)
The changes span multiple files across the project, including request LLM bridges, crazy functions, and utility modules.
* fix: f-string expression part cannot include a backslash (#2139 )
* raise error when the uploaded tar contain hard/soft link (#2136 )
* minor bug fix
* fine tune reasoning css
* upgrade internet gpt plugin
* Update README.md
* fix GHSA-gqp5-wm97-qxcv
* typo fix
* update readme
---------
Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com >
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
2025-03-02 02:16:10 +08:00
binary-husky
ac64a77c2d
allow disable openai proxy in WHEN_TO_USE_PROXY
2024-12-28 07:14:54 +08:00
binary-husky
dae8a0affc
compat bug fix
2024-12-25 01:21:58 +08:00
binary-husky
97a81e9388
fix temp issue of o1
2024-12-25 00:54:03 +08:00
binary-husky
1dd1d0ed6c
fix cookie overflow bug
2024-12-25 00:33:20 +08:00
binary-husky
074b3c9828
explicitly declare default value
2024-10-15 06:41:12 +00:00
Nextstrain
b8e8457a01
关于o1系列模型无法正常请求的修复,多模型轮询KeyError: 'finish_reason'的修复 ( #1992 )
...
* Update bridge_all.py
* Update bridge_chatgpt.py
* Update bridge_chatgpt.py
* Update bridge_all.py
* Update bridge_all.py
2024-10-15 14:36:51 +08:00
binary-husky
a01ca93362
Merge Latest Frontier ( #1991 )
...
* logging sys to loguru: stage 1 complete
* import loguru: stage 2
* logging -> loguru: stage 3
* support o1-preview and o1-mini
* logging -> loguru stage 4
* update social helper
* logging -> loguru: final stage
* fix: console output
* update translation matrix
* fix: loguru argument error with proxy enabled (#1977 )
* relax llama index version
* remove comment
* Added some modules to support openrouter (#1975 )
* Added some modules for supporting openrouter model
Added some modules for supporting openrouter model
* Update config.py
* Update .gitignore
* Update bridge_openrouter.py
* Not changed actually
* Refactor logging in bridge_openrouter.py
---------
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
* remove logging extra
---------
Co-authored-by: Steven Moder <java20131114@gmail.com >
Co-authored-by: Ren Lifei <2602264455@qq.com >
2024-10-05 17:09:18 +08:00
binary-husky
597c320808
fix: system prompt err when using o1 models
2024-09-14 17:04:01 +00:00
binary-husky
18290fd138
fix: support o1 models
2024-09-14 17:00:02 +00:00
binary-husky
68838da8ad
finish test
2024-07-12 04:19:07 +00:00
binary-husky
3d5790cc2c
resolve fallback to non-multimodal problem
2024-06-06 08:00:30 +00:00
binary-husky
7de6015800
multimodal support for gpt-4o etc
2024-06-06 07:36:37 +00:00
binary-husky
3d51b9d5bb
compat baichuan
2024-05-23 16:35:15 +00:00
hmp
2406022c2a
access vllm
2024-04-11 22:00:07 +08:00
binary-husky
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 <qingxu.fu@outlook.com >
* 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 <qingxu.fu@outlook.com >
* 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 <qingxu.fu@outlook.com >
* 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 <menghuan2003@outlook.com >
Co-authored-by: Skyzayre <120616113+Skyzayre@users.noreply.github.com >
Co-authored-by: XIao <46100050+Kilig947@users.noreply.github.com >
2024-04-08 11:49:30 +08:00
binary-husky
84ccc9e64c
fix claude + oneapi error
2024-03-17 14:53:28 +08:00
binary-husky
c172847e19
add python annotations for toolbox functions
2024-03-16 22:54:33 +08:00
binary-husky
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 <qingxu.fu@outlook.com >
* 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 <96192199+binary-husky@users.noreply.github.com >
* 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 <96192199+binary-husky@users.noreply.github.com >
* Refactor 解析历史输入 function to handle file input
* Update Mermaid chart generation functionality
* rename files and functions
---------
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
Co-authored-by: hongyi-zhao <hongyi.zhao@gmail.com >
Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com >
* 接入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 <96192199+binary-husky@users.noreply.github.com >
* 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 <qingxu.fu@outlook.com >
Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com >
* 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 <qingxu.fu@outlook.com >
* 优化“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 <46100050+Kilig947@users.noreply.github.com >
Co-authored-by: Menghuan1918 <menghuan2003@outlook.com >
Co-authored-by: hongyi-zhao <hongyi.zhao@gmail.com >
Co-authored-by: Hao Ma <893017927@qq.com >
Co-authored-by: zeyuan huang <599012428@qq.com >
2024-03-11 17:26:09 +08:00
binary-husky
cd18663800
compat non-standard api - 2
2024-03-10 17:13:54 +08:00
binary-husky
dbf1322836
compat non-standard api
2024-03-10 17:07:59 +08:00
binary-husky
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 <qingxu.fu@outlook.com >
* 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 <96192199+binary-husky@users.noreply.github.com >
* 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 <96192199+binary-husky@users.noreply.github.com >
* Refactor 解析历史输入 function to handle file input
* Update Mermaid chart generation functionality
* rename files and functions
---------
Co-authored-by: binary-husky <qingxu.fu@outlook.com >
Co-authored-by: hongyi-zhao <hongyi.zhao@gmail.com >
Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com >
* 接入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 <96192199+binary-husky@users.noreply.github.com >
* 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 <qingxu.fu@outlook.com >
Co-authored-by: binary-husky <96192199+binary-husky@users.noreply.github.com >
* 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 <46100050+Kilig947@users.noreply.github.com >
Co-authored-by: Menghuan1918 <menghuan2003@outlook.com >
Co-authored-by: hongyi-zhao <hongyi.zhao@gmail.com >
Co-authored-by: Hao Ma <893017927@qq.com >
Co-authored-by: zeyuan huang <599012428@qq.com >
2024-02-14 18:35:09 +08:00
binary-husky
7ab379688e
format source code
2024-01-13 18:04:09 +08:00
binary-husky
1714116a89
break down toolbox.py to multiple files
2024-01-13 16:10:46 +08:00
qingxu fu
5c7499cada
compat with some third party api
2023-12-25 17:21:35 +08:00
binary-husky
36e19d5202
compat further with one api
2023-12-15 13:16:06 +08:00
qingxu fu
f75e39dc27
修复本地模型在Windows下的加载BUG
2023-11-11 21:11:55 +08:00
qingxu fu
2912eaf082
Merge branch 'master' of https://github.com/Skyzayre/gpt_academic into Skyzayre-master2
2023-11-10 12:51:50 +08:00
binary-husky
12b2a229b6
移除调试打印
2023-10-28 20:15:59 +08:00
binary-husky
0b1e599b01
紧急修复报错异常
2023-10-28 19:43:48 +08:00
binary-husky
cf085565a7
rename folder
2023-10-28 17:44:17 +08:00