Commit Graph

2367 Commits

Author SHA1 Message Date
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
G.RQ c53ddf65aa
修复 bug“重置”按钮报错 (#2102)
* fix 重置按钮bug

* fix version control bug

---------

Co-authored-by: binary-husky <qingxu.fu@outlook.com>
2024-12-28 23:19:25 +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 060af0d2e6 Merge branch 'master' of github.com:binary-husky/chatgpt_academic 2024-12-22 23:33:44 +08:00
binary-husky a848f714b6 fix welcome card bugs 2024-12-22 23:33:22 +08:00
binary-husky 924f8e30c7
Update issue stale.yml 2024-12-22 14:16:18 +08:00
binary-husky f40347665b github action change 2024-12-22 14:15:16 +08:00
binary-husky 734c40bbde fix non-localhost javascript error 2024-12-22 14:01:22 +08:00
binary-husky 4ec87fbb54 history ng patch 1 2024-12-21 11:27:53 +08:00
binary-husky 17b5c22e61 Merge branch 'master' of github.com:binary-husky/chatgpt_academic 2024-12-19 22:46:14 +08:00
binary-husky c6cd04a407 promote the rank of DASHSCOPE_API_KEY 2024-12-19 22:39:14 +08:00
YIQI JIANG f60a12f8b4
Add o1 and o1-2024-12-17 model support (#2090)
* Add o1 and o1-2024-12-17 model support

* patch api key selection

---------

Co-authored-by: 蒋翌琪 <jiangyiqi99@jiangyiqideMacBook-Pro.local>
Co-authored-by: binary-husky <qingxu.fu@outlook.com>
2024-12-19 22:32:57 +08:00
binary-husky 8413fb15ba optimize welcome page 2024-12-18 23:35:25 +08:00
binary-husky 72b2ce9b62 ollama patch 2024-12-18 23:05:55 +08:00
binary-husky f43ef909e2 roll version to 3.91 2024-12-18 22:56:41 +08:00
binary-husky 9651ad488f Merge branch 'master' into frontier 2024-12-18 22:27:12 +08:00
binary-husky 81da7bb1a5 remove welcome card when layout overflows 2024-12-18 17:48:02 +08:00