mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-06-27 22:06:39 +08:00
small fix for bing web mode
This commit is contained in:
@@ -76,7 +76,7 @@ export async function generateAnswersWithBingWebApi(
|
||||
)
|
||||
}
|
||||
|
||||
if (response.details.sourceAttributions.length > 0) {
|
||||
if (response.details.sourceAttributions && response.details.sourceAttributions.length > 0) {
|
||||
const footnotes =
|
||||
'\n\\-\n' +
|
||||
response.details.sourceAttributions
|
||||
|
||||
Reference in New Issue
Block a user