diff --git a/README.md b/README.md index 129e556..63266ce 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ > > 2023.11.12: 某些依赖包尚不兼容python 3.12,推荐python 3.11。 > -> 2023.11.7: 安装依赖时,请选择`requirements.txt`中**指定的版本**。 安装命令:`pip install -r requirements.txt`。本项目开源免费,近期发现有人蔑视开源协议并利用本项目违规圈钱,请提高警惕,谨防上当受骗。 +> 2023.11.7: 安装依赖时,请选择`requirements.txt`中**指定的版本**。 安装命令:`pip install -r requirements.txt`。本项目开源免费,请提高警惕,谨防上当受骗。
@@ -111,7 +111,7 @@ Latex论文一键校对 | [插件] 仿Grammarly对Latex文章进行语法、拼 -- 多种大语言模型混合调用(ChatGLM + OpenAI-GPT3.5 + [API2D](https://api2d.com/)-GPT4) +- 多种大语言模型混合调用(ChatGLM + OpenAI-GPT3.5 + GPT4)
@@ -370,8 +370,8 @@ GPT Academic开发者QQ群:`610599535` 1. `master` 分支: 主分支,稳定版 2. `frontier` 分支: 开发分支,测试版 -3. 如何接入其他大模型:[接入其他大模型](request_llms/README.md) - +3. 如何[接入其他大模型](request_llms/README.md) +4. 访问GPT-Academic的[在线服务并支持我们](https://github.com/binary-husky/gpt_academic/wiki/online) ### V:参考与学习 diff --git a/themes/common.js b/themes/common.js index fdcac3f..0c0d3e4 100644 --- a/themes/common.js +++ b/themes/common.js @@ -211,9 +211,13 @@ function get_elements(consider_state_panel = false) { // 调整高度 const chatbot_height_exceed = 15; const chatbot_height_exceed_m = 10; - if (panel3.bottom >= window.innerHeight - chatbot_height_exceed) { + b_panel = Math.max(panel1.bottom, panel2.bottom, panel3.bottom) + if (b_panel >= window.innerHeight - chatbot_height_exceed) { height_target = window.innerHeight - chatbot.getBoundingClientRect().top - chatbot_height_exceed_m; } + else if (b_panel < window.innerHeight * 0.75) { + height_target = window.innerHeight * 0.8; + } } var chatbot_height = parseInt(chatbot_height); return { height_target, chatbot_height, chatbot };