pepperoni21 / ollama-rs

A Rust library allowing to interact with the Ollama API.
MIT License
542 stars 81 forks source link

make `ModelInfo` fields empty by default #40

Closed zeozeozeo closed 7 months ago

zeozeozeo commented 7 months ago

Not all models have all of ModelInfo's fields, so sometimes there will be errors like this one:

An error occurred with ollama-rs: missing field license at line 1 column 1125