x/model: add some clarity to Fill example about what is showing

This commit is contained in:
Blake Mizerany 2024-04-05 21:31:47 -07:00
parent e1de015fbc
commit fc595d89bf

View File

@ -314,10 +314,8 @@ func TestFill(t *testing.T) {
} }
func ExampleFill() { func ExampleFill() {
r := Fill( defaults := ParseName("registry.ollama.com/library/PLACEHOLDER:latest+Q4_0")
ParseName("mistral"), r := Fill(ParseName("mistral"), defaults)
ParseName("registry.ollama.com/library/PLACEHOLDER:latest+Q4_0"),
)
fmt.Println(r) fmt.Println(r)
// Output: // Output: