Update Navigation.tsx

This commit is contained in:
Alex
2023-03-22 17:16:53 +00:00
parent e0258cfc51
commit 625448fcd1

View File

@@ -161,7 +161,7 @@ export default function Navigation({
<div className="absolute top-12 left-0 right-6 ml-2 mr-4 max-h-52 overflow-y-scroll bg-white shadow-lg"> <div className="absolute top-12 left-0 right-6 ml-2 mr-4 max-h-52 overflow-y-scroll bg-white shadow-lg">
{docs ? ( {docs ? (
docs.map((doc, index) => { docs.map((doc, index) => {
if (doc.model) { if (doc.model === 'openai_text-embedding-ada-002') {
return ( return (
<div <div
key={index} key={index}