fix: hide "add a tool call"

This commit is contained in:
2024-01-30 10:01:51 +08:00
parent 55d8db1217
commit a35c392728

View File

@@ -79,8 +79,6 @@ export function EditMessageString({
</button> </button>
</span> </span>
<hr className="my-2" /> <hr className="my-2" />
</div>
))}
<span className="flex flex-col my-2 justify-between"> <span className="flex flex-col my-2 justify-between">
<button <button
className="bg-blue-300 text-black p-1 rounded" className="bg-blue-300 text-black p-1 rounded"
@@ -101,6 +99,8 @@ export function EditMessageString({
{Tr("Add a tool call")} {Tr("Add a tool call")}
</button> </button>
</span> </span>
</div>
))}
<textarea <textarea
className="rounded border border-gray-400 w-full h-32 my-2" className="rounded border border-gray-400 w-full h-32 my-2"
value={chat.content} value={chat.content}