Recent Releases of chuanhuchatgpt

chuanhuchatgpt - 20250815

English Version (Click to expand) ### Features - **Added support for GPT-5 models** (@GaiZhenbiao) - **Added support for DeepSeek models** (@GaiZhenbiao) - Gemini models support custom API host (@GaiZhenbiao) ### Miscellaneous - Changed the CDN address of third-party JS to cdnjs - Improved error messages for update checks ### KNOWN ISSUES - **LaTeX rendering is disabled due to an issue in Gradio**

Features

  • 新增 GPT-5 模型支持 (@GaiZhenbiao)
  • 新增 DeepSeek 模型支持 (@GaiZhenbiao)
  • Gemini模型支持自定义API host (@GaiZhenbiao)

Miscellaneous

  • 修改第三方 js 的 cdn 地址为 cdnjs
  • 完善了检查更新的错误提示

KNOWN ISSUES

  • 由于 Gradio 的一个问题,LaTeX 渲染被禁用
    LaTeX rendering is disabled due to an issue in Gradio

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20241204...20250815

- Python
Published by Keldos-Li 6 months ago

chuanhuchatgpt - 20241204

English Version (Click to expand) ### Features - Added the ability to preserve the "single-turn" and "streaming" toggle state in conversation history (@GaiZhenbiao, @Keldos-Li) - Introduced the `admin_list` parameter to restrict service restart/update to administrators only (@GaiZhenbiao) - Added an optional setting for renaming conversations via a model (@slideslide) - Improved the code for renaming, exporting, and downloading conversation history (@GaiZhenbiao, @Keldos-Li) - Saved conversation history no longer includes unnecessary HTML tags (@GaiZhenbiao) - Enabled scrolling in the conversation interface during generation (@Keldos-Li) ### Bug Fixes - Fixed display issues for certain models in the frontend (@GaiZhenbiao) - Resolved and optimized issues with uploading, loading, and refreshing historical files (@GaiZhenbiao) - Added additional checks when loading prompt templates (@GaiZhenbiao) - Addressed an issue where users could access other users' conversation histories (@GaiZhenbiao) - Fixed mismatches in the "streaming" toggle state when creating new conversations (@GaiZhenbiao) - Introduced a timeout mechanism for regular expression searches in conversation history to prevent ReDoS vulnerabilities (@GaiZhenbiao) - Resolved conversation misalignment issues when switching outputs during chatting (@Keldos-Li) - Fixed other potential issues ### Miscellaneous - Updated compatibility with Gradio to version 4.29.0 - Changed the log level to debug for switching to an empty conversation or creating a new one (@GaiZhenbiao) ### KNOWN ISSUES - **LaTeX rendering is disabled due to an issue in Gradio**

Features

  • 在对话历史记录中能够保存“单轮对话”和“流式传输”勾选状态 (@GaiZhenbiao, @Keldos-Li)
  • 增加admin_list参数,只允许管理员重启/更新服务 (@GaiZhenbiao)
  • 增加对话重命名模型设置(可选) (@XiaoRan)
  • 改进了重命名、导出、下载对话历史记录的代码 (@GaiZhenbiao, @Keldos-Li)
  • 保存的对话历史记录不再包含多余的HTML标签 (@GaiZhenbiao)
  • 生成时对话界面允许滚动 (@Keldos-Li)

Bug Fixes

  • 修复了部分模型的前端显示问题 (@GaiZhenbiao)
  • 修复优化了上传、加载、刷新历史文件时可能的问题 (@GaiZhenbiao)
  • 在加载 prompt 模板时加入额外的检查 (@GaiZhenbiao)
  • 解决了用户可能访问其他用户历史记录的问题 (@GaiZhenbiao)
  • 修复创建新对话时的流式传输勾选不匹配的问题 (@GaiZhenbiao)
  • 在用正则表达式搜索历史记录时加入超时机制,以避免ReDoS问题 (@GaiZhenbiao)
  • 修复在输出时切换时聊天导致对话错乱的问题 (@Keldos-Li)
  • 修复了其他潜在的问题

Miscellaneous

  • 更新适配 Gradio 到 4.29.0
  • 切换空对话/创建新对话时的日志级别修改为debug (@GaiZhenbiao)

KNOWN ISSUES

  • 由于 Gradio 的一个问题,LaTeX 渲染被禁用
    LaTeX rendering is disabled due to an issue in Gradio

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20240914...20241204

[!important] 如果您手动更新,请在更新完成后执行以下命令更新依赖。 Please execute the following commands after manually updating. sh pip install -r requirements.txt --upgrade <!-- requirements reinstall needed -->

- Python
Published by Keldos-Li about 1 year ago

chuanhuchatgpt - 20240919: Safety patches

