api: expose usage data
This commit is contained in:
jmorganca
2026-01-08 22:28:33 -08:00
parent 12e2b3514a
commit d132315276
10 changed files with 828 additions and 5 deletions

View File

@@ -206,6 +206,8 @@ var (
UseAuth = Bool("OLLAMA_AUTH")
// Enable Vulkan backend
EnableVulkan = Bool("OLLAMA_VULKAN")
// Usage enables usage statistics reporting
Usage = Bool("OLLAMA_USAGE")
)
func String(s string) func() string {