diff --git a/src/main/java/org/myrobotlab/service/Gpt3.java b/src/main/java/org/myrobotlab/service/Gpt3.java index 5f5a95d112..04e785b0a5 100644 --- a/src/main/java/org/myrobotlab/service/Gpt3.java +++ b/src/main/java/org/myrobotlab/service/Gpt3.java @@ -2,6 +2,7 @@ import java.io.IOException; import java.util.List; +import java.util.Locale; import java.util.Map; import org.myrobotlab.codec.CodecUtils; @@ -93,8 +94,8 @@ public Response getResponse(String text) { } if (!c.sleeping) { - - String temp = String.format("\t\"temperature\": %f\r\n", c.temperature); + // avoid 0,8000000 + String temp = String.format(Locale.US, "\t\"temperature\": %f\r\n", c.temperature); // chat completions String json =