English Version (Click to expand) This update brings numerous security bug fixes, and it is recommended for all users to install. ### Bug Fixes - Added additional checks when creating/deleting history records (@GaiZhenbiao) - Added extra checks when loading prompt templates (@GaiZhenbiao) - Triggered exceptions if the python multipart boundary is too long to address server crashes with overly long boundaries (@GaiZhenbiao) - Added additional checks when deleting history records (@GaiZhenbiao) - Introduced a timeout mechanism when searching history records using regex to prevent ReDoS issues (@GaiZhenbiao) - Added additional checks when refreshing history records (@GaiZhenbiao) - Implemented additional sanitization when uploading history records to resolve potential XSS issues. Furthermore, the method of saving history records has been modified to exclude HTML tags (@GaiZhenbiao) - Added checks for username validity when loading history record files (@GaiZhenbiao) - Resolved the LFI issue when uploading history file (@GaiZhenbiao) - Fixed the issue that any user can restart the service. Added admin_list parameter in the config. (@GaiZhenbiao) - Resolved an issue where users could access other users' histories (@GaiZhenbiao, @Keldos-Li) ### Miscellaneous - Changed the log level of non-existent history records to debug (@GaiZhenbiao) ### KNOWN ISSUES - **LaTeX rendering is disabled due to an issue in Gradio**
LaTeX rendering is disabled due to an issue in Gradio **Full Changelog**: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20240914...20240918

这枚更新带来了许多安全bug修复,推荐所有用户安装。

Bug Fixes

  • 在创建/删除历史记录时加入额外的检查 (@GaiZhenbiao)
  • 在加载prompt模板时加入额外的检查 (@GaiZhenbiao)
  • 如果python multipart的边界过长,则触发异常,以解决在超长边界时服务器死机问题 (@GaiZhenbiao)
  • 在删除历史记录时加入额外的检查 (@GaiZhenbiao)
  • 在用正则表达式搜索历史记录时加入超时机制,以避免ReDoS问题 (@GaiZhenbiao)
  • 在刷新历史记录时加入额外的检查 (@GaiZhenbiao)
  • 在上传历史记录时加入额外的清洁,以解决潜在的XSS问题。此外,也修改了保存历史记录的方式,不再包含HTML标签。 (@GaiZhenbiao)
  • 在加载历史记录文件时加入对用户名合法性的检查 (@GaiZhenbiao)
  • 解决上传历史记录时的LFI问题 (@GaiZhenbiao)
  • 解决了任何用户都可以重启服务的问题,只有管理员用户可以重启服务。(@GaiZhenbiao)
  • 解决了用户可能访问其他用户历史记录的问题 (@GaiZhenbiao, @Keldos-Li)

Miscellaneous

  • 将历史记录不存在的日志级别修改为 debug (@GaiZhenbiao)

KNOWN ISSUES

  • 由于 Gradio 的一个问题,LaTeX 渲染被禁用
    LaTeX rendering is disabled due to an issue in Gradio

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20240914...20240919

- Python
Published by GaiZhenbiao over 1 year ago

chuanhuchatgpt - 20240914

Features

  • 🚀 新增 GPT o1-preview 和 o1-mini 模型支持! (@GaiZhenbiao)

Bug Fixes

  • 修复使用 Azure 时构建知识库索引失败的问题 (@ZhengQinyu)

Miscellaneous

  • 调整讯飞大模型名称 (@ZhengQinyu)
  • 修改 Docker 包构建 (@GaiZhenbiao)

KNOWN ISSUES

  • 由于 Gradio 的一个问题,LaTeX 渲染被禁用
    LaTeX rendering is disabled due to an issue in Gradio

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20240802...20240914

- Python
Published by Keldos-Li over 1 year ago

chuanhuchatgpt - 20240802

KNOWN ISSUES

  • 由于 Gradio 的一个问题,LaTeX 渲染被禁用
    LaTeX rendering is disabled due to an issue in Gradio ### BREAKING
  • 默认模型从 GPT3.5-turbo 更改为 GPT-4o mini

Features

  • 新增 GPT-4o mini 模型支持 (@Gaizhenbiao)
  • 新增 讯飞v4.0, v3.5 模型支持 (@ZhengQinyu)

Bug Fixes

  • 修复 Azure OpenAI 可能回复失败的问题 (@ZhengQinyu)

Miscellaneous

  • 统一代码高亮样式颜色 (@Keldos-Li)
  • Docker 默认暴露7860端口 (@BigDataMao)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20240628...20240802

- Python
Published by Keldos-Li over 1 year ago

chuanhuchatgpt - 20240628

Breaking

  • 🚀 支持 自定义模型 Custom Models ! 参考:自定义模型 Custom Models  (@GaiZhenbiao, @Keldos-Li)
  • 💥 GPT4-V 合并入 GPT4-Turbo (@GaiZhenbiao)
  • 💥 因为Gradio的一个问题,暂时禁用了 LaTeX 渲染 (@Keldos-Li)

Features

  • 新增 Groq 模型支持 (@GaiZhenbiao)
  • 新增 GPT-4o 模型支持 (@GaiZhenbiao)
  • 新增 Claude 3.5 Sonnet 模型支持 (@GaiZhenbiao)
  • 优化川虎助理模型上传文件时的行为 (@GaiZhenbiao)
  • 生成回复时添加等待动画 (@Keldos-Li)
  • 提升密码验证的安全性 (@GaiZhenbiao)

Bug Fixes

  • 修复新建 system prompt 为空的问题 (@GaiZhenbiao)
  • 修复使用GPT系列模型时可能出现invalidrequesterror的问题 (@GaiZhenbiao)
  • 修复配置hidehistorywhennotlogged_in为true后的界面报错 (@GaiZhenbiao)
  • 修复 PDF 解析时可能出现的一个错误 (@kavons)
  • 增加缺失的依赖 (@GaiZhenbiao)
  • 版本更新过程中的其他修复和调整 (@vc12345679, @ThorinKong)

Miscellaneous

  • 在线 RAG 改用 text-embedding-3-large 模型 (@GaiZhenbiao)
  • 调整了对话生成时相关按钮的出现时间 (@Keldos-Li)
  • 前端高度相关代码改用dvh,可能存在浏览器兼容性问题 (@Keldos-Li)
  • 禁用模型选框键入筛选
  • config_example.json 中 PaLM 更改为 Gemini (@Morpheusr)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20240410...20240628

[!important] 如果您手动更新,请在更新完成后执行以下命令更新依赖。 Please execute the following commands after manually updating. sh pip install -r requirements.txt --upgrade <!-- requirements reinstall needed -->

- Python
Published by Keldos-Li over 1 year ago

chuanhuchatgpt - 20240410

Breaking

  • 川虎助理调整为自动使用可使用的第三方插件,并支持上下文对话 (@Gaizhenbiao)
  • 适配到 gradio 4.26,重构部分代码 (@Gaizhenbiao, @Keldos-Li)

Features

  • 新增 CLaude3 Haiku 模型支持 (@Gaizhenbiao)
  • logging中输出每秒token (@Gaizhenbiao)

Bug Fixes

  • 修复 Claude3 模型返回问题 (@Gaizhenbiao)
  • 修复特殊字符在自动对话命名时产生的错误 (@Yefori-Go, @zollty)
  • 修复在线搜索的问题 (@Gaizhenbiao)
  • 修复文件上传的问题 (@Gaizhenbiao, @Keldos-Li)

Miscellaneous

  • 移除了等待输出时的特大等待气泡 (@Keldos)
  • 美化使用工具时的输出 (@Gaizhenbiao)
  • Docker 指定 Python3.10 版本

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20240310...20240410

[!important] 如果您手动更新,请在更新完成后执行以下命令更新依赖。 Please execute the following commands after manually updating. sh pip install -r requirements.txt --upgrade <!-- requirements reinstall needed -->

- Python
Published by Keldos-Li almost 2 years ago

chuanhuchatgpt - 20240310

本次更新包含安全性更新,建议所有用户升级。
This update contains security updates. It is recommended that all users upgrade.

Features

  • logging中输出每秒token数 (@GaiZhenbiao)

Bug Fixes

  • 修复隐私数据问题 (@GaiZhenbiao)
  • 修复 GPT4 Vision 模型相关问题 (@GaiZhenbiao)
  • 修复切换模型后回复可能为空的问题 (@chenditc)
  • 修复 Claude 3 模型下開始新的聊天 System prompt 被清空的问题 (@GaiZhenbiao)
  • 修复multimodal warning (@GaiZhenbiao)
  • 修复重启时不刷新页面的问题 (@Keldos-Li)

Miscellaneous

  • removed abundant warnings (@GaiZhenbiao)
  • bumped GPT model versions (@GaiZhenbiao)
  • bumped gradio version to 3.44.0 (@GaiZhenbiao)
  • pip upgrade when update (@Keldos-Li)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20240305...20240310

[!important] 如果您手动更新,请在更新完成后执行以下命令更新依赖。 Please execute the following commands after manually updating. sh pip install -r requirements.txt --upgrade <!-- requirements reinstall needed -->

- Python
Published by Keldos-Li almost 2 years ago

chuanhuchatgpt - 20240305

Features

  • 🚀 新增 Claude 3 模型支持 (@GaiZhenbiao)
  • 🚀 新增 Gemini Pro (Vision) 支持 (@GaiZhenbiao)
  • 🚀 新增 Gemma 模型支持 (@GaiZhenbiao)
  • 🚀 新增 Ollama 模型支持 (@tusik)
  • 打开网页时新建对话 (@GaiZhenbiao)
  • 增加登出按钮 (@tusik)

Bug Fixes

  • 修复首次启动时无config导致的问题 (@GaiZhenbiao)
  • 自定义OPENAIAPIBASE构建索引失败的问题 (@GaiZhenbiao)

Miscellaneous

  • 完善翻译 (@GaiZhenbiao)
  • 引用cdn资源 http -> https
  • 更新依赖 (@GaiZhenbiao)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20240121...20240305

[!important] 如果您手动更新,请在更新完成后执行以下命令更新依赖。 Please execute the following commands after manually updating. sh pip install -r requirements.txt <!-- requirements reinstall needed -->

- Python
Published by Keldos-Li almost 2 years ago

chuanhuchatgpt - 20240121

Features

  • Qwen支持加载本地/自定义模型 (@GaiZhenbiao)
  • 增加对OpenAiVison的图片token计算 (@tusik)
  • 搜索功能可以使用config中的代理 (@GaiZhenbiao)
  • 新增点击重启服务器功能 (@Keldos-Li)
  • 允许设置启动时是否自动打开浏览器 (@slideslide)

Bug Fixes

  • 修复预置 prompt 有时可能无效的问题 (@GaiZhenbiao)
  • 修复模型下拉框可能出现密码自动填充的问题 (@stingshen, @Keldos-Li)
  • 修复更新无反应的问题 (@Keldos-Li)
  • 修复川虎助理出错的问题 (@GaiZhenbiao)
  • 修复使用 Qwen-1_8B-Chat 模型加载出错的问题 (@GaiZhenbiao)
  • 修复 DALL-E3 使用时可能的报错 (@GaiZhenbiao)
  • 修复 api base 重复添加 V1 的问题 (@Keldos-Li)

Miscellaneous

  • updated Japanese translations (@GaiZhenbiao, @MZhao-ouo, @KFSAMURAI)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20231223...20240121

- Python
Published by Keldos-Li about 2 years ago

chuanhuchatgpt - 20231223

Features

  • 🚀 支持在输入框中粘贴或将文件拖入对话窗口以上传文件! (@Keldos-Li)
  • 新增了默认模型设置提示 (@GaiZhenbiao)
  • 点击“知识库文件”显示知识库管理组件 (@Keldos-Li)

Bug Fixes

  • 修复了DALLE3模型不通过自定义API Host请求的问题 (@slideslide)
  • 修复了Vision模型回复中断的问题 (@GaiZhenbiao)
  • 修复了修改对话名称的时候会报错的问题 (@GaiZhenbiao)

Miscellaneous

  • 适配新版openai API (@GaiZhenbiao)
  • 适配GPT4-V最新对话格式 (@GaiZhenbiao)
  • 自动安装时升级pip版本 (@GaiZhenbiao)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20231215...20231223

- Python
Published by Keldos-Li about 2 years ago

chuanhuchatgpt - 20231215

BREAKING

  • 💥 API Key 的显示位置重新调整到了右侧栏,加入了隐藏 API Key 的选项 (@GaiZhenbiao)
  • 🚀 初次启动时添加设置向导! (@GaiZhenbiao)

Features

  • 🚀 新增 文心一言 三个主要模型支持! (@XudongLiu)
  • 🚀 新增 DALLE3 支持! (@GaiZhenbiao)
  • 支持ChatGLM3 (@GaiZhenbiao)
  • 加入available_models配置项,允许自定义可用模型列表 (@GaiZhenbiao)
  • OpenAI模型现在会检查API Key是否为空 (@GaiZhenbiao)
  • 优化知识库问答功能 (@GaiZhenbiao)
  • 加快川虎Chat的启动速度 (@GaiZhenbiao)
  • 支持保存加载更多对话参数 (@GaiZhenbiao)
  • 前端页面同步历史记录保存的slider和checkbox (@Keldos-Li)
  • 原始消息改用等宽字体 (@Keldos-Li)
  • 调整新的原始文本输出在川虎助理中的显示 (@Keldos-Li)
  • 调整指示条样式,调整toolbox样式 (@Keldos-Li)

Bug Fixes

  • 解决在线搜索无法使用的问题 (@GaiZhenbiao)
  • 修复新用户对话错误的问题 (@cpatrickalves)
  • 修复总是提示更新的问题等 (@Keldos-Li)
  • 修复原始消息中LaTeX被误渲染的问题 (@Keldos-Li)
  • 修复重命名/删除历史记录时遗留多余的md文件的问题 (@GaiZhenbiao)
  • 修复相关依赖的API变动导致的错误 (@GaiZhenbiao)
  • 修复修复损坏的历史记录的时候出错的问题 (@GaiZhenbiao)
  • 修复使用finetune的GPT模型时出错的问题 (@GaiZhenbiao)
  • 限制文件上传的类型 (@GaiZhenbiao)
  • 修复app-title可能脱落到页面下方的问题 (@Keldos-Li)
  • 修复status-display跳动的问题 (@Keldos-Li)
  • 修复禁用更新后仍存在幽灵按钮的问题 (@Keldos-Li)

