Skip to content

Releases: LTopx/Le-AI

v0.9.2 Support unlimited sessions and Docker deployment 🔥🔥

27 Sep 08:15
Compare
Choose a tag to compare

v0.9.2 支持了 Docker 部署,感谢 @kanrin 大力支持。同时支持了无限会话功能,可以自定义会话阈值将历史消息进行总结,提升会话的连贯性。

v0.9.2

新增

  • 支持 Docker 部署,#15
  • 新增支持配置会员阈值进行会话总结,达到“无限会话”的效果
  • "会话设置" 新增支持配置 历史消息压缩阈值

修复

  • 修复 avatar UI 显示错误问题
  • 修复 .env.local.demo 文件中的配置错误
  • 修复多语言配置错误
  • 修复 remark-gfm 版本升级后造成 react-markdown 内容解析错误的问题
  • 修复会话 loading 时的 Loading 图标显示效果
  • 修复 next-intl 缺少默认时区报错的问题
  • 修复部分情况下系统设置菜单无法正常打开的问题
  • 修复 #10

调整

  • 重构部分页面模块 UI,迁移到 shadcn/ui
  • 调整 OpenAI API Key 的代理配置逻辑,修复 #11
  • 会话 loading 时禁止播放语音
  • 调整 Serverless Functions 的超时时间为 5 分钟
  • 调整账户中心 UI 界面

v0.9.2 added support for Docker deployment, thanks to @kanrin for the strong support. It also supports unlimited session functionality, allowing customization of session thresholds to summarize historical messages and improve session coherence.

Add

  • Support Docker deployment, #15
  • Added support for configuring a member threshold for session summarization to achieve the effect of "unlimited sessions"
  • "Session Settings" added support for configuring the threshold of message compression for historical messages.

Fixed

  • Fix avatar UI display error issue
  • Fix configuration error in .env.local.demo file
  • Fix multiple language configuration errors
  • Fix the issue of parsing error in react-markdown caused by upgrading remark-gfm version
  • Fix the display effect of the loading icon during session loading
  • Fix the error of missing default time zone for next-intl
  • Fix the issue where the system settings menu cannot be opened properly in some cases
  • Fixed #10

Changed

  • Reconstruct some page module UI and migrate to shadcn/ui
  • Adjust the proxy configuration logic for OpenAI API Key, fix #11
  • Disable voice playback during conversation loading.
  • Adjust the timeout time of Serverless Functions to 5 minutes.
  • Adjust account center UI interface.

v0.9.1 Support configuring third-party OpenAI API Key 🔥🔥

11 Sep 15:17
Compare
Choose a tag to compare

v0.9.1 版本主要带来两个更新。支持账号密码登录;兼容配置其他第三方 OpenAI API Key,例如:nextweb,API2D

修复

  • 修复部署项目时配置自定义的 API Key 后鉴权逻辑有误的问题
  • 修复部分情况下回复出现乱码的问题
  • 修复 #8
  • 修复邮件登录页面背景图片显示不正确的问题
  • 修复新建角色时,prompt 和欢迎语字数限制的问题

新增

  • 支持账号密码登录
  • API Key 配置页面新增返回首页按钮
  • 登录界面新增隐私协议和登录指引
  • 兼容配置其他第三方 OpenAI API Key。例如:nextweb,API2D 等等

调整

  • 更新 Azure OpenAI API Version 为 2023-08-01-preview
  • 调整系统左侧底部菜单 UI
  • 重构新建角色弹出框 UI
  • 调整 prompt, messages 传参实现逻辑,全部由前端解析并组装

v0.9.1 The main version brings two updates. Support for account password login; compatible with configuring other third-party OpenAI API Keys, such as: nextweb, API2D

Fixed

  • Fixed the issue of incorrect authentication logic after configuring a custom API Key when deploying a project
  • Fixed the issue of garbled characters in some cases when replying
  • Fixed #8
  • Fixed the issue of incorrect background image display on the email login page
  • Fix the issue of character creation prompt and welcome message word limit

Add

  • Support for account/password login
  • Added a return to home button on the API Key configuration page
  • Added privacy agreement and login guide to the login interface.
  • Compatible with configuring other third-party OpenAI API Keys. For example: nextweb, API2D, and so on.

