Commit 1462a24
authored
fix(ui): show all tool calls and results when loading session data (#1227)
When multiple tool calls are made the UI correctly reflects the calls:
<img width="1677" height="1198" alt="image"
src="https://github.com/user-attachments/assets/53e49634-7e6d-4952-ae9b-7c624603bc12"
/>
However, when the chat is refreshed only 1 of the tool calls will be
displayed.
<img width="1684" height="795" alt="image"
src="https://github.com/user-attachments/assets/d2436ca1-2406-4a60-9453-f556d2b6824f"
/>
This PR fixes this issue ensuring that all tool calls are correctly
displayed when loading an existing session.
Signed-off-by: Brian Fox <[email protected]>1 parent 2ad96e1 commit 1462a24
1 file changed
+18
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
80 | | - | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
84 | | - | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
89 | 96 | | |
90 | 97 | | |
91 | 98 | | |
| |||
105 | 112 | | |
106 | 113 | | |
107 | 114 | | |
| 115 | + | |
| 116 | + | |
108 | 117 | | |
109 | 118 | | |
110 | 119 | | |
| |||
113 | 122 | | |
114 | 123 | | |
115 | 124 | | |
116 | | - | |
| 125 | + | |
117 | 126 | | |
118 | 127 | | |
119 | 128 | | |
120 | 129 | | |
121 | | - | |
| 130 | + | |
122 | 131 | | |
123 | 132 | | |
124 | 133 | | |
125 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
126 | 140 | | |
127 | 141 | | |
128 | 142 | | |
| |||
0 commit comments