Skip to content

An AI-powered search engine with a generative UI

fix: restore model fetch cache to 1 hour (3600s)

Yoshiki Miuraad33520f46e5
diff --git a/lib/config/models.ts b/lib/config/models.ts
index f523a242..0b116ba0 100644
--- a/lib/config/models.ts
+++ b/lib/config/models.ts
@@ -21,7 +21,7 @@ const getModelsUncached = async function (baseUrl: string): Promise<Model[]> {
try {
const response = await fetch(modelUrl, {
- next: { revalidate: 0 },
+ next: { revalidate: 3600 },
headers: {
Accept: 'application/json'
}