feat: to new api

This commit is contained in:
Joel
2023-05-09 14:56:37 +08:00
parent d728cbb267
commit 06f502a524
5 changed files with 59 additions and 8 deletions

View File

@ -18,4 +18,4 @@ export const setSession = (sessionId: string) => {
return { 'Set-Cookie': `session_id=${sessionId}` }
}
export const client = new ChatClient(API_KEY)
export const client = new ChatClient(API_KEY)