nginx配置proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade";systemctl restart nginx 解决了,核心原因是nginx默认没有开websockets参考
const webSearchPrompt = ` Using the provided web search results, write a comprehensive reply to the given query. If the provided search results refer to multiple subjects with the same name, write separate answers for each subject. Make sure to cite results using \`[[number](URL)]\` notation after the reference. Web search json results: """ ${JSON.stringify(searchResult)} """ Current date: """ ${new Date().toISOString()} """ Query: &
a
不过是些许风霜罢了