Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

docs(bingai.js): remove commented example response and add reference to demo file

Daniel Avila0846aa043679
diff --git a/api/app/clients/bingai.js b/api/app/clients/bingai.js
index c6463e6de1..916485e435 100644
--- a/api/app/clients/bingai.js
+++ b/api/app/clients/bingai.js
@@ -70,30 +70,8 @@ const askBing = async ({
return res;
- // Example response for reference
- // {
- // conversationSignature: 'wwZ2GC/qRgEqP3VSNIhbPGwtno5RcuBhzZFASOM+Sxg=',
- // conversationId: '51D|BingProd|026D3A4017554DE6C446798144B6337F4D47D5B76E62A31F31D0B1D0A95ED868',
- // clientId: '914800201536527',
- // invocationId: 1,
- // conversationExpiryTime: '2023-02-15T21:48:46.2892088Z',
- // response: 'Hello, this is Bing. Nice to meet you. 😊',
- // details: {
- // text: 'Hello, this is Bing. Nice to meet you. 😊',
- // author: 'bot',
- // createdAt: '2023-02-15T15:48:43.0631898+00:00',
- // timestamp: '2023-02-15T15:48:43.0631898+00:00',
- // messageId: '9d0c9a80-91b1-49ab-b9b1-b457dc3fe247',
- // requestId: '5b252ef8-4f09-4c08-b6f5-4499d2e12fba',
- // offense: 'None',
- // adaptiveCards: [ [Object] ],
- // sourceAttributions: [],
- // feedback: { tag: null, updatedOn: null, type: 'None' },
- // contentOrigin: 'DeepLeo',
- // privacy: null,
- // suggestedResponses: [ [Object], [Object], [Object] ]
- // }
- // }
+ // for reference:
+ // https://github.com/waylaidwanderer/node-chatgpt-api/blob/main/demos/use-bing-client.js
};
module.exports = { askBing };