Changed

  • Update Azure OpenAI API Version to 2023-08-01-preview
  • Adjust the UI of the left bottom menu in the system
  • Refactor the UI of the pop-up box for creating a new character
  • Adjust the implementation logic of prompt, messages parameters, all parsed and assembled by the front end

v0.9.0 Windows、Mac Beta Client Supported 🔥🔥

02 Sep 13:28
Compare
Choose a tag to compare

v0.9.0 这个版本主要带来 Windows、Mac 客户端的支持。目前处于 Beta 版本

下载链接

修复

  • 修复未登录但配置了 API KEY 时无法使用的问题
  • 修复无效链接
  • 修复 chatgpt 接口的跨域问题
  • 修复 metadataBase 缺失的问题
  • 修复 OpenRouter Key 的跳转链接问题
  • 修复请求错误时没有携带跨域头的问题
  • 修复令牌页面 Table 的样式问题
  • 修复 issue of missing metadataBase and env variable #6

新增

  • 新增支持 Windows、Mac Beta 客户端
  • 新增支持一键清空会话
  • 新增令牌管理页面相关逻辑和数据库表构建
  • 新增左侧菜单重要公告提示
  • 自构建令牌打通 OpenAI、Azure OpenAI、OpenRouter 接口逻辑
  • 新增支持配置 Le-AI API Key
  • 引入 shadcn/ui 优化部分组件样式
  • 新增繁体中文支持

调整

  • 调整项目名称:L-GPT => Le-AI
  • 调整项目内所有关于 L-GPT 的文案和相关链接
  • 调整部分代码结构
  • 判断是否配置 key 的逻辑把 Le-AI API Key 加上了
  • 调整用户凭证过期时间为 14 天
  • 重构精简全局多语言配置
  • 重构登录界面 UI
  • 调整 OpenRouter 部分模型的权限

v0.9.0 This version mainly brings support for Windows and Mac clients. It is currently in beta version.

Download link

Fixed

  • Fixed the issue of being unable to use when not logged in but configured with an API KEY
  • Fixing invalid links.
  • Fixing the cross-domain issue with the chatgpt interface.
  • Fixing the issue of missing metadataBase.
  • Fixed the redirect link issue for OpenRouter Key.
  • Fixing the issue of not carrying cross-domain headers when requesting an error.
  • Fixed the style issue with the Table on the token page.
  • Fixed: issue of missing metadataBase and env variable #6

Add

  • Added support for Windows and Mac Beta clients.
  • Added support for one-click session clearing
  • Added logic and database table construction for token management page
  • Added important announcement prompt in the left-side menu
  • Self-built token integration logic for OpenAI, Azure OpenAI, and OpenRouter interfaces
  • Added support for configuring Le-AI API Key
  • Introduced shadcn/ui to optimize the style of some components
  • Added support for Traditional Chinese

Changed

  • Adjust the project name: L-GPT => Le-AI
  • Adjust all the copy and related links within the project regarding L-GPT.
  • Adjusted some code structure
  • Add the Le-AI API Key to the logic for determining whether the key is configured.
  • Adjusted the user credential expiration time to 14 days.
  • Refactor and streamline global multilingual configuration.
  • Refactor the login interface UI.
  • Adjusted the permissions of some models in OpenRouter.

v0.8.4 Encryption Cloud Sync 🔥🔥

19 Aug 15:38
Compare
Choose a tag to compare

v0.8.4 版本更新,支持了加密云同步功能。保证隐私的同时,提供多设备同步信息的便利。

change

新增

  • 角色模板新增支持配置欢迎语,作为会话默认的第一句话
  • 新增隐私协议和联系方式
  • 新增云同步功能,可以同步会话内容到云端,方便在不同设备之间同步

调整

  • 支持 OpenRouter 配置的导入导出
  • 调整左侧底部菜单布局
  • 调整 OpenRouter 提供的模型权限为 free
  • 调整云备份额度,免费用户可备份 50KB 数据

v0.8.4 update, added support for encrypted cloud synchronization feature. Ensuring privacy while providing the convenience of synchronizing information across multiple devices.

change

Add

  • Support for configuring welcome messages has been added to the character template, serving as the default first sentence of a conversation.
  • Add privacy policy and contact information.
  • Added cloud synchronization function, which can synchronize conversation content to the cloud for easy synchronization between different devices.

Changed

  • Support for importing and exporting configurations of OpenRouter.
  • Adjust the layout of the bottom left menu.
  • Adjust the model permissions provided by OpenRouter to free.
  • Adjust the cloud backup quota, free users can back up 50KB of data.

