Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app/api/ask-ai/route.ts
Browse files- app/api/ask-ai/route.ts +2 -2
app/api/ask-ai/route.ts
CHANGED
@@ -53,7 +53,7 @@ export async function POST(request: NextRequest) {
|
|
53 |
}
|
54 |
|
55 |
let token = userToken;
|
56 |
-
|
57 |
|
58 |
/**
|
59 |
* Handle local usage token, this bypass the need for a user token
|
@@ -234,7 +234,7 @@ export async function PUT(request: NextRequest) {
|
|
234 |
const selectedModel = MODELS[0];
|
235 |
|
236 |
let token = userToken;
|
237 |
-
|
238 |
|
239 |
/**
|
240 |
* Handle local usage token, this bypass the need for a user token
|
|
|
53 |
}
|
54 |
|
55 |
let token = userToken;
|
56 |
+
const billTo: string | null = null;
|
57 |
|
58 |
/**
|
59 |
* Handle local usage token, this bypass the need for a user token
|
|
|
234 |
const selectedModel = MODELS[0];
|
235 |
|
236 |
let token = userToken;
|
237 |
+
const billTo: string | null = null;
|
238 |
|
239 |
/**
|
240 |
* Handle local usage token, this bypass the need for a user token
|