Miscellaneous

  • 加强了文件安全 (@GaiZhenbiao)
  • 清理无用prompt (@GaiZhenbiao)
  • 历史记录管理代码逻辑改进 (@GaiZhenbiao)
  • 川虎助理适配最新版本的openai和langchain (@GaiZhenbiao)
  • Added Korean Readme and polished Korean locale (@2p990i9hpral)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20231110...20231215

Other contributors: @ZhengQinyu, @slideslide.

important 如果您手动更新,请在更新完成后执行以下命令更新依赖。 Please execute the following commands after manually updating. sh pip install -r requirements.txt <!-- requirements reinstall needed -->

- Python
Published by Keldos-Li about 2 years ago

chuanhuchatgpt - 20231110

Features

  • 🚀 新增 GPT4-Turbo 和 GPT4-Vision 支持! (@GaiZhenbiao)
  • 🚀 新增讯飞星火v3.0支持! (@GaiZhenbiao)

Miscellaneous

  • 调整了模型下拉框内的模型文字 (@GaiZhenbiao)
  • 微调了消息中图片的圆角和边距

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20231020...20231110

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20231020

Features

  • 🚀 新增通义千问模型支持! (@GaiZhenbiao)
  • 🚀 新增 Anthropic 的 Claude 模型的支持! (@XudongLiu)
  • 加入gpt-3.5-turbo-instruct模型支持 (@GaiZhenbiao)
  • 切换不同索引类型时自动重建索引 (@GaiZhenbiao)

Bug fixes

  • 解决隐藏历史记录时可能出现的问题 (@GaiZhenbiao)
  • 解决某些第三方API服务提供商使用和OpenAI不同的返回格式导致的问题 (@GaiZhenbiao)
  • 解决损坏的历史记录可能超过token限制的问题 (@GaiZhenbiao)
  • 解决Windows下报错'TZ' 不是内部或外部命令的问题 (@GaiZhenbiao)

Miscellaneous

  • 改进英文翻译 (@GaiZhenbiao)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20231006...20231020

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20231006

Features

  • 将LLaMA.cpp用作默认模型 (@Gaizhenbiao)
  • 加入为新对话保留prompt的开关 (@MZhao-ouo)

Miscellaneous

  • 移除不可用的模型 (@Gaizhenbiao)
  • 新增自动提取i18n文件 (@MZhao-ouo)
  • 新增对未翻译字符串自动翻译的功能 (@MZhao-ouo)
  • 移除单个emoji的翻译字符串 (@MZhao-ouo)
  • 调整部分翻译字符串

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230926...20231006

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20230926

Features

  • Dịch tiếng Việt mới (@toantranct)
  • 切换到川虎助理时可以显示已启用的工具 (@GaiZhenbiao)
  • 加入LLaMA-7B-Chat和LLaMA.cpp支持 (@GaiZhenbiao)

Bug fixes

  • 解决取消重命名时失去焦点的问题 (@GaiZhenbiao)
  • 修复重新生成时有时内容包含HTML标签的问题 (@GaiZhenbiao)
  • 修复了重试和新建对话时可能会出错的问题 (@GaiZhenbiao)
  • 修复第一次部署启动可能出错的问题 (@GaiZhenbiao, @MZhao-ouo )
  • 添加川虎助理的缺失依赖 (@GaiZhenbiao)

Miscellaneous

  • 调整 chatbot header 按钮 (@Keldos-Li)
  • 提取 models.py 中的类 (@GaiZhenbiao)
  • 自动命名不再使用U+A789字符表示冒号 (@GaiZhenbiao, @JohnZ03)
  • 对话自动命名默认启用使用模型总结 (@GaiZhenbiao)
  • New Github Action for push and release (@MZhao-ouo)
  • 限制部分依赖版本 (@binary-husky)
  • 增补部分翻译 (@Keldos-Li)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230916...20230926

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20230916

全新 川虎Chat 登场。
Introducing the new Chuanhu Chat.

v5

我们激动地宣布,这是我们推出川虎Chat以来又一次重磅的更新!我们彻底重新设计了用户界面和交互,带来了前所未有的对话体验。但是放心,这还是你熟悉的川虎Chat!
We are excited to announce that this is another blockbuster update since the launch of Chuanhu Chat! We have completely redesigned the user interface and interaction, bringing an unprecedented dialogue experience. But don't worry, this is the Chuanhu Chat you are familiar with!

