Changesets · Branches · Tags · Compare
| Changeset | 2c1fc907ac7f02a59fb08f4e14e709c70979b6e59b9652a37b4e90a91e9e9cad |
|---|---|
| Author | Aditya Mitra <61635505+uinstinct@users.noreply.github.com> · 2025-07-22 02:48 +05:30 |
| Committer | GitHub <noreply@github.com> · 2025-07-21 14:18 -07:00 |
| Parents | 2a19f9e1d9ea |
3 files changed
modified gui/src/components/History/HistoryTableRow.tsx +4 −4
| @@ -79,7 +79,7 @@ | ||
| 79 | 79 | navigate("/"); |
| 80 | 80 | }} |
| 81 | 81 | > |
| 82 | - <div className="flex-1 cursor-pointer space-y-1"> | |
| 82 | + <td className="flex-1 cursor-pointer space-y-1"> | |
| 83 | 83 | {editing ? ( |
| 84 | 84 | <div> |
| 85 | 85 | <Input |
| @@ -114,10 +114,10 @@ | ||
| 114 | 114 | })} |
| 115 | 115 | </span> */} |
| 116 | 116 | </div> |
| 117 | - </div> | |
| 117 | + </td> | |
| 118 | 118 | |
| 119 | 119 | {hovered && !editing && ( |
| 120 | - <div className="bg-badge absolute right-2 top-1/2 ml-auto flex -translate-y-1/2 transform items-center gap-x-1 rounded-full px-2 py-1 shadow-md"> | |
| 120 | + <td className="bg-badge absolute right-2 top-1/2 ml-auto flex -translate-y-1/2 transform items-center gap-x-1 rounded-full px-2 py-1 shadow-md"> | |
| 121 | 121 | <HeaderButtonWithToolTip |
| 122 | 122 | text="Edit" |
| 123 | 123 | onClick={async (e) => { |
| @@ -136,7 +136,7 @@ | ||
| 136 | 136 | > |
| 137 | 137 | <TrashIcon width="1em" height="1em" /> |
| 138 | 138 | </HeaderButtonWithToolTip> |
| 139 | - </div> | |
| 139 | + </td> | |
| 140 | 140 | )} |
| 141 | 141 | </tr> |
| 142 | 142 | ); |
modified gui/src/components/console/Message.tsx +3 −1
| @@ -48,7 +48,9 @@ | ||
| 48 | 48 | {includeRole ? renderMessageRole(message.role) : ""} |
| 49 | 49 | {message.toolCalls |
| 50 | 50 | ? message.toolCalls.map((toolCall) => ( |
| 51 | - <pre>Tool call: {JSON.stringify(toolCall, undefined, 2)}</pre> | |
| 51 | + <pre key={toolCall.id}> | |
| 52 | + Tool call: {JSON.stringify(toolCall, undefined, 2)} | |
| 53 | + </pre> | |
| 52 | 54 | )) |
| 53 | 55 | : ""} |
| 54 | 56 | {renderMessageContent(message)} |
modified gui/src/components/mainInput/Lump/sections/tool-policies/ToolPolicyItem.tsx +2 −2
| @@ -161,8 +161,8 @@ | ||
| 161 | 161 | {parameters ? ( |
| 162 | 162 | <> |
| 163 | 163 | <span className="text-xs font-bold">Arguments:</span> |
| 164 | - {parameters.map((param) => ( | |
| 165 | - <div className="block"> | |
| 164 | + {parameters.map((param, idx) => ( | |
| 165 | + <div key={idx} className="block"> | |
| 166 | 166 | <code className="">{param[0]}</code> |
| 167 | 167 | <span className="ml-1">{`(${param[1].type}):`}</span> |
| 168 | 168 | <span className="ml-1 italic">{param[1].description}</span> |