Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

fix: rope

Michael Yang01114b45265d
diff --git a/api/types.go b/api/types.go
index c5223405f..14ffd1c2c 100644
--- a/api/types.go
+++ b/api/types.go
@@ -122,6 +122,11 @@ type Runner struct {
UseMMap bool `json:"use_mmap,omitempty"`
UseMLock bool `json:"use_mlock,omitempty"`
NumThread int `json:"num_thread,omitempty"`
+
+ // Unused: RopeFrequencyBase is ignored. Instead the value in the model will be used
+ RopeFrequencyBase float32 `json:"rope_frequency_base,omitempty"`
+ // Unused: RopeFrequencyScale is ignored. Instead the value in the model will be used
+ RopeFrequencyScale float32 `json:"rope_frequency_scale,omitempty"`
}
type EmbeddingRequest struct {