parent
7faa5f1c9f
commit
a68eb2a011
41 changed files with 2350 additions and 800 deletions
8
app/(chat)/actions.ts
Normal file
8
app/(chat)/actions.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
'use server';
|
||||
|
||||
import { cookies } from 'next/headers';
|
||||
|
||||
export async function saveModel(model: string) {
|
||||
const cookieStore = await cookies();
|
||||
cookieStore.set('model', model);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue