Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
ollamarunner: Don't panic for unimplemented features at runtime.
Jesse Gross4614fafae0ee
diff --git a/runner/ollamarunner/runner.go b/runner/ollamarunner/runner.goindex d9f479708..a51b1459e 100644--- a/runner/ollamarunner/runner.go+++ b/runner/ollamarunner/runner.go@@ -436,10 +436,9 @@ func (s *Server) processBatch() error {// if done processing the prompt, generate an embedding and returnif seq.embeddingOnly {// TODO(jessegross): Embedding support- // s.removeSequence(i, "")- // continue-- panic("generation of embedding outputs not yet supported")+ slog.Warn("generation of embedding outputs not yet supported")+ s.removeSequence(i, "")+ continue}// sample a token