We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2375b18 commit 40cdb96Copy full SHA for 40cdb96
app/app.py
@@ -278,9 +278,7 @@ def post_intercom_reply(conversation_id, response_text):
278
return response.json(), response.status_code
279
280
281
-# Endpoint to get a whole conversation thread in Intercom and send an LLM answer to user
282
-@app.route('/intercom/conversations/<conversation_id>', methods=['GET'])
283
-@csrf.exempt
+# Retrieves a whole conversation thread in Intercom and returns an LLM answer to the user
284
def get_intercom_conversation(conversation_id):
285
logger.info(f"Received request to get conversation {conversation_id}")
286
0 commit comments