danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
19.09k stars 3.17k forks source link

[Bug]: BingAl crashes after first answer #768

Closed wcgXi closed 1 year ago

wcgXi commented 1 year ago

Contact Details

No response

What happened?

I install windows docker LibreChat. I ask BingAl,it answers ok,but the web will clash after bingAl answering. (other al is working properly)

Steps to Reproduce

  1. ask bingal
  2. web crash

What browsers are you seeing the problem on?

Chrome

Relevant log output

ask log {
LibreChat         |   userMessage: {
LibreChat         |     messageId: '1b1bf925-8ec5-486f-8289-e9c39826e479',
LibreChat         |     sender: 'User',
LibreChat         |     text: 'hello!',
LibreChat         |     parentMessageId: '00000000-0000-0000-0000-000000000000',
LibreChat         |     conversationId: '4849e34f-fc9c-4e95-9d69-94b8299c20ae',
LibreChat         |     isCreatedByUser: true
LibreChat         |   },
LibreChat         |   endpointOption: {
LibreChat         |     jailbreak: false,
LibreChat         |     systemMessage: null,
LibreChat         |     context: null,
LibreChat         |     conversationSignature: null,
LibreChat         |     clientId: null,
LibreChat         |     invocationId: 1,
LibreChat         |     toneStyle: 'creative',
LibreChat         |     token: null
LibreChat         |   },
LibreChat         |   conversationId: '4849e34f-fc9c-4e95-9d69-94b8299c20ae'
LibreChat         | }
chat-meilisearch  | [2023-08-07T01:38:32Z INFO  actix_web::middleware::logger] 172.18.0.4 "GET /indexes/convos/documents/4849e34f-fc9c-4e95-9d69-94b8299c20ae HTTP/1.1" 404 189 "-" "undici" 0.000552
LibreChat         | [Meilisearch] Convo not found and will index 4849e34f-fc9c-4e95-9d69-94b8299c20ae
chat-meilisearch  | [2023-08-07T01:38:32Z INFO  actix_web::middleware::logger] 172.18.0.4 "POST /indexes/messages/documents HTTP/1.1" 202 137 "-" "undici" 0.065068
LibreChat         | bing options {
LibreChat         |   conversationId: '4849e34f-fc9c-4e95-9d69-94b8299c20ae',
LibreChat         |   context: null,
chat-meilisearch  | [2023-08-07T01:38:32Z INFO  actix_web::middleware::logger] 172.18.0.4 "POST /indexes/convos/documents HTTP/1.1" 202 135 "-" "undici" 0.098508
LibreChat         |   systemMessage: null,
LibreChat         |   parentMessageId: '00000000-0000-0000-0000-000000000000',
LibreChat         |   toneStyle: 'creative',
LibreChat         |   onProgress: [Function: wrapper],
LibreChat         |   clientOptions: { features: { genImage: [Object] } }
LibreChat         | }
chat-meilisearch  | [2023-08-07T01:38:32Z INFO  index_scheduler::batch] document addition done: DocumentAdditionResult { indexed_documents: 1, number_of_documents: 19 }
chat-meilisearch  | [2023-08-07T01:38:32Z INFO  index_scheduler] A batch of tasks was successfully completed.
chat-meilisearch  | [2023-08-07T01:38:33Z INFO  index_scheduler::batch] document addition done: DocumentAdditionResult { indexed_documents: 1, number_of_documents: 9 }
chat-meilisearch  | [2023-08-07T01:38:33Z INFO  index_scheduler] A batch of tasks was successfully completed.
LibreChat         | BING RESPONSE {
LibreChat         |   conversationId: '51D|BingProd|F302BF1F6B913966CFA93FE94C356DB8F2B5ED3F82A6A080F6B4A8CB887F3731',
LibreChat         |   conversationSignature: 'K6oBUT9HzsnkPBdvXYrA36EoJRVrT+6hMhDgFF2/uAk=',
LibreChat         |   clientId: '985153908994715',
LibreChat         |   invocationId: 1,
LibreChat         |   conversationExpiryTime: '2023-08-07T07:38:43.2242078Z',
LibreChat         |   response: "Hello, this is Bing. I'm happy to chat with you. 😊\n" +
LibreChat         |     '\n' +
LibreChat         |     "What are you interested in? You can ask me anything, or tell me something about yourself. I'm always eager to learn new things. 🤓",
LibreChat         |   details: {
LibreChat         |     text: "Hello, this is Bing. I'm happy to chat with you. 😊\n" +
LibreChat         |       '\n' +
LibreChat         |       "What are you interested in? You can ask me anything, or tell me something about yourself. I'm always eager to learn new things. 🤓",
LibreChat         |     author: 'bot',
LibreChat         |     createdAt: '2023-08-07T01:38:40.883421+00:00',
LibreChat         |     timestamp: '2023-08-07T01:38:40.883421+00:00',
LibreChat         |     messageId: 'bcfaef76-9a48-4b49-befd-7018281bdf28',
LibreChat         |     requestId: 'a32266d0-b77a-4b04-843a-d83889a14149',
LibreChat         |     offense: 'None',
LibreChat         |     adaptiveCards: [ [Object] ],
LibreChat         |     sourceAttributions: [],
LibreChat         |     feedback: { tag: null, updatedOn: null, type: 'None' },
LibreChat         |     contentOrigin: 'DeepLeo',
LibreChat         |     scores: [ [Object], [Object] ],
LibreChat         |     suggestedResponses: [ [Object], [Object], [Object] ]
LibreChat         |   }
LibreChat         | }
chat-meilisearch  | [2023-08-07T01:38:42Z INFO  actix_web::middleware::logger] 172.18.0.4 "GET /indexes/convos/documents/4849e34f-fc9c-4e95-9d69-94b8299c20ae HTTP/1.1" 200 76 "-" "undici" 0.004387
chat-meilisearch  | [2023-08-07T01:38:42Z INFO  actix_web::middleware::logger] 172.18.0.4 "POST /indexes/messages/documents HTTP/1.1" 202 137 "-" "undici" 0.114941
chat-meilisearch  | [2023-08-07T01:38:42Z INFO  actix_web::middleware::logger] 172.18.0.4 "POST /indexes/messages/documents HTTP/1.1" 202 136 "-" "undici" 0.163364
chat-meilisearch  | [2023-08-07T01:38:42Z INFO  index_scheduler::batch] document addition done: DocumentAdditionResult { indexed_documents: 1, number_of_documents: 20 }
chat-meilisearch  | [2023-08-07T01:38:42Z INFO  index_scheduler] A batch of tasks was successfully completed.
chat-meilisearch  | [2023-08-07T01:38:43Z INFO  index_scheduler::batch] document addition done: DocumentAdditionResult { indexed_documents: 1, number_of_documents: 21 }
chat-meilisearch  | [2023-08-07T01:38:43Z INFO  index_scheduler] A batch of tasks was successfully completed.

Screenshots

屏幕截图 2023-08-07 094145

Code of Conduct

danny-avila commented 1 year ago

This issue was fixed earlier today. Update to the latest commit on main, you can run “npm run update” if you have npm installed