We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63b73cd + e78e657 commit 13bd7c6Copy full SHA for 13bd7c6
app/(chat)/api/chat/route.ts
@@ -147,6 +147,7 @@ export async function POST(request: Request) {
147
// Wrap the language model with supermemory
148
const baseModel = myProvider(session.user.id).languageModel(selectedChatModel);
149
const modelWithMemory = withSupermemory(baseModel, containerTag, {
150
+ conversationId: id,
151
mode: "full",
152
verbose: true,
153
addMemory: "always"
0 commit comments