3 Commits
1.8.0 ... 1.8.1

Author SHA1 Message Date
IndieKKY
d7085ba75e chore: release 1.8.1 2024-02-18 10:33:24 +08:00
IndieKKY
b8d8b8fe06 模型更新 2024-02-18 10:33:00 +08:00
IndieKKY
d42844ac3c 不限制最大字数 2024-01-26 13:21:10 +08:00
4 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "哔哩哔哩字幕列表",
"description": "显示B站视频的字幕列表,可点击跳转与下载字幕,并支持翻译和总结字幕!",
"version": "1.8.0",
"version": "1.8.1",
"manifest_version": 3,
"permissions": [
"storage"

View File

@@ -1,7 +1,7 @@
{
"private": true,
"name": "bilibili-subtitle",
"version": "1.8.0",
"version": "1.8.1",
"type": "module",
"description": "哔哩哔哩字幕列表",
"main": "index.js",

View File

@@ -158,8 +158,8 @@ export const MODELS = [{
code: 'gpt-3.5-turbo',
name: 'gpt-3.5-turbo',
}, {
code: 'gpt-3.5-turbo-16k',
name: 'gpt-3.5-turbo-16k',
code: 'gpt-3.5-turbo-0125',
name: 'gpt-3.5-turbo-0125',
}, {
code: 'gpt-3.5-turbo-1106',
name: 'gpt-3.5-turbo-1106',

View File

@@ -14,7 +14,7 @@ import {
setTotalHeight,
} from '../redux/envReducer'
import {EventBusContext} from '../Router'
import {EVENT_EXPAND, TOTAL_HEIGHT_MAX, TOTAL_HEIGHT_MIN, WORDS_DEFAULT, WORDS_MAX, WORDS_MIN} from '../const'
import {EVENT_EXPAND, TOTAL_HEIGHT_MAX, TOTAL_HEIGHT_MIN, WORDS_DEFAULT, WORDS_MIN} from '../const'
import {useInterval} from 'ahooks'
import {getWholeText} from '../util/biz_util'
@@ -157,7 +157,7 @@ const useSubtitleService = () => {
if (items != null) {
if (envData.summarizeEnable) { // 分段
let size = envData.words??WORDS_DEFAULT
size = Math.min(Math.max(size, WORDS_MIN), WORDS_MAX)
size = Math.max(size, WORDS_MIN)
segments = []
let transcriptItems: TranscriptItem[] = []