Commit Graph

2386 Commits

Author SHA1 Message Date
Samon Yu eb48e1892b fix(config): 修复模型名称中的全角逗号
将 AVAIL_LLM_MODELS 列表中的全角逗号替换为半角逗号,确保模型名称格式正确。
2025-03-06 13:44:27 +08:00
Samon Yu 8db6c76c88
Merge branch 'master' into master 2025-03-06 13:37:54 +08:00
littleolaf 72dbe856d2
添加接入 火山引擎在线大模型 内容的支持 (#2165)
* use oai adaptive bridge function to handle vol engine

* add vol engine deepseek v3

---------

Co-authored-by: binary-husky <qingxu.fu@outlook.com>
2025-03-04 23:58:03 +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 5dffe8627f fix GHSA-gqp5-wm97-qxcv 2025-03-02 01:58:45 +08:00
Samon Yu 2eb1e71ba3
Merge branch 'binary-husky:master' into master 2025-03-01 22:35:26 +08:00
binary-husky 2aefef26db
Update README.md 2025-02-21 19:51:09 +08:00
Samon Yu 4ce1a66f70 refactor(request_llms): 重构硅基智能模型配置
- 更新 siliconflow_models 列表,添加新模型并调整模型顺序
- 优化模型信息更新逻辑,使用循环替代重复代码
- 区分 DeepSeek-R1 系列模型,添加 enable_reasoning 字段
- 移除未使用的模型信息字段,简化配置结构
2025-02-15 18:38:51 +08:00
Samon Yu f3f5f5f95d
Merge branch 'binary-husky:master' into master 2025-02-15 16:52:01 +08:00
binary-husky 957da731db upgrade internet gpt plugin 2025-02-13 00:19:43 +08:00
Samon Yu 277c255884
Merge branch 'binary-husky:master' into master 2025-02-10 20:25:25 +08:00
binary-husky add29eba08 fine tune reasoning css 2025-02-09 20:26:52 +08:00
binary-husky 163e59c0f3 minor bug fix 2025-02-09 19:33:02 +08:00
binary-husky 07ece29c7c
raise error when the uploaded tar contain hard/soft link (#2136) 2025-02-08 20:54:01 +08:00
Steven Moder 991a903fa9
fix: f-string expression part cannot include a backslash (#2139) 2025-02-08 20:50:54 +08:00
Steven Moder cf7c81170c
fix: return 参数数量 及 返回类型考虑 (#2129) 2025-02-07 21:33:06 +08:00
barry 6dda2061dd
Update bridge_openrouter.py (#2132)
fix openrouter api 400 post bug

Co-authored-by: lan <56376794+lostatnight@users.noreply.github.com>
2025-02-07 21:28:05 +08:00
binary-husky 8a0d96afd3 consider element missing cases in js 2025-02-07 01:21:21 +08:00
binary-husky 37f9b94dee add options to hide ui components 2025-02-07 00:17:36 +08:00
Samon Yu fa592ce74e refactor(config): 精简 AVAIL_LLM_MODELS 列表
- 移除了大量未使用的模型名称,减少代码冗余
- 保留了部分重要模型,如 Qwen 系列
- 添加了关于硅基智能 API 模型名称获取的注释,方便后续扩展
2025-02-06 00:18:31 +08:00
Samon Yu 987058e54e refactor(config): 优化配置文件格式和内容
- 调整缩进和格式,提高可读性
- 更新注释,明确配置项说明
- 移除冗余配置项
- 统一字符串引号使用单引号
2025-02-05 18:19:43 +08:00
Samon Yu e34e6e80a6 refactor(config): 更新可用模型列表
- 移除了 config.py 文件中的旧模型列表
- 添加了新的模型列表,包括更多可用的大型语言模型
- 优化了代码格式,提高了可读性
2025-02-05 18:15:53 +08:00
Samon Yu cd8c154794 Merge branch 'master' of https://github.com/samonysh/gpt_academic 2025-02-05 18:14:00 +08:00
Samon Yu 16acb81edd feat(config): 添加硅基智能 API 接入并更新可用模型列表
- 新增硅基智能 API_KEY 配置项
- 在可用模型列表中添加多个 DeepSeek 和其他大语言模型
2025-02-05 18:12:52 +08:00
Samon Yu 3f94693e42 chore(config): 更新可用的 LLM 模型列表并调整配置格式
- 在 AVAIL_LLM_MODELS 中添加了多个新的 LLM 模型选项
- 优化了配置文件的格式,提高了可读性
- 在配置文件中添加了部分新功能和插件的设置选项
2025-02-05 16:30:22 +08:00
Samon Yu 910b5566bd 添加硅基智能在线API 2025-02-05 14:56:50 +08:00
binary-husky 936e2f5206 update readme 2025-02-04 16:15:56 +08:00
binary-husky 7f4b87a633 update readme 2025-02-04 16:08:18 +08:00
binary-husky 2ddd1bb634 Merge branch 'memset0-master' 2025-02-04 16:03:53 +08:00
binary-husky c68285aeac update config and version 2025-02-04 16:03:01 +08:00
Memento mori. caaebe4296
add support for Deepseek R1 model and display CoT (#2118)
* feat: add support for R1 model and display CoT

* fix unpacking

* feat: customized font & font size

* auto hide tooltip when scoll down

* tooltip glass transparent css

* fix: Enhance API key validation in is_any_api_key function (#2113)

* support qwen2.5-max!

* update minior adjustment

---------

Co-authored-by: binary-husky <qingxu.fu@outlook.com>
Co-authored-by: Steven Moder <java20131114@gmail.com>
2025-02-04 16:02:02 +08:00
binary-husky 39d50c1c95 update minior adjustment 2025-02-04 15:57:35 +08:00
binary-husky 25dc7bf912 Merge branch 'master' of https://github.com/memset0/gpt_academic into memset0-master 2025-01-30 22:03:31 +08:00
binary-husky 0458590a77 support qwen2.5-max! 2025-01-29 23:29:38 +08:00
Steven Moder 44fe78fff5
fix: Enhance API key validation in is_any_api_key function (#2113) 2025-01-29 21:40:30 +08:00
binary-husky 5ddd657ebc tooltip glass transparent css 2025-01-28 23:50:21 +08:00
binary-husky 9b0b2cf260 auto hide tooltip when scoll down 2025-01-28 23:32:40 +08:00
binary-husky 9f39a6571a feat: customized font & font size 2025-01-28 02:52:56 +08:00
memset0 d07e736214 fix unpacking 2025-01-25 00:00:13 +08:00
memset0 a1f7ae5b55 feat: add support for R1 model and display CoT 2025-01-24 14:43:49 +08:00
binary-husky 1213ef19e5 Merge branch 'master' of github.com:binary-husky/chatgpt_academic 2025-01-22 01:50:08 +08:00
binary-husky aaafe2a797 fix xelatex font problem in all-cap image 2025-01-22 01:49:53 +08:00
binary-husky 2716606f0c
Update README.md 2025-01-16 23:40:24 +08:00
binary-husky 286f7303be fix image display bug 2025-01-12 21:54:43 +08:00
binary-husky 7eeab9e376 fix code block display bug 2025-01-09 22:31:59 +08:00
binary-husky 4ca331fb28 prevent html rendering for input 2025-01-05 21:20:12 +08:00
binary-husky 9487829930 change max_chat_preserve = 10 2025-01-03 00:34:36 +08:00
binary-husky a73074b89e upgrade chat checkpoint 2025-01-03 00:31:03 +08:00
Southlandi fd93622840
修复Gemini对话错误问题(停用词数量为0的情况) (#2092) 2024-12-28 23:22:10 +08:00
whyXVI 09a82a572d
Fix RuntimeError in predict_no_ui_long_connection() (#2095)
Bug fix: Fix RuntimeError in predict_no_ui_long_connection()

In the original code, calling predict_no_ui_long_connection() would trigger a RuntimeError("OpenAI拒绝了请求:" + error_msg) even when the server responded normally. The issue occurred due to incorrect handling of SSE protocol comment lines (lines starting with ":"). 

Modified the parsing logic in both `predict` and `predict_no_ui_long_connection` to handle these lines correctly, making the logic more intuitive and robust.
2024-12-28 23:21:14 +08:00