v0.8.3 Add Google Search & OpenRouter🔥🔥

13 Aug 05:34
Compare
Choose a tag to compare

v0.8.3 重磅更新,引入了 function calling ,初步支持 Google Search 插件;还引入OpenRouter 支持了更多大语言模型!
这个版本引入了对开发者非常好用的 function calling 功能,暂时开发了第一个插件:Google Seach,在超过 LLM 认知范畴外的东西将会调用 Google Search API 进行搜索然后总结返回给用户,后续也将支持更多插件甚至自定义插件。
除此之外,由于其他众多模型的 API 权限难以申请通过,因此引入了 OpenRouter 来支持了诸如 Claude、PaLM、Llama 2 等模型。

change

修复

  • 修复移动端会话内容遮挡底部输入框的问题
  • 重构 function calling 的调用逻辑,修复 bug
  • 修复新会话选择模型时,下拉选择框出现“漂移”的情况
  • 修复会话列表头像被挤压的问题

新增

  • 新增 function calling 支持.
  • 新增插件系统
  • 新增支持谷歌搜索,在遇到超出 AI 模型训练日期的问题时能够调用谷歌 api 进行搜索并返回结果
  • 引入 OpenRouter,支持 Claude、PaLM2、Llama 2 等模型

调整

  • 调整编辑聊天内容的文本输入框为 Textarea
  • 将谷歌搜索 由官方 API 更换为 Serper API,配置更方便
  • 各个模型在获取会话标题时统一使用 openai gpt-3.5-turbo,节省 token 消耗
  • 在使用 OpenRouter 提供的模型时,隐藏插件,因为他们暂不支持插件

v0.8.3 brings a major update, introducing function calling and initial support for the Google Search plugin; it also introduces OpenRouter to support more large language models!

This version introduces the highly useful function calling feature for developers. We have initially developed the first plugin: Google Search. Anything beyond the scope of LLM cognition will trigger a call to the Google Search API for searching and summarizing results to be returned to users. In the future, we will also support more plugins, including custom ones.

In addition, due to difficulties in obtaining API permissions for other numerous models, we have introduced OpenRouter to support models such as Claude, PaLM, and Llama 2.

change

Fixed

  • Fixed mobile session content obscuring the bottom input box
  • Refactored function calling invocation logic and fixed bugs
  • Fixed the "drift" of the drop-down selection box when selecting a new session model
  • Fix the issue of squeezed avatars in the conversation list.

Add

  • Added function calling support
  • Added plugin system
  • Added support for Google search, which can call the Google API to search and return results when encountering problems that exceed the AI model training date
  • Introduced OpenRouter to support Claude, PaLM2, Llama 2 and other models

Changed

  • Adjusted the text input box for editing chat content to Textarea
  • Replaced Google search with Serper API, which is easier to configure
  • All models use openai gpt-3.5-turbo to get conversation titles, saving token consumption
  • When using the models provided by OpenRouter, the plugins are hidden because they do not support plugins at this time

v0.8.1 Character Module & Logo Added🔥🔥

04 Aug 07:12
Compare
Choose a tag to compare

v0.8.1 版本史诗级更新!!终于迎来了产品 logo🤣🤣。
该版本迎来了 prompt 功能的回归,重新设计了 character 角色模块,现在能够使用诸多角色进行会话。还引入了全新的 logo,以及对seo 相关配置进行了优化,添加了opengraph-image 和 twitter-image等

xx
charactor

修复

  • 修复重新生成对话出错时无法正常弹出错误信息的问题

新增

  • 新增 AI 角色模板模板功能,内置部分常用模板
  • AI 角色模板新增自定义功能,用户可以自定义模板使用
  • 支持 url 传参的形式导入 prompt
  • 新增 AI 角色模板的收藏功能
  • 添加更多 AI 角色模板
  • 新增 AI 角色模板的导入和导出功能
  • 新增支持编辑聊天内容
  • 会话内容操作按钮区域新增文字提示信息
  • 新增项目 logo
  • 新增 opengraph-image 和 twitter-image

调整

  • 调整 gpt-tokens 计算模块,现在能够正确计算所有消耗的 token
  • 调整注册策略,现在用户注册即送 10000 点数
  • 优化 AI 角色模板弹窗界面的显示效果
  • 配合官方文档,调整 zustand api
  • 替换部分 Input 为 Textarea

