fix: host port config

This commit is contained in:
ikechan8370 2025-03-17 21:34:16 +08:00
parent 9fcc25a726
commit efb5a8f174

View file

@ -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()
} }