var llmManager = uniCloud.ai.getLLMManager({
// provider: 'azure'
appId: '__UNI__1EF92D0'
})
var res = await llmManager.chatCompletion({
messages: [{
role: 'user',
content: '今天广州天气怎么样'
}]
})
console.log(res);
18:37:24.993 [本地调试]Error: unable to verify the first certificate
18:37:24.993 [本地调试] at TLSSocket.onConnectSecure (node:_tls_wrap:1535:34)
18:37:24.993 [本地调试] at TLSSocket.emit (node:events:513:28)
18:37:24.993 [本地调试] at TLSSocket._finishInit (node:_tls_wrap:949:8)
18:37:24.993 [本地调试] at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:730:12)
18:37:24.993 [本地调试] at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17)
1 个回复
fisherjoe (作者)
已解决,公司网络问题。