feat: support config host name and proxy address

This commit is contained in:
Wentao Lyu 2023-03-11 14:12:51 +08:00
parent fb9f77ae5e
commit 06c99154ac
4 changed files with 32 additions and 28 deletions

View file

@ -5,6 +5,7 @@ const clientOptions = {
modelOptions: {
model: 'gpt-3.5-turbo'
},
proxy: process.env.PROXY || null,
debug: false
};