🐛 fix: proxy bug (#49)

This commit is contained in:
Buer
2024-01-20 13:26:11 +08:00
committed by GitHub
parent 33bb1a04a7
commit 2cc120f35b
16 changed files with 19 additions and 18 deletions

View File

@@ -17,7 +17,7 @@ func (f AzureSpeechProviderFactory) Create(channel *model.Channel) base.Provider
AudioSpeech: "/cognitiveservices/v1",
},
Channel: channel,
Requester: requester.NewHTTPRequester(channel.Proxy, nil),
Requester: requester.NewHTTPRequester(*channel.Proxy, nil),
},
}
}