mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 10:28:06 -05:00
refac
This commit is contained in:
@@ -153,10 +153,10 @@
|
||||
Placeholder.configure({ placeholder }),
|
||||
AIAutocompletion.configure({
|
||||
generateCompletion: async (text) => {
|
||||
// Implement your AI text generation logic here
|
||||
// This should return a Promise that resolves to the suggested text
|
||||
if (text.trim().length === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
console.log(text);
|
||||
return 'AI-generated suggestion';
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user