show tool status

This commit is contained in:
2023-11-10 20:38:29 +08:00
parent 42094c1eab
commit e9f8183d66

View File

@@ -357,7 +357,10 @@ export default function ChatBOX(props: {
</button>{" "} </button>{" "}
<button className="underline"> <button className="underline">
{chatStore.streamMode ? Tr("STREAM") : Tr("FETCH")} {chatStore.streamMode ? Tr("STREAM") : Tr("FETCH")}
</button> </button>{" "}
{chatStore.toolsString.trim() && (
<button className="underline">TOOL</button>
)}
</div> </div>
<div className="text-xs"> <div className="text-xs">
<span className="underline">{chatStore.model}</span>{" "} <span className="underline">{chatStore.model}</span>{" "}