mirror of
https://github.com/idootop/mi-gpt.git
synced 2025-04-15 17:45:52 +00:00
chore: 默认网络请求超时上调为 5 秒
This commit is contained in:
parent
8d48ee5b86
commit
84e039cc76
|
@ -101,6 +101,7 @@ export class BaseSpeaker {
|
||||||
|
|
||||||
constructor(config: BaseSpeakerConfig) {
|
constructor(config: BaseSpeakerConfig) {
|
||||||
this.config = config;
|
this.config = config;
|
||||||
|
this.config.timeout = config.timeout ?? 5000;
|
||||||
const {
|
const {
|
||||||
debug = false,
|
debug = false,
|
||||||
streamResponse = true,
|
streamResponse = true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user