Features

🚀 精心设计,处处带来改变

  • 页面新构想,潜能不封顶
    UI UX大更新,自适应的历史记录与菜单栏+聊天区+工具栏;移动端更有全新样式。
  • 色彩全浸润,功能全包围
    现代化的聊天界面现以毛玻璃效果呈现,美观的输入框,精致得不像Gradio。
  • 强大输入区,对话输入新维度
    直接在输入区激活网页搜索、基于文件提问和单轮对话,各种聊天,痛痛快快聊。
  • 全新气泡按钮,就等你的新气泡
    功能更丰富的消息气泡按钮,现在可以删除、重试生成或是点赞最新消息。
  • 刘海屏还是挖孔屏,各种屏幕各种适配
    网页充满屏幕,同时保留安全边距;工具栏和设置更可以抽屉式滑出。

🚀 新一代对话历史,对话够直接

  • 一目了然,深入管理
    川虎Chat首次使用列表展示对话历史,还能重命名与删除。列表一开,随你脑洞怎么开。
  • 简单优雅,只需开始对话
    从根据你的问题命名,到根据内容总结,川虎Chat可以自动命名对话,你只需要专注于交流。
  • 历史对话,一找一个准
    对话历史现支持名称搜索,还支持正则表达式。
  • 轻轻点击,数据全获取
    现在有了更完善优雅的历史记录下载导出与上传功能,数据随时下载到本地。

🚀 PWA 应用飚出新网页

  • 极致应用,随时拿出手
    现在可以将 川虎 Chat 作为 PWA 应用程序安装。在桌面浏览器中,你将看到安装提示;在移动浏览器中,你可以选择将网页保存到主屏幕。
  • 图标换起来,个性秀出来
    图标经过重新精心设计,可以同时满足裁切和单独展示要求。

🚀 超强模型在手,等你一试身手

  • 选好模型,练出巅峰
    不仅支持各个大模型,现在,你甚至可以在 川虎Chat 中 Finetune(微调) GPT-3.5,个性化你的模型,以你为准。
  • 讯飞星火,对话猛兽新出笼
    新增讯飞星火大模型支持。
  • 切换模型,更加懂你
    现在,在同个对话中更换其他模型,还能保持原来的上下文继续对话。

🚀 更新不只,牙膏不止

  • Русский интерфейс теперь поддерживается!

Bug fixes

  • 修复 Azure OpenAI 的问题
  • 修复如果文件解析失败可能影响后续文件的问题
  • 修复气泡宽度超过chatbot内容的问题
  • 修复更新最新版但降级后提示更新问题
  • 修复川虎助理无法搜索的问题
  • 解决 Windows 下部分路径问题

Miscellaneous

  • 升级gradio到3.34.2
  • set logging level to info
  • Support both styles like en_US and en-US
  • 只读历史记录改为只有未登录且设置hidehistorywhennotlogged_in时使用
  • 改进与补全翻译
  • 增补焕新文档

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230830...20230916


看看这次更新 哪款开发者适合你:

@Keldos-Li, @GaiZhenbiao, @MZhao-ouo
同时感谢 @bropines, @noahzark.

Note 更新了 20230911 测试版的朋友,可能会出现无法点击更新按钮的问题,请尝试手动更新。 Users who've updated to the 20230911 beta version may experience issues with clicking the update button. Please attempt a manual update.

important 如果您手动更新,请在更新完成后执行以下命令更新依赖。 Please execute the following commands after manually updating. sh pip install -r requirements.txt <!-- requirements reinstall needed -->

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20230911 (beta)

This is a pre-release. You can try this version or wait for a stable new version to be released.

The following is just a brief update summary, and the detailed update log will be listed in the official release.

Features

  • 🚀全新设计的界面

    • 🚀 自适应左右边栏
    • 🚀 美观而强大的输入区
    • 现代化的聊天界面
    • 功能更丰富的消息气泡按钮
    • 新设计的设置和微调界面
    • 为移动端特别优化,支持全面屏(刘海、灵动岛)
    • 支持基本PWA,图标精心设计
  • 🚀 全新的对话历史记录设计

    • 🚀 使用列表展示对话历史记录
    • 🚀 魔法般自动命名历史记录
    • 🚀 对话历史支持搜索、重命名与删除
    • 更完善优雅的历史记录下载导出与上传功能
  • Added Russian localization and README_ru

Bug fixes

  • 修复与改进了许多问题

Miscellaneous

  • 升级gradio到3.34.2

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230830...20230911

本次更新需要更新相关依赖,如果手动更新,请在更新后执行pip install -r requirements.txt
requirements reinstall needed

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20230830

如果您正在使用20230820版本,可以尝试通过点击下面的更新按钮直接更新!

Features

  • 🚀 加入GPT 模型微调功能! (@GaiZhenbiao)
  • 🚀 加入聊天头像功能! (@Keldos-Li)
  • 🚀 新增 Midjourney 代理模型! (@noahzark)
  • 训练支持预估 token 消耗 (@GaiZhenbiao)
  • 优化按钮大小和换行 (@GaiZhenbiao, @Keldos-Li)

Bug fixes

  • 修复后台更新逻辑,避免stash产生错误等 (@Keldos-Li)
  • 修复openai usage错误的问题 (@Keldos-Li)
  • 修复了读取的 excel 文件可能不完整的问题 (@GaiZhenbiao)
  • 修复添加训练好的模型到列表时网页卡死的问题 (@GaiZhenbiao)
  • 修复一直重复生成对话按钮的问题,优化性能 (@Keldos-Li)
  • 修复模型类型判断错误的 bug (@GaiZhenbiao)

Miscellaneous

  • 升级 langchain 到 0.0.276 (@GaiZhenbiao)
  • 升级 gradio 到 3.41.2 (@Keldos-Li)
  • 禁用hugging face spaces中chatbot的分享按钮 (@Keldos-Li)
  • 减少不必要的 log 打印 (@GaiZhenbiao)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230820...20230830 - 如何更新? - 如何安装?

如果您正在使用20230820版本,若自动更新失败,请尝试还原您的本地更改再拉取更新。
(未来的自动更新程序将能尝试自动合并您未提交的本地更改)

本次更新需要更新相关依赖,如果手动更新,请在更新后执行pip install -r requirements.txt
requirements reinstall needed

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20230820

注意,本次更新需要您更新 gradio,请在更新后执行pip install -r requirements.txt requirements reinstall needed

Features

  • 加入自动执行更新功能,未来点击更新按钮后即可后台执行更新 (@Keldos-Li)
  • 对常见报错提供更友好的错误信息 (@Gaizhenbiao)
  • 调整助理思考显示样式 (@Keldos-Li)

Bug fixes

  • 修复 azure openai 使用报错 (@Gaizhenbiao)
  • 修复 log 不打印的问题 (@Gaizhenbiao)
  • 修复某些依赖版本可能出现类型错误 (@Gaizhenbiao)
  • 修正复制对话内容按钮可能获取渲染后内容的问题 (@Keldos-Li)
  • 修复显示raw message中latex也被渲染的问题 (@Keldos-Li)
  • 修复有序列表第一项可能不被渲染的问题 (@Keldos-Li)
  • 调整本地版本获取失败时的更新提示 (@Keldos-Li)
  • 修复清空聊天框后刷新页面仍显示只读历史记录的问题 (@Keldos-Li)
  • 禁用了前端网络设置修改 (@MZhao-ouo)

Miscellaneous

  • 完全重构整理css和js (@Keldos-Li)
  • Upgraded gradio to 3.40.0 (@Keldos-Li)
  • Added classes to gradio components (@Keldos-Li)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230809...20230820 - 如何更新? (安装本版本后,未来你将可以通过点击下面的更新按钮直接更新!) - 如何安装?

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20230809

