• Jesse Gross's avatar
    ollamarunner: Use correct constant to remove cache entries · 3d9498a4
    Jesse Gross authored
    The correct constant to remove all entries to the end of the sequence
    for the Ollama engine is math.MaxInt32. -1 is used by the old engine.
    
    The impact of this is currently minimal because it would only occur
    in situations that are not supported by the implemented models or
    rarely used options.
    3d9498a4
cache.go 7.57 KB