render api templates if exitst
This commit is contained in:
@@ -316,7 +316,8 @@ export default function ChatBOX(props: {
|
||||
请先在上方设置 API Endpoint
|
||||
</p>
|
||||
)}
|
||||
{(chatStore.history.filter((msg) => !msg.example).length == 0 ||
|
||||
{templateAPIs.length > 0 &&
|
||||
(chatStore.history.filter((msg) => !msg.example).length == 0 ||
|
||||
!chatStore.apiEndpoint ||
|
||||
!chatStore.apiKey) && (
|
||||
<p className="break-all opacity-80 p-3 rounded bg-white my-3 text-left dark:text-black">
|
||||
|
||||
Reference in New Issue
Block a user