Features

  • Lagt till stöd för svenska (#857) (@PedroGruvhagen)
  • 重新支持使用旧版 API 用量接口 (@Gaizhenbiao)

Bug fixes

  • 修复了因空格转译导致的在单词中换行的错误 (@Keldos-Li)
  • 修正了主题预设中的拼写错误 (#856) (@PedroGruvhagen)

Miscellaneous

  • 控制台信息颜色改为绿色,移除了 marked 导致的控制台警告 (@Keldos-Li)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230728...20230809 - 如何更新? - 如何安装?

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20230728

BREAKING

  • 默认隐藏了 API 用量显示,更多信息请参考:*额度显示*

Features

  • 🚀 新增 Google PaLM 支持 (@GaiZhenbiao)
  • 加入 Azure OpenAI 支持 (@GaiZhenbiao)
  • 切换模型时现在可以在前端反映出通过配置文件设置的 API Key (@GaiZhenbiao)

Bug fixes

  • 平息了 API 使用情况获取失败的提示 (@GaiZhenbiao)
  • 修复前端API用量查询显示功能 (#848) (@xzajyjs, @Keldos-Li, @Gaizhenbiao)
  • 修复使用自定义 API Base 时,embedding 出错的问题 (@GaiZhenbiao)
  • 修复从 PaLM 切换到 GPT 模型时 API Key 出错的问题 (@GaiZhenbiao)

Miscellaneous

  • 调整了config-example.json的写法 (@Keldos-Li)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230719...20230728 - 如何更新? - 如何安装?

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20230719

Features

  • 🚀 新增 ChatGLM2 支持 (@GaiZhenbiao)
  • Add Korean language support (@2p990i9hpral)
  • 优化Windows安装脚本(@2p990i9hpral)
  • 部分Checkbox改写为开关样式 (@Keldos-Li)
  • 更新Logo (@MZhao-ouo)

Bug fixes

  • 解决首条消息无法加载按钮和存储历史记录的问题 (@Keldos-Li)
  • 更新弹窗适配小屏 (@Keldos-Li)
  • 解决 container=False 时的错误填充 (@MZhao-ouo)

Miscellaneous

  • 优先使用 config 里的代理设置 (@GaiZhenbiao)
  • 高级界面样式调整 (@MZhao-ouo)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230709...20230719

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20230709

注意,本次更新需要您更新 gradio,请在更新后执行pip install -r requirements.txt - 如何更新? - 如何安装?

Features

  • 禁用空白消息发送 (@Keldos-Li)
  • 加入LaTeX渲染参数:设置教程 (@Keldos-Li)

Bug fixes

  • 修复即使在最新版仍提示存在更新的问题 (@Keldos-Li)
  • 解决内网访问点击复制按钮失效问题 (@Kilig947)

Developer

  • 升级到 gradio 3.36.1 (@Keldos-Li)
  • 适配gradio,将style参数写入到constructor (@Keldos-Li)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230628...20230709

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20230628

Features

  • 加入检查更新功能 (@Keldos-Li)
  • 将引用网站改为气泡形式 (@Keldos-Li)
  • 当存在tag时,显示版本改用tag名称而非commit hash (@Keldos-Li)
  • 删除对话记录的确认增加本地化 (@Keldos-Li)

Bug fixes

  • 修复网址前后字符被escape的显示错误 (@Keldos-Li)
  • 移除config.json中无效的设置项注释 (@GaiZhenbiao, @Keldos-Li)

Miscellaneous

  • gradio中执行的js改为引用custom.js (@Keldos-Li)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230619...20230628 - 如何更新? - 如何安装?

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20230619

Features

  • 川虎助理Pro 支持 serpapi (@GaiZhenbiao)
  • 加入删除对话历史记录的功能 (@GaiZhenbiao)

Bug fixes

  • 修复上传文件时报错的问题 (@GaiZhenbiao)
  • 修复构建索引失败的问题 (@GaiZhenbiao)
  • 修复从历史记录中恢复时重试会出错的问题 (@GaiZhenbiao)

Miscellaneous

  • 固定 FAISS 版本 (@GaiZhenbiao)
  • 优化Logo和网页favicon (@MZhao-ouo)

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230614...20230619

- Python
Published by Keldos-Li over 2 years ago

chuanhuchatgpt - 20230614

我们第一时间新增了 GPT-3.5-16k 等新模型支持!

BREAKING

  • 🚀 新增 OpenAI 新模型支持! (@GaiZhenbiao)
      gpt-3.5-16k,
      gpt-3.5-turbo-0613,
      gpt-4-0613,
      gpt-4-32k-0613
  • 更新 gradio 3.33.1,重写了前后端 markdown 渲染逻辑 (@Keldos-Li, @GaiZhenbiao)
  • 移除原有 LaTeX 渲染相关配置选项,改为使用 gradio 新增的 KaTeX 渲染 (@Keldos-Li)

Features

  • 搜索功能重新使用 duckduckgo 搜索 (@GaiZhenbiao)
  • logging 中用户输入增加用户名显示 (@GaiZhenbiao, @slideslide)
  • 改进 gradio 3.33.1 下流式输出的代码块显示 (@Keldos-Li)

Bug fixes

  • 修复部分文件可能索引构建失败的问题 (@GaiZhenbiao)
  • 修复 xlsx 文件建立索引时出错的问题 (@GaiZhenbiao)
  • 修复历史记录中文编码可能无法读取的问题 (@MZhao-ouo)
  • 修复代码可能超出代码块、对齐错误和颜色错误的问题 (@Keldos-Li)
  • 修复用户输入可能未能保留原始格式的问题 (@Keldos-Li)

Miscellaneous

  • 改进 config 写入环境变量的方式 (@GaiZhenbiao)
  • 改进生成 embedding 时的稳定性 (@GaiZhenbiao)
  • 适配 gradio 3.33.1 新的代码块样式 (@Keldos-Li)
  • 移除原有的复制代码块功能,改用 gradio 新增的复制按钮 (@Keldos-Li)
  • 禁用httpx的log输出 (@MZhao-ouo)
  • 将html内容从presets移除 (@Keldos-Li)
  • 移除多余的注释 (@GaiZhenbiao)
  • 更新相关依赖要求

Full Changelog: https://github.com/GaiZhenbiao/ChuanhuChatGPT/compare/20230601...20230614

- Python
Published by Keldos-Li over 2 years ago