This commit is contained in:
parent
f6fd1b8011
commit
4011b94d30
|
|
@ -6,12 +6,12 @@ import { createClient } from "@supabase/supabase-js"
|
|||
import OpenAI from "openai"
|
||||
import { getRuntimeEnvForRouterAPI } from "@/lib/runtime-env"
|
||||
|
||||
export const runtime = "nodejs"
|
||||
|
||||
export async function POST(request: Request) {
|
||||
|
||||
console.log("......[retrieve] request=", request)
|
||||
|
||||
export const runtime = "nodejs"
|
||||
|
||||
const json = await request.json()
|
||||
const { userInput, fileIds, embeddingsProvider, sourceCount } = json as {
|
||||
userInput: string
|
||||
|
|
|
|||
Loading…
Reference in New Issue