Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

we use POST to update now

nguyen.ngo4c5c8e6aedb4
diff --git a/extensions-web/src/conversational-web/api.ts b/extensions-web/src/conversational-web/api.ts
index 4fdbd6c69..bdd147edd 100644
--- a/extensions-web/src/conversational-web/api.ts
+++ b/extensions-web/src/conversational-web/api.ts
@@ -48,7 +48,7 @@ export class RemoteApi {
return this.authService.makeAuthenticatedRequest<ConversationResponse>(
url,
{
- method: 'PATCH',
+ method: 'POST',
body: JSON.stringify(data),
}
)