add lazy loading support

This commit is contained in:
Osman Faruk Bayram 2025-06-19 03:19:33 +03:00
parent bb8391d7d9
commit b4db8de9b0
2 changed files with 8 additions and 1 deletions

View file

@ -1,5 +1,8 @@
{ {
plugins.avante.settings = { plugins.avante = {
lazyLoad.settings.event = [ "DeferredUIEnter" ];
settings = {
provider = "claude"; provider = "claude";
providers = { providers = {
claude = { claude = {
@ -12,4 +15,5 @@
}; };
}; };
}; };
};
} }

View file

@ -67,5 +67,8 @@
# ai support # ai support
avante.enable = true; avante.enable = true;
# lazy loading provider
lz-n.enable = true;
}; };
} }