add initial lsp support
This commit is contained in:
parent
afd9ad0560
commit
cfdd687216
47 changed files with 13991 additions and 451 deletions
|
|
@ -49,12 +49,21 @@ type Log struct {
|
|||
Level string `json:"level"`
|
||||
}
|
||||
|
||||
type LSPConfig struct {
|
||||
Disabled bool `json:"enabled"`
|
||||
Command string `json:"command"`
|
||||
Args []string `json:"args"`
|
||||
Options any `json:"options"`
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
Data *Data `json:"data,omitempty"`
|
||||
Log *Log `json:"log,omitempty"`
|
||||
MCPServers map[string]MCPServer `json:"mcpServers,omitempty"`
|
||||
Providers map[models.ModelProvider]Provider `json:"providers,omitempty"`
|
||||
|
||||
LSP map[string]LSPConfig `json:"lsp,omitempty"`
|
||||
|
||||
Model *Model `json:"model,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue