)]}'
{
  "commit": "b9f10afcc2eb807363a0f177ce9f184c43772c9e",
  "tree": "fa279745ea5935cfd0aec74c1fc02470ae98d8c6",
  "parents": [
    "24d5501fb6b29561bf6a8831c27ab435443bd6da"
  ],
  "author": {
    "name": "Patrizio",
    "email": "patrizio.gelosi@amarulasolutions.com",
    "time": "Thu Jun 13 11:17:13 2024 +0200"
  },
  "committer": {
    "name": "Patrizio",
    "email": "patrizio.gelosi@amarulasolutions.com",
    "time": "Thu Jun 27 15:58:15 2024 +0200"
  },
  "message": "Handle \"message_creation\" responses in JSON format\n\nOccasionally, ChatGPT\u0027s \"message_creation\" response may include a\nJSON-structured output embedded within a plain text message. This update\nensures these cases are properly managed.\n\nChange-Id: I16ef37448cd65bbf10ba779636b74754ba2317f8\nSigned-off-by: Patrizio \u003cpatrizio.gelosi@amarulasolutions.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f0eb5f85db25ec367ccf29c0e1be3b18ecbac424",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/api/chatgpt/ChatGptClientStateful.java",
      "new_id": "3d7b0b7561c9a78ac44db19dcb528a093baef7f6",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/api/chatgpt/ChatGptClientStateful.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e03ca7b9da68f7ad96a9da515adba3f1803560ce",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/utils/JsonTextUtils.java"
    },
    {
      "type": "modify",
      "old_id": "75be9c3fc6c5fbcf0b40069502c806837418f149",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/chatgpt/ChatGptReviewStatefulTest.java",
      "new_id": "5b0788238c92b40a0cafa78a4b98c1f4e73bf5fa",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/chatgpt/ChatGptReviewStatefulTest.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0cabd66242ffd999fd526898fb5db2852f39b3ff",
      "new_mode": 33188,
      "new_path": "src/test/resources/__files/chatGptResponseThreadMessageJson.json"
    },
    {
      "type": "rename",
      "old_id": "a001e40f758a027fe7dc56b79e52887e14533460",
      "old_mode": 33188,
      "old_path": "src/test/resources/__files/chatGptResponseThreadMessage.json",
      "new_id": "a001e40f758a027fe7dc56b79e52887e14533460",
      "new_mode": 33188,
      "new_path": "src/test/resources/__files/chatGptResponseThreadMessageText.json",
      "score": 100
    }
  ]
}
