feat: add verified desktop ChatGPT subscription connection
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { modelCatalog } from "@/src/server";
|
||||
import { modelCatalog, refreshConnectionCatalog } from "@/src/server";
|
||||
|
||||
/**
|
||||
* The model picker's data (model-control wave): pi-ai's configured-provider
|
||||
@@ -7,5 +7,6 @@ import { modelCatalog } from "@/src/server";
|
||||
* catalog: no network, stable within a pi-ai version.
|
||||
*/
|
||||
export async function GET() {
|
||||
return Response.json(modelCatalog());
|
||||
await refreshConnectionCatalog();
|
||||
return Response.json(modelCatalog(), { headers: { "Cache-Control": "no-store" } });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user