ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Feature Request] tts语音播放增加缓存功能

Open
#5,631 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 🥰 需求描述

当前每次点击播放按钮都会发送一个请求获取音频,即使是完全相同的内容

可不可以增加一个缓存功能,相同的内容直接调取缓存?

### 🧐 解决方案

对朗读内容、语音速度、语音模型等进行哈希,储存在localStorage中

### 📝 补充信息

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.