This commit is contained in:
parent
b948dbaf3e
commit
2ea2ce282c
7
init.lua
7
init.lua
|
@ -609,7 +609,7 @@ require('lazy').setup({
|
||||||
-- - settings (table): Override the default settings passed when initializing the server.
|
-- - settings (table): Override the default settings passed when initializing the server.
|
||||||
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
-- For example, to see the options for `lua_ls`, you could go to: https://luals.github.io/wiki/settings/
|
||||||
local servers = {
|
local servers = {
|
||||||
-- clangd = {},
|
clangd = {},
|
||||||
-- gopls = {},
|
-- gopls = {},
|
||||||
pyright = {},
|
pyright = {},
|
||||||
-- rust_analyzer = {},
|
-- rust_analyzer = {},
|
||||||
|
@ -620,7 +620,10 @@ require('lazy').setup({
|
||||||
--
|
--
|
||||||
-- But for many setups, the LSP (`tsserver`) will work just fine
|
-- But for many setups, the LSP (`tsserver`) will work just fine
|
||||||
-- tsserver = {},
|
-- tsserver = {},
|
||||||
--
|
ts_ls = {},
|
||||||
|
eslint = {},
|
||||||
|
html = {},
|
||||||
|
cssls = {},
|
||||||
|
|
||||||
lua_ls = {
|
lua_ls = {
|
||||||
-- cmd = {...},
|
-- cmd = {...},
|
||||||
|
|
|
@ -47,7 +47,7 @@ return {
|
||||||
---@type AvanteSupportedProvider
|
---@type AvanteSupportedProvider
|
||||||
openai = {
|
openai = {
|
||||||
endpoint = 'https://api.openai.com/v1',
|
endpoint = 'https://api.openai.com/v1',
|
||||||
model = 'gpt-4o-mini', -- Replace with the desired OpenAI model
|
model = 'gpt-4o', -- Replace with the desired OpenAI model
|
||||||
timeout = 30000,
|
timeout = 30000,
|
||||||
temperature = 0.7,
|
temperature = 0.7,
|
||||||
max_tokens = 4096,
|
max_tokens = 4096,
|
||||||
|
|
Loading…
Reference in New Issue