v0.8.1 Epic Update!! Finally, the product logo is here 🤣🤣.
This version brings back the prompt feature and redesigns the character module, allowing conversations with various characters. It also introduces a brand new logo and optimizes SEO-related configurations by adding opengraph-image and twitter-image, etc.

Fixed

  • Fixed the issue of not being able to pop up error messages when re-generating conversations fails

Add

  • Added AI Characters template function, built-in some common templates
  • AI character template has added a new customization feature, allowing users to customize and use templates according to their preferences.
  • Support for importing prompts in the form of url parameters
  • Added the ability to collect AI character templates
  • Added more AI character templates
  • Added import and export functions for AI character templates
  • Added support for editing chat content
  • Added text prompt information to the conversation content operation button area
  • Added project logo
  • Added opengraph-image and twitter-image

Changed

  • Adjust the gpt-tokens calculation module, now able to correctly calculate all token consumption
  • Adjust the registration policy, now users will receive 10000 points upon registration
  • Optimize the display effect of the AI character template pop-up window
  • Adjust zustand api in accordance with official documentation
  • Replace some Input to Textarea

v0.8.0 Zustand Refactor

23 Jul 14:34
Compare
Choose a tag to compare

v0.8.0 版本更新。该版本主要针对 zustand 状态管理相关的逻辑进行了全方位重构,极大的减少了无意义的 render,提升产品的性能。同时为了进一步统一和规范整体界面风格,引入了@ltopx/lx-ui 库进行 UI 组件的替换。还有其他大量优化,赶紧来试试吧

新增

  • 新增引入 @ltopx/lx-ui 组件库,进一步统一全局风格样式

修复

  • 修复不同模型下费用扣除不正确的问题(之前少扣了不少费用)

调整

  • 移除 @vercel/analytics
  • 移除 sentry
  • 暂时移除 prompt market,下周末之前重构好上线
  • 重构 zustand 状态相关的大部分逻辑,极大的减少 render 次数,提升整体性能
  • 移除 plausible,替换监控为 umami

v0.8.0 version update. This version mainly focuses on the comprehensive refactoring of zustand state management logic, greatly reducing unnecessary renders and improving product performance. At the same time, in order to further unify and standardize the overall interface style, @ltopx/lx-ui library has been introduced for UI component replacement. There are also many other optimizations, come and give it a try!

Add

  • Added the introduction of @ltopx/lx-ui component library to further unify the global style.

Fixed

  • Fixed the problem of incorrect deduction of fees under different models (previously, a lot of fees were deducted).

Changed

  • Remove @vercel/analytics
  • Remove sentry
  • Temporarily remove prompt market, refactor and go online before next weekend
  • Refactor most of the logic related to zustand status, greatly reduce the number of renders, and improve the overall performance.
  • Replace plausible with umami for monitoring

v0.7.2 Performance optimization 🔥🔥

30 Jun 14:52
Compare
Choose a tag to compare

🔥🔥v0.7.2 版本发布。该版本主要围绕着性能方面做了一些优化。重构了会话列表组件,精简了部分模块代码,整个图标和样式风格也开始进一步统一。此外,还新增了Azure TTS以及其自动播放的功能。

image

修复

  • 修复本地引入 azure tts 后,缺失 bufferutil 和 utf-8-validate 的 bug
  • 修复在 service 端错误引用了 client 代码的问题
  • 修复 azure tts 播放和暂停控制的 bug

新增

  • 新建会话时,沿用用户之前选择的语言模型
  • 添加初始化全局 loading
  • Azure TTS 新增自动播放选项(Premium)

调整

  • 重构滚动列表模块,优化性能
  • 删减部分多余功能,提升性能
  • 优化 UI 细节,统一全局图标样式。将 react-icons 替换为 MingCute Icon
  • 优化 OpenAI/Azure 接口返回错误格式
  • 升级 gpt-tokens 依赖

🔥🔥Version 0.7.2 has been released. This version mainly focuses on performance optimization. The session list component has been refactored, and some module code has been streamlined. The overall icon and style have also been further unified. In addition, Azure TTS and its automatic playback function have been added. The specific updates are as follows:

Fixed

  • Fixed bug of missing bufferutil and utf-8-validate after importing azure tts locally
  • Fixed issue of mistakenly referencing client code in the service side
  • Fix bug for Azure TTS play and pause controls

