mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-11 22:51:05 +00:00
fix: type error
This commit is contained in:
parent
fe337af9e2
commit
d1506c3f95
1 changed files with 4 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ import {
|
|||
} from "@langchain/cloudflare";
|
||||
import { Ai } from '@cloudflare/ai';
|
||||
import { OpenAIEmbeddings } from "./OpenAIEmbedder";
|
||||
import { AiTextGenerationOutput } from "@cloudflare/ai/dist/tasks/text-generation";
|
||||
import { AiTextGenerationOutput } from "@cloudflare/ai/dist/ai/tasks/text-generation";
|
||||
|
||||
export interface Env {
|
||||
VECTORIZE_INDEX: VectorizeIndex;
|
||||
|
|
@ -158,5 +158,8 @@ export default {
|
|||
},
|
||||
});
|
||||
}
|
||||
|
||||
return new Response(JSON.stringify({ message: "Invalid Request" }), { status: 400 });
|
||||
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue