add lazy loading support
This commit is contained in:
parent
bb8391d7d9
commit
b4db8de9b0
2 changed files with 8 additions and 1 deletions
|
|
@ -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 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -67,5 +67,8 @@
|
||||||
|
|
||||||
# ai support
|
# ai support
|
||||||
avante.enable = true;
|
avante.enable = true;
|
||||||
|
|
||||||
|
# lazy loading provider
|
||||||
|
lz-n.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue