claude-code - 💡(How to fix) Fix [Bug] CLI response latency exceeds 2 minutes with minimal token output [3 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47730Fetched 2026-04-15 06:43:53
View on GitHub
Comments
3
Participants
2
Timeline
7
Reactions
1
Author
Timeline (top)
labeled ×4commented ×3

Error Message

[{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (85 -> 85 messages). Message structure: [0] user; [1] assistant(id=msg_01YTbxiCk5q1cSp59uSnJ1R6, tool_uses=[toolu_01Xr7LsJwBUn7QTRUDJGxQAr]); [2] user(tool_results=[toolu_01Xr7LsJwBUn7QTRUDJGxQAr]); [3] assistant(id=msg_014rrjB34pKFgccG5J2AHqh6, tool_uses=[toolu_01Dcddi1UdCQSnx4Kr4hPnZC]); [4] user(tool_results=[toolu_01Dcddi1UdCQSnx4Kr4hPnZC]); [5] assistant(id=msg_016Fm2wKifHZqwAc234cQgCX, tool_uses=[toolu_01YCj3KUujZYXKudAszGM86U]); [6] user(tool_results=[toolu_01YCj3KUujZYXKudAszGM86U]); [7] assistant(id=msg_01XDWMzHGjHkd7Cx8bfGpfc4, tool_uses=[toolu_01TrsHT7Zp8XzAsU5p314WDY]); [8] user(tool_results=[toolu_01TrsHT7Zp8XzAsU5p314WDY]); [9] assistant(id=msg_012sy88u5iscT2zpohy2GttU, tool_uses=[toolu_01KDuxnkS4UqyaSwYiXZGsGb]); [10] user(tool_results=[toolu_01KDuxnkS4UqyaSwYiXZGsGb]); [11] assistant(id=msg_01SNbAyKe5jctNra446JzAAA, tool_uses=[toolu_01Ga74Aw4fzzuX1JL7T6WfXk]); [12] user(tool_results=[toolu_01Ga74Aw4fzzuX1JL7T6WfXk]); [13] assistant(id=msg_01E14SGrrRzwuv6bSe1Hy5Gs, tool_uses=[toolu_01TeTRvyPYG8cds3Au45cFow]); [14] user(tool_results=[toolu_01TeTRvyPYG8cds3Au45cFow]); [15] assistant(id=msg_01665cacc3mAEWWu9FhKWyxJ, tool_uses=[toolu_01Dravw4NYTmFfxHKV22j6xD]); [16] user(tool_results=[toolu_01Dravw4NYTmFfxHKV22j6xD]); [17] assistant(id=msg_01TVa3dzkSF84tUDPkaTJ9tL, tool_uses=[toolu_01KCsrqSx3asKVo3SP9vA9mg]); [18] user(tool_results=[toolu_01KCsrqSx3asKVo3SP9vA9mg]); [19] assistant(id=msg_012v3scL8TpYBkULUjAcGtfx, tool_uses=[toolu_01MXr79JupAfPHukbttB2WN9]); [20] user(tool_results=[toolu_01MXr79JupAfPHukbttB2WN9]); [21] assistant(id=msg_01JfAdGGziLSZhjwWenBeWwa, tool_uses=[toolu_01XcKQpnHZLerB5TWMYDCTUq]); [22] user(tool_results=[toolu_01XcKQpnHZLerB5TWMYDCTUq]); [23] assistant(id=msg_01UeUgjQLxcLv1buEgHsskue, tool_uses=[toolu_011M5nwHXq8kNiwLwGQat83r]); [24] user(tool_results=[toolu_011M5nwHXq8kNiwLwGQat83r]); [25] assistant(id=msg_01CLCou3FVr7P4WmVMdRuebm, tool_uses=[toolu_01M4X9CVRqPqpNxkEeZ5roBu]); [26] user(tool_results=[toolu_01M4X9CVRqPqpNxkEeZ5roBu]); [27] assistant(id=msg_01LyQjkz88BqPkoapppjtw18, tool_uses=[toolu_01K9VJ6Qmu9yFHcLdZfoAcFm]); [28] user(tool_results=[toolu_01K9VJ6Qmu9yFHcLdZfoAcFm]); [29] assistant(id=msg_0112YHUek7XeKmnjxgKyyfEd, tool_uses=[toolu_016ytAeV6bg4Gjfje8afJcMt]); [30] user(tool_results=[toolu_016ytAeV6bg4Gjfje8afJcMt]); [31] assistant(id=msg_01AEz3UeW9aHw9pmCF9BfBLZ, tool_uses=[toolu_01KopvJe8ns38m9JnAKve37o]); [32] user(tool_results=[toolu_01KopvJe8ns38m9JnAKve37o]); [33] assistant(id=msg_013W7vKXkz76c4kgUQfkc99p, tool_uses=[toolu_0152vzaAqEyJ1jbF1kPALmCM]); [34] user(tool_results=[toolu_0152vzaAqEyJ1jbF1kPALmCM]); [35] assistant(id=msg_01LnmYMLnHSMKhoHcVQgpYiZ, tool_uses=[]); [36] user; [37] assistant(id=msg_01C92CmYSHBLwh5XF9o5Zw1V, tool_uses=[toolu_01JF2dt8oTQpa5z251HymCAk]); [38] user(tool_results=[toolu_01JF2dt8oTQpa5z251HymCAk]); [39] assistant(id=msg_015k1CRfNj2NaktRErtZvQac, tool_uses=[toolu_01HoRVQ3am5AQoqxj2idfhSn]); [40] user(tool_results=[toolu_01HoRVQ3am5AQoqxj2idfhSn]); [41] assistant(id=msg_014CcPvv46nGvReq1wgxJLLr, tool_uses=[toolu_01PAM1VEKgmF6c33Q5v7pswv]); [42] user(tool_results=[toolu_01PAM1VEKgmF6c33Q5v7pswv]); [43] assistant(id=msg_01KRqW6P9ZfP8b2vqmJgXeGp, tool_uses=[toolu_016kteNh2w3sndzPHacMUk3n]); [44] user(tool_results=[toolu_016kteNh2w3sndzPHacMUk3n]); [45] assistant(id=msg_01DGd1nZhHqc59584EGYrYxN, tool_uses=[toolu_01PvFYDWUCf5D35Sk5yY6AqL]); [46] user(tool_results=[toolu_01PvFYDWUCf5D35Sk5yY6AqL]); [47] assistant(id=msg_01BW7AQJTvYuauSoZZAbnwfG, tool_uses=[toolu_01Pxv7Z5u4FoGYKTo3dqPfax]); [48] user(tool_results=[toolu_01Pxv7Z5u4FoGYKTo3dqPfax]); [49] assistant(id=msg_01QSYJqzzwYQ8nbTU4mSGVdT, tool_uses=[toolu_01DVPsxQESBWFDy1oKSZrUjm]); [50] user(tool_results=[toolu_01DVPsxQESBWFDy1oKSZrUjm]); [51] assistant(id=msg_01MpmaHMQNCKPfDMSPphFpu5, tool_uses=[toolu_01JyfuioJ2tsW8LFwN5HKZsD]); [52] user(tool_results=[toolu_01JyfuioJ2tsW8LFwN5HKZsD]); [53] assistant(id=msg_01XCp1uG9Ky8GBXxG8ajAvoE, tool_uses=[toolu_016MozKnGRu7QkLz1M2Xjau2]); [54] user(tool_results=[toolu_016MozKnGRu7QkLz1M2Xjau2]); [55] assistant(id=msg_01Rp9HWUmSAzMQpg6Xhk2C3c, tool_uses=[toolu_016nq5C3mahM77squVHevJC4]); [56] user(tool_results=[toolu_016nq5C3mahM77squVHevJC4]); [57] assistant(id=msg_01Y5Rdkb7wRJDoFboUCQDixm, tool_uses=[toolu_01Ne9J9jodCQGbBpNKewyvee]); [58] user(tool_results=[toolu_01Ne9J9jodCQGbBpNKewyvee]); [59] assistant(id=msg_01NjfPW7zYVBqdfj5f67pUhq, tool_uses=[toolu_016HTGRwLd3YDkSm1jmS7yc4,toolu_0158CEsCPqU3kCPFitewk7dc,toolu_01WYeoM7YYqv6wersyvaj77t]); [60] user(tool_results=[toolu_016HTGRwLd3YDkSm1jmS7yc4,toolu_01WYeoM7YYqv6wersyvaj77t,toolu_0158CEsCPqU3kCPFitewk7dc]); [61] assistant(id=msg_0134FWgegJ6YD38hWqfXiuBn, tool_uses=[toolu_011TP42XWGT6DX672MNv7yis]); [62] user(tool_results=[toolu_011TP42XWGT6DX672MNv7yis]); [63] assistant(id=msg_01NgpvMscJovs32ARSrGWiBp, tool_uses=[toolu_01BKu9RXmT1inpVAGRK6ZMJD]); [64] user(tool_results=[toolu_01BKu9RXmT1inpVAGRK6ZMJD]); [65] assistant(id=msg_01FLB8kSw8roKVXRzyhwdwgg, tool_uses=[toolu_012bibH9VsZm4NULTpxtCBe4]); [66] user(tool_results=[toolu_012bibH9VsZm4NULTpxtCBe4]); [67] assistant(id=msg_01ELsJwSsZvHQBqmQmcyvSoq, tool_uses=[toolu_01NDNhwEbqTiA5aC3ad1TYbx]); [68] user…

Code Example

[{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (85 -> 85 messages). Message structure: [0] user; [1] assistant(id=msg_01YTbxiCk5q1cSp59uSnJ1R6, tool_uses=[toolu_01Xr7LsJwBUn7QTRUDJGxQAr]); [2] user(tool_results=[toolu_01Xr7LsJwBUn7QTRUDJGxQAr]); [3] assistant(id=msg_014rrjB34pKFgccG5J2AHqh6, tool_uses=[toolu_01Dcddi1UdCQSnx4Kr4hPnZC]); [4] user(tool_results=[toolu_01Dcddi1UdCQSnx4Kr4hPnZC]); [5] assistant(id=msg_016Fm2wKifHZqwAc234cQgCX, tool_uses=[toolu_01YCj3KUujZYXKudAszGM86U]); [6] user(tool_results=[toolu_01YCj3KUujZYXKudAszGM86U]); [7] assistant(id=msg_01XDWMzHGjHkd7Cx8bfGpfc4, tool_uses=[toolu_01TrsHT7Zp8XzAsU5p314WDY]); [8] user(tool_results=[toolu_01TrsHT7Zp8XzAsU5p314WDY]); [9] assistant(id=msg_012sy88u5iscT2zpohy2GttU, tool_uses=[toolu_01KDuxnkS4UqyaSwYiXZGsGb]); [10] user(tool_results=[toolu_01KDuxnkS4UqyaSwYiXZGsGb]); [11] assistant(id=msg_01SNbAyKe5jctNra446JzAAA, tool_uses=[toolu_01Ga74Aw4fzzuX1JL7T6WfXk]); [12] user(tool_results=[toolu_01Ga74Aw4fzzuX1JL7T6WfXk]); [13] assistant(id=msg_01E14SGrrRzwuv6bSe1Hy5Gs, tool_uses=[toolu_01TeTRvyPYG8cds3Au45cFow]); [14] user(tool_results=[toolu_01TeTRvyPYG8cds3Au45cFow]); [15] assistant(id=msg_01665cacc3mAEWWu9FhKWyxJ, tool_uses=[toolu_01Dravw4NYTmFfxHKV22j6xD]); [16] user(tool_results=[toolu_01Dravw4NYTmFfxHKV22j6xD]); [17] assistant(id=msg_01TVa3dzkSF84tUDPkaTJ9tL, tool_uses=[toolu_01KCsrqSx3asKVo3SP9vA9mg]); [18] user(tool_results=[toolu_01KCsrqSx3asKVo3SP9vA9mg]); [19] assistant(id=msg_012v3scL8TpYBkULUjAcGtfx, tool_uses=[toolu_01MXr79JupAfPHukbttB2WN9]); [20] user(tool_results=[toolu_01MXr79JupAfPHukbttB2WN9]); [21] assistant(id=msg_01JfAdGGziLSZhjwWenBeWwa, tool_uses=[toolu_01XcKQpnHZLerB5TWMYDCTUq]); [22] user(tool_results=[toolu_01XcKQpnHZLerB5TWMYDCTUq]); [23] assistant(id=msg_01UeUgjQLxcLv1buEgHsskue, tool_uses=[toolu_011M5nwHXq8kNiwLwGQat83r]); [24] user(tool_results=[toolu_011M5nwHXq8kNiwLwGQat83r]); [25] assistant(id=msg_01CLCou3FVr7P4WmVMdRuebm, tool_uses=[toolu_01M4X9CVRqPqpNxkEeZ5roBu]); [26] user(tool_results=[toolu_01M4X9CVRqPqpNxkEeZ5roBu]); [27] assistant(id=msg_01LyQjkz88BqPkoapppjtw18, tool_uses=[toolu_01K9VJ6Qmu9yFHcLdZfoAcFm]); [28] user(tool_results=[toolu_01K9VJ6Qmu9yFHcLdZfoAcFm]); [29] assistant(id=msg_0112YHUek7XeKmnjxgKyyfEd, tool_uses=[toolu_016ytAeV6bg4Gjfje8afJcMt]); [30] user(tool_results=[toolu_016ytAeV6bg4Gjfje8afJcMt]); [31] assistant(id=msg_01AEz3UeW9aHw9pmCF9BfBLZ, tool_uses=[toolu_01KopvJe8ns38m9JnAKve37o]); [32] user(tool_results=[toolu_01KopvJe8ns38m9JnAKve37o]); [33] assistant(id=msg_013W7vKXkz76c4kgUQfkc99p, tool_uses=[toolu_0152vzaAqEyJ1jbF1kPALmCM]); [34] user(tool_results=[toolu_0152vzaAqEyJ1jbF1kPALmCM]); [35] assistant(id=msg_01LnmYMLnHSMKhoHcVQgpYiZ, tool_uses=[]); [36] user; [37] assistant(id=msg_01C92CmYSHBLwh5XF9o5Zw1V, tool_uses=[toolu_01JF2dt8oTQpa5z251HymCAk]); [38] user(tool_results=[toolu_01JF2dt8oTQpa5z251HymCAk]); [39] assistant(id=msg_015k1CRfNj2NaktRErtZvQac, tool_uses=[toolu_01HoRVQ3am5AQoqxj2idfhSn]); [40] user(tool_results=[toolu_01HoRVQ3am5AQoqxj2idfhSn]); [41] assistant(id=msg_014CcPvv46nGvReq1wgxJLLr, tool_uses=[toolu_01PAM1VEKgmF6c33Q5v7pswv]); [42] user(tool_results=[toolu_01PAM1VEKgmF6c33Q5v7pswv]); [43] assistant(id=msg_01KRqW6P9ZfP8b2vqmJgXeGp, tool_uses=[toolu_016kteNh2w3sndzPHacMUk3n]); [44] user(tool_results=[toolu_016kteNh2w3sndzPHacMUk3n]); [45] assistant(id=msg_01DGd1nZhHqc59584EGYrYxN, tool_uses=[toolu_01PvFYDWUCf5D35Sk5yY6AqL]); [46] user(tool_results=[toolu_01PvFYDWUCf5D35Sk5yY6AqL]); [47] assistant(id=msg_01BW7AQJTvYuauSoZZAbnwfG, tool_uses=[toolu_01Pxv7Z5u4FoGYKTo3dqPfax]); [48] user(tool_results=[toolu_01Pxv7Z5u4FoGYKTo3dqPfax]); [49] assistant(id=msg_01QSYJqzzwYQ8nbTU4mSGVdT, tool_uses=[toolu_01DVPsxQESBWFDy1oKSZrUjm]); [50] user(tool_results=[toolu_01DVPsxQESBWFDy1oKSZrUjm]); [51] assistant(id=msg_01MpmaHMQNCKPfDMSPphFpu5, tool_uses=[toolu_01JyfuioJ2tsW8LFwN5HKZsD]); [52] user(tool_results=[toolu_01JyfuioJ2tsW8LFwN5HKZsD]); [53] assistant(id=msg_01XCp1uG9Ky8GBXxG8ajAvoE, tool_uses=[toolu_016MozKnGRu7QkLz1M2Xjau2]); [54] user(tool_results=[toolu_016MozKnGRu7QkLz1M2Xjau2]); [55] assistant(id=msg_01Rp9HWUmSAzMQpg6Xhk2C3c, tool_uses=[toolu_016nq5C3mahM77squVHevJC4]); [56] user(tool_results=[toolu_016nq5C3mahM77squVHevJC4]); [57] assistant(id=msg_01Y5Rdkb7wRJDoFboUCQDixm, tool_uses=[toolu_01Ne9J9jodCQGbBpNKewyvee]); [58] user(tool_results=[toolu_01Ne9J9jodCQGbBpNKewyvee]); [59] assistant(id=msg_01NjfPW7zYVBqdfj5f67pUhq, tool_uses=[toolu_016HTGRwLd3YDkSm1jmS7yc4,toolu_0158CEsCPqU3kCPFitewk7dc,toolu_01WYeoM7YYqv6wersyvaj77t]); [60] user(tool_results=[toolu_016HTGRwLd3YDkSm1jmS7yc4,toolu_01WYeoM7YYqv6wersyvaj77t,toolu_0158CEsCPqU3kCPFitewk7dc]); [61] assistant(id=msg_0134FWgegJ6YD38hWqfXiuBn, tool_uses=[toolu_011TP42XWGT6DX672MNv7yis]); [62] user(tool_results=[toolu_011TP42XWGT6DX672MNv7yis]); [63] assistant(id=msg_01NgpvMscJovs32ARSrGWiBp, tool_uses=[toolu_01BKu9RXmT1inpVAGRK6ZMJD]); [64] user(tool_results=[toolu_01BKu9RXmT1inpVAGRK6ZMJD]); [65] assistant(id=msg_01FLB8kSw8roKVXRzyhwdwgg, tool_uses=[toolu_012bibH9VsZm4NULTpxtCBe4]); [66] user(tool_results=[toolu_012bibH9VsZm4NULTpxtCBe4]); [67] assistant(id=msg_01ELsJwSsZvHQBqmQmcyvSoq, tool_uses=[toolu_01NDNhwEbqTiA5aC3ad1TYbx]); [68] user…
RAW_BUFFERClick to expand / collapse

Bug Description [Claude code CLI responds very slow, more than 2 minutes and only 13 tokens returned]

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.92
  • Feedback ID: f8e8195d-8d1b-4c0d-8ae2-46b8feec05c3

Errors

[{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (85 -> 85 messages). Message structure: [0] user; [1] assistant(id=msg_01YTbxiCk5q1cSp59uSnJ1R6, tool_uses=[toolu_01Xr7LsJwBUn7QTRUDJGxQAr]); [2] user(tool_results=[toolu_01Xr7LsJwBUn7QTRUDJGxQAr]); [3] assistant(id=msg_014rrjB34pKFgccG5J2AHqh6, tool_uses=[toolu_01Dcddi1UdCQSnx4Kr4hPnZC]); [4] user(tool_results=[toolu_01Dcddi1UdCQSnx4Kr4hPnZC]); [5] assistant(id=msg_016Fm2wKifHZqwAc234cQgCX, tool_uses=[toolu_01YCj3KUujZYXKudAszGM86U]); [6] user(tool_results=[toolu_01YCj3KUujZYXKudAszGM86U]); [7] assistant(id=msg_01XDWMzHGjHkd7Cx8bfGpfc4, tool_uses=[toolu_01TrsHT7Zp8XzAsU5p314WDY]); [8] user(tool_results=[toolu_01TrsHT7Zp8XzAsU5p314WDY]); [9] assistant(id=msg_012sy88u5iscT2zpohy2GttU, tool_uses=[toolu_01KDuxnkS4UqyaSwYiXZGsGb]); [10] user(tool_results=[toolu_01KDuxnkS4UqyaSwYiXZGsGb]); [11] assistant(id=msg_01SNbAyKe5jctNra446JzAAA, tool_uses=[toolu_01Ga74Aw4fzzuX1JL7T6WfXk]); [12] user(tool_results=[toolu_01Ga74Aw4fzzuX1JL7T6WfXk]); [13] assistant(id=msg_01E14SGrrRzwuv6bSe1Hy5Gs, tool_uses=[toolu_01TeTRvyPYG8cds3Au45cFow]); [14] user(tool_results=[toolu_01TeTRvyPYG8cds3Au45cFow]); [15] assistant(id=msg_01665cacc3mAEWWu9FhKWyxJ, tool_uses=[toolu_01Dravw4NYTmFfxHKV22j6xD]); [16] user(tool_results=[toolu_01Dravw4NYTmFfxHKV22j6xD]); [17] assistant(id=msg_01TVa3dzkSF84tUDPkaTJ9tL, tool_uses=[toolu_01KCsrqSx3asKVo3SP9vA9mg]); [18] user(tool_results=[toolu_01KCsrqSx3asKVo3SP9vA9mg]); [19] assistant(id=msg_012v3scL8TpYBkULUjAcGtfx, tool_uses=[toolu_01MXr79JupAfPHukbttB2WN9]); [20] user(tool_results=[toolu_01MXr79JupAfPHukbttB2WN9]); [21] assistant(id=msg_01JfAdGGziLSZhjwWenBeWwa, tool_uses=[toolu_01XcKQpnHZLerB5TWMYDCTUq]); [22] user(tool_results=[toolu_01XcKQpnHZLerB5TWMYDCTUq]); [23] assistant(id=msg_01UeUgjQLxcLv1buEgHsskue, tool_uses=[toolu_011M5nwHXq8kNiwLwGQat83r]); [24] user(tool_results=[toolu_011M5nwHXq8kNiwLwGQat83r]); [25] assistant(id=msg_01CLCou3FVr7P4WmVMdRuebm, tool_uses=[toolu_01M4X9CVRqPqpNxkEeZ5roBu]); [26] user(tool_results=[toolu_01M4X9CVRqPqpNxkEeZ5roBu]); [27] assistant(id=msg_01LyQjkz88BqPkoapppjtw18, tool_uses=[toolu_01K9VJ6Qmu9yFHcLdZfoAcFm]); [28] user(tool_results=[toolu_01K9VJ6Qmu9yFHcLdZfoAcFm]); [29] assistant(id=msg_0112YHUek7XeKmnjxgKyyfEd, tool_uses=[toolu_016ytAeV6bg4Gjfje8afJcMt]); [30] user(tool_results=[toolu_016ytAeV6bg4Gjfje8afJcMt]); [31] assistant(id=msg_01AEz3UeW9aHw9pmCF9BfBLZ, tool_uses=[toolu_01KopvJe8ns38m9JnAKve37o]); [32] user(tool_results=[toolu_01KopvJe8ns38m9JnAKve37o]); [33] assistant(id=msg_013W7vKXkz76c4kgUQfkc99p, tool_uses=[toolu_0152vzaAqEyJ1jbF1kPALmCM]); [34] user(tool_results=[toolu_0152vzaAqEyJ1jbF1kPALmCM]); [35] assistant(id=msg_01LnmYMLnHSMKhoHcVQgpYiZ, tool_uses=[]); [36] user; [37] assistant(id=msg_01C92CmYSHBLwh5XF9o5Zw1V, tool_uses=[toolu_01JF2dt8oTQpa5z251HymCAk]); [38] user(tool_results=[toolu_01JF2dt8oTQpa5z251HymCAk]); [39] assistant(id=msg_015k1CRfNj2NaktRErtZvQac, tool_uses=[toolu_01HoRVQ3am5AQoqxj2idfhSn]); [40] user(tool_results=[toolu_01HoRVQ3am5AQoqxj2idfhSn]); [41] assistant(id=msg_014CcPvv46nGvReq1wgxJLLr, tool_uses=[toolu_01PAM1VEKgmF6c33Q5v7pswv]); [42] user(tool_results=[toolu_01PAM1VEKgmF6c33Q5v7pswv]); [43] assistant(id=msg_01KRqW6P9ZfP8b2vqmJgXeGp, tool_uses=[toolu_016kteNh2w3sndzPHacMUk3n]); [44] user(tool_results=[toolu_016kteNh2w3sndzPHacMUk3n]); [45] assistant(id=msg_01DGd1nZhHqc59584EGYrYxN, tool_uses=[toolu_01PvFYDWUCf5D35Sk5yY6AqL]); [46] user(tool_results=[toolu_01PvFYDWUCf5D35Sk5yY6AqL]); [47] assistant(id=msg_01BW7AQJTvYuauSoZZAbnwfG, tool_uses=[toolu_01Pxv7Z5u4FoGYKTo3dqPfax]); [48] user(tool_results=[toolu_01Pxv7Z5u4FoGYKTo3dqPfax]); [49] assistant(id=msg_01QSYJqzzwYQ8nbTU4mSGVdT, tool_uses=[toolu_01DVPsxQESBWFDy1oKSZrUjm]); [50] user(tool_results=[toolu_01DVPsxQESBWFDy1oKSZrUjm]); [51] assistant(id=msg_01MpmaHMQNCKPfDMSPphFpu5, tool_uses=[toolu_01JyfuioJ2tsW8LFwN5HKZsD]); [52] user(tool_results=[toolu_01JyfuioJ2tsW8LFwN5HKZsD]); [53] assistant(id=msg_01XCp1uG9Ky8GBXxG8ajAvoE, tool_uses=[toolu_016MozKnGRu7QkLz1M2Xjau2]); [54] user(tool_results=[toolu_016MozKnGRu7QkLz1M2Xjau2]); [55] assistant(id=msg_01Rp9HWUmSAzMQpg6Xhk2C3c, tool_uses=[toolu_016nq5C3mahM77squVHevJC4]); [56] user(tool_results=[toolu_016nq5C3mahM77squVHevJC4]); [57] assistant(id=msg_01Y5Rdkb7wRJDoFboUCQDixm, tool_uses=[toolu_01Ne9J9jodCQGbBpNKewyvee]); [58] user(tool_results=[toolu_01Ne9J9jodCQGbBpNKewyvee]); [59] assistant(id=msg_01NjfPW7zYVBqdfj5f67pUhq, tool_uses=[toolu_016HTGRwLd3YDkSm1jmS7yc4,toolu_0158CEsCPqU3kCPFitewk7dc,toolu_01WYeoM7YYqv6wersyvaj77t]); [60] user(tool_results=[toolu_016HTGRwLd3YDkSm1jmS7yc4,toolu_01WYeoM7YYqv6wersyvaj77t,toolu_0158CEsCPqU3kCPFitewk7dc]); [61] assistant(id=msg_0134FWgegJ6YD38hWqfXiuBn, tool_uses=[toolu_011TP42XWGT6DX672MNv7yis]); [62] user(tool_results=[toolu_011TP42XWGT6DX672MNv7yis]); [63] assistant(id=msg_01NgpvMscJovs32ARSrGWiBp, tool_uses=[toolu_01BKu9RXmT1inpVAGRK6ZMJD]); [64] user(tool_results=[toolu_01BKu9RXmT1inpVAGRK6ZMJD]); [65] assistant(id=msg_01FLB8kSw8roKVXRzyhwdwgg, tool_uses=[toolu_012bibH9VsZm4NULTpxtCBe4]); [66] user(tool_results=[toolu_012bibH9VsZm4NULTpxtCBe4]); [67] assistant(id=msg_01ELsJwSsZvHQBqmQmcyvSoq, tool_uses=[toolu_01NDNhwEbqTiA5aC3ad1TYbx]); [68] user…

Note: Content was truncated.

extent analysis

TL;DR

The Claude code CLI is responding very slowly, taking over 2 minutes to return only 13 tokens, suggesting a potential issue with the tool's performance or the system's configuration.

Guidance

  • The error message indicates that the tool is experiencing issues with "ensureToolResultPairing" and is repairing missing tool result blocks, which could be contributing to the slow response time.
  • The provided JSON data shows a large number of assistant and user interactions, which may be causing the system to become overwhelmed and leading to the slow response.
  • To mitigate this issue, it may be helpful to investigate the system's configuration and performance, as well as the specific tool being used, to identify any potential bottlenecks or areas for optimization.
  • Additionally, reviewing the JSON data to understand the pattern of interactions and identifying any potential issues with the data itself may also be beneficial.

Notes

The provided information is limited, and the content was truncated, which may not provide a complete understanding of the issue. Further investigation and analysis of the system and tool configuration, as well as the JSON data, would be necessary to determine the root cause of the problem.

Recommendation

Apply workaround: Investigate the system's configuration and performance, as well as the specific tool being used, to identify any potential bottlenecks or areas for optimization, and review the JSON data to understand the pattern of interactions and identify any potential issues with the data itself.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] CLI response latency exceeds 2 minutes with minimal token output [3 comments, 2 participants]