diff --git a/chat.go b/chat.go index 5d4bc8c..05acb3a 100644 --- a/chat.go +++ b/chat.go @@ -39,8 +39,8 @@ func (r *Request) Parse() (*openrouter.ChatCompletionRequest, error) { request.Model = r.Model - if r.Temperature < 0 || r.Temperature > 1 { - return nil, fmt.Errorf("invalid temperature (0-1): %f", r.Temperature) + if r.Temperature < 0 || r.Temperature > 2 { + return nil, fmt.Errorf("invalid temperature (0-2): %f", r.Temperature) } request.Temperature = float32(r.Temperature) diff --git a/static/index.html b/static/index.html index bce0e4c..f3e6f50 100644 --- a/static/index.html +++ b/static/index.html @@ -47,8 +47,8 @@
- - + +