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