lmstudio: Support missing quantization in model metadata (#24054)
- Closes https://github.com/zed-industries/zed/issues/23764 Certain models do not include `quantization` parameter from lm studio rest API.
This commit is contained in:
parent
df16ef209c
commit
3af37ddf6d
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ pub struct ModelEntry {
|
||||||
pub publisher: String,
|
pub publisher: String,
|
||||||
pub arch: Option<String>,
|
pub arch: Option<String>,
|
||||||
pub compatibility_type: CompatibilityType,
|
pub compatibility_type: CompatibilityType,
|
||||||
pub quantization: String,
|
pub quantization: Option<String>,
|
||||||
pub state: ModelState,
|
pub state: ModelState,
|
||||||
pub max_context_length: Option<u32>,
|
pub max_context_length: Option<u32>,
|
||||||
pub loaded_context_length: Option<u32>,
|
pub loaded_context_length: Option<u32>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue