Skip to content

Commit

Permalink
Merge pull request #529 from appwrite/fix-ai-assistant
Browse files Browse the repository at this point in the history
Fix: AI Assistant
  • Loading branch information
TorstenDittmann authored Sep 6, 2023
2 parents 4af144c + 0bca11d commit 9922d24
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/lib/commandCenter/panels/ai.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

3 comments on commit 9922d24

@vercel
Copy link

@vercel vercel bot commented on 9922d24 Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

console-cloud – ./

console-cloud-appwrite.vercel.app
console-cloud-git-main-appwrite.vercel.app
console-cloud.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 9922d24 Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9922d24 Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

console-preview – ./

console-preview-git-main-appwrite.vercel.app
console-next.vercel.app
console-preview-appwrite.vercel.app

Please sign in to comment.