ollama/types
Michael Yang e914477bb6 types: add types.Null[T]
there's a common pattern where request fields may need to differentiate
between an unset value and a value set to the type's zero value. this is
commonly used to apply a different default value, e.g. stream, or to
omit a field entirely, e.g. think.

similar to sql.Null[T], types.Null[T] simplifies this by providing
utilities to quickly and easily apply this pattern to any type using
generics.
2025-08-25 09:49:02 -07:00
..
errtypes lint 2024-08-01 17:06:06 -07:00
model add thinking support to the api and cli (#10584) 2025-05-28 19:38:52 -07:00
syncmap create blobs in parallel (#10135) 2025-05-05 11:59:26 -07:00
null.go types: add types.Null[T] 2025-08-25 09:49:02 -07:00
null_test.go types: add types.Null[T] 2025-08-25 09:49:02 -07:00