chore: 默认网络请求超时上调为 5 秒

This commit is contained in:
WJG 2024-06-19 20:27:32 +08:00
parent 8d48ee5b86
commit 84e039cc76
No known key found for this signature in database
GPG Key ID: 258474EF8590014A

View File

@ -101,6 +101,7 @@ export class BaseSpeaker {
constructor(config: BaseSpeakerConfig) {
this.config = config;
this.config.timeout = config.timeout ?? 5000;
const {
debug = false,
streamResponse = true,