mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: host port config
This commit is contained in:
parent
9fcc25a726
commit
efb5a8f174
1 changed files with 2 additions and 0 deletions
|
|
@ -156,6 +156,8 @@ export async function initChaite () {
|
||||||
chaite.setGetConfig(async () => {
|
chaite.setGetConfig(async () => {
|
||||||
return ChatGPTConfig
|
return ChatGPTConfig
|
||||||
})
|
})
|
||||||
|
chaite.getGlobalConfig().setHost(ChatGPTConfig.chaite.host)
|
||||||
|
chaite.getGlobalConfig().setPort(ChatGPTConfig.chaite.port)
|
||||||
logger.info('Chaite.RAGManager 初始化完成')
|
logger.info('Chaite.RAGManager 初始化完成')
|
||||||
chaite.runApiServer()
|
chaite.runApiServer()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue