mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Merge pull request #529 from appwrite/fix-ai-assistant
Fix: AI Assistant
This commit is contained in:
1 file changed
+4
-3
@@ -15,9 +15,10 @@
|
||||
const { input, handleSubmit, completion, isLoading, complete, error } = useCompletion({
|
||||
api: endpoint + '/console/assistant',
|
||||
headers: {
|
||||
'x-appwrite-mode': 'admin',
|
||||
'content-type': 'application/json'
|
||||
}
|
||||
'content-type': 'application/json',
|
||||
'x-appwrite-project': 'console'
|
||||
},
|
||||
credentials: 'include'
|
||||
});
|
||||
|
||||
let question = $input;
|
||||
|
||||
Reference in new issue
Block a user