mirror of
https://github.com/SilasMarvin/lsp-ai.git
synced 2025-12-19 07:24:24 +01:00
@@ -376,7 +376,7 @@ pub struct Config {
|
|||||||
|
|
||||||
impl Config {
|
impl Config {
|
||||||
pub fn new(mut args: Value) -> Result<Self> {
|
pub fn new(mut args: Value) -> Result<Self> {
|
||||||
// Validate that the models specfied are there so we can unwrap
|
// Validate that the models specified are there so we can unwrap
|
||||||
let configuration_args = args
|
let configuration_args = args
|
||||||
.as_object_mut()
|
.as_object_mut()
|
||||||
.context("Server configuration must be a JSON object")?
|
.context("Server configuration must be a JSON object")?
|
||||||
|
|||||||
Reference in New Issue
Block a user