)]}'
{
  "commit": "33f4a55cf9ca4e17496a68881d931c6528b28745",
  "tree": "ffc21ee80058a1c36360c59480f19c9020d9ebb7",
  "parents": [
    "477711631c8c41127727ecc7401d1c94087459b5"
  ],
  "author": {
    "name": "Patrizio",
    "email": "patrizio.gelosi@amarulasolutions.com",
    "time": "Wed Jun 12 10:00:49 2024 +0200"
  },
  "committer": {
    "name": "Patrizio",
    "email": "patrizio.gelosi@amarulasolutions.com",
    "time": "Thu Jun 27 15:58:15 2024 +0200"
  },
  "message": "Implement task-specific assistants\n\nDifferent assistants are now specialized for various tasks within the\nsame thread. This commit introduces an assistant specialized in handling\nreviews and another dedicated to managing requests directed at ChatGPT.\nAdditionally, this commit modifies the instantiation of the review\nassistant, which previously occurred upon patchset creation. It is now\ninitialized during the run creation process, aligning with the setup for\nthe requests assistant.\n\nChange-Id: I50aa362fa56dbb095f653eeedb4a6788befc52e9\nSigned-off-by: Patrizio \u003cpatrizio.gelosi@amarulasolutions.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c1a50ec9b47d4276d00c0308cb2bb00641d2d74a",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/PatchSetReviewer.java",
      "new_id": "47715d54b5474a12d080b929dc593f415ce6f8ae",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/PatchSetReviewer.java"
    },
    {
      "type": "rename",
      "old_id": "e2548d5109e8cae2f2eb0b4563babe52ca16f166",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/api/chatgpt/ChatGptAssistant.java",
      "new_id": "cc11000be03f34f21ced06b8f517eae422cba139",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/api/chatgpt/ChatGptAssistantBase.java",
      "score": 86
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c78d349dbc2af1191f07c075bd80ae3cb32a23cb",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/api/chatgpt/ChatGptAssistantRequests.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "26176f7850498a55b75368402bf7a7a9a9da1a9f",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/api/chatgpt/ChatGptAssistantReview.java"
    },
    {
      "type": "modify",
      "old_id": "02d50a6ec9013787c926d0c9e8b267d8853c64ad",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/api/chatgpt/ChatGptClientStateful.java",
      "new_id": "ca3bc3d078d4b84240b90e77b92d3425998dce33",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/api/chatgpt/ChatGptClientStateful.java"
    },
    {
      "type": "modify",
      "old_id": "bd734fa3ead52e40890babfc2ffc8a45c12b6f42",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/api/chatgpt/ChatGptRun.java",
      "new_id": "31d537ed3ef552b3a8ff54819789a5d6c0ccbc36",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/api/chatgpt/ChatGptRun.java"
    },
    {
      "type": "modify",
      "old_id": "7c66e5638c1b4d3c421ac7d5d9a92df1124d9fc1",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/api/gerrit/GerritClientPatchSetStateful.java",
      "new_id": "b1e6481b818c6d74e419444e241d5e2be3d32c91",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/api/gerrit/GerritClientPatchSetStateful.java"
    },
    {
      "type": "modify",
      "old_id": "8844427fe3a827b7864a4894d65da0634a9e7dbb",
      "old_mode": 33188,
      "old_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/prompt/ChatGptPromptStateful.java",
      "new_id": "40fec9b9e9b68611495d0d3be92e4d6acb460653",
      "new_mode": 33188,
      "new_path": "src/main/java/com/googlesource/gerrit/plugins/chatgpt/mode/stateful/client/prompt/ChatGptPromptStateful.java"
    },
    {
      "type": "modify",
      "old_id": "f7f41088920e250ebcef20d51b0278295afff91c",
      "old_mode": 33188,
      "old_path": "src/main/resources/config/promptsStateful.json",
      "new_id": "415a8683e1c4f3c082121392554724c678e81dd2",
      "new_mode": 33188,
      "new_path": "src/main/resources/config/promptsStateful.json"
    },
    {
      "type": "modify",
      "old_id": "d5ecc1734063530cd8f2af24ebe2c253212dc5cd",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/chatgpt/ChatGptReviewStatefulTest.java",
      "new_id": "75be9c3fc6c5fbcf0b40069502c806837418f149",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/chatgpt/ChatGptReviewStatefulTest.java"
    },
    {
      "type": "modify",
      "old_id": "ee6116f30ce1a703dbe96fe52caf3f7a4e3f3ac5",
      "old_mode": 33188,
      "old_path": "src/test/java/com/googlesource/gerrit/plugins/chatgpt/ChatGptReviewTestBase.java",
      "new_id": "fbe3f4b310510c940d9b2b1b468ff8a7c74aa727",
      "new_mode": 33188,
      "new_path": "src/test/java/com/googlesource/gerrit/plugins/chatgpt/ChatGptReviewTestBase.java"
    }
  ]
}