Add

  • Use the language model previously selected by the user when creating a new conversation.
  • Add global initialization loading
  • Azure TTS adds an automatic playback option (Premium)

Changed

  • Refactor scrolling list module, optimize performance
  • Remove unnecessary features to improve performance.
  • Optimize UI details and unify global icon styles. Replace react-icons with MingCute Icon.
  • Optimize OpenAI/Azure API to return error messages in a more user-friendly format
  • Upgrade gpt-tokens dependency

v0.7.0 Added Premium feature 🔥🔥

21 Jun 10:40
Compare
Choose a tag to compare

🔥🔥v0.7.0 版本更新啦。该版本主要更新了高级会员功能,解锁Token额度充值功能,以及确认修复了之前polyfill不生效的问题。具体更新内容如下:

修复

  • 修复 Github 登录时点击取消返回页面显示有误的问题 #2
  • 修复 polyfill 不生效的问题,确保其在 client 加载
  • 修复高级版用户再免费试用时用户权限错误变更的问题

新增

  • 新增 Premium 功能,支持作者后续研发
  • 新增支持 Token 充值,解锁更多会话额度
  • 新增激活许可证引导
  • 新增 Token 不足时的引导:开始免费试用 or 充值 Token
  • 新增 Free trial 和 Premium 的 token 赠送数额说明
  • 新增定时任务每日核算 Token 消耗
  • 新增 Product Hunt/Twitter 平台活动码

调整

  • 调整激活 license key 的位置到左侧菜单,更加醒目
  • 优化 clipboard 使用

🔥🔥Version 0.7.0 has been released. This version mainly updates the advanced membership features, unlocks token quota recharge function, and confirms the fix for the previous polyfill not working issue. The specific update contents are as follows:

Fixed

  • Fix the issue where the page displays incorrectly when clicking Cancel during Github login #2
  • Fixed the problem of polyfill not working, ensuring that it is loaded on the client
  • Fixed the issue where the permissions of advanced users changed incorrectly when they were on a free trial.

Add

  • Added Premium feature to support author's future development
  • Added support for Token recharge to unlock more session quotas
  • Added activation guide
  • Guidance when there is insufficient Token for adding: Start Free Trial or Recharge Token
  • Added token allocation details for Free trial and Premium
  • Added daily scheduled task to calculate token consumption
  • Add promotion codes for Product Hunt/Twitter platforms

Changed

  • Move the activation of the license key to the left menu for better visibility
  • Optimize clipboard usage

v0.6.1 Released 🔥🔥

14 Jun 15:10
Compare
Choose a tag to compare

🔥🔥v0.6.1 版本发布。该版本主要是对项目进行了部分模块的重构,以及解决了一个项目初期就挖下的坑🤣🤣还新增了OpenAI今天凌晨发布的两个新模型:gpt-3.5-turbo-0613/gpt-3.5-turbo-16k

image

新增

  • 新增后端计算 token 消耗的能力
  • 新增菜单处显示当前消耗的总 token 数量
  • 新增支持多会话同时对话,切换会话时不会断掉当前会话的链接
  • 新增支持 openai 刚更新的模型: gpt-3.5-turbo-0613/gpt-3.5-turbo-16k

修复

  • 后端计算 token 修改为异步,不然会导致计算不准确
  • 修复菜单置顶计算排序方式有误的问题

调整

  • 优化前端计算 token 的逻辑,现在能够正确计算所有消耗的 token
  • 大量代码和交互细节优化

🔥🔥Version v0.6.1 released. This version mainly refactors some modules of the project and fixes a pit dug in the early stage of the project 🤣🤣. It also adds two new models released by OpenAI early this morning: gpt-3.5-turbo-0613/gpt-3.5-turbo-16k.

Added

  • Added backend ability to calculate token consumption
  • Added display of total token consumption in the menu
  • Added support for multiple simultaneous conversations without disconnecting the current session when switching
  • Added support for openai's newly updated model: gpt-3.5-turbo-0613/gpt-3.5-turbo-16k

Fixed

  • Modified backend token calculation to be asynchronous, preventing inaccurate calculations
  • Fixed sorting method for menu display

Adjusted

  • Optimized frontend token calculation logic to accurately calculate all token consumption
  • Significant code and interaction optimizations