mirror of
https://github.com/idootop/mi-gpt.git
synced 2025-04-15 07:15:53 +00:00
chore: 添加 timeout 参数
This commit is contained in:
parent
8ea1636fd7
commit
d434627dfa
|
@ -79,6 +79,10 @@ export type BaseSpeakerConfig = MiServiceConfig & {
|
|||
* TTS 开始/结束提示音
|
||||
*/
|
||||
audioBeep?: string;
|
||||
/**
|
||||
* 网络请求超时时长,单位毫秒,默认值 3000 (3 秒)
|
||||
*/
|
||||
timeout?: number;
|
||||
};
|
||||
|
||||
export class BaseSpeaker {
|
||||
|
|
Loading…
Reference in New Issue
Block a user