We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9a9ef9 commit f6d2c1eCopy full SHA for f6d2c1e
openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala
@@ -48,8 +48,6 @@ private[service] trait OpenAIChatCompletionServiceImpl
48
49
trait ChatCompletionBodyMaker {
50
51
- this: WSClient =>
52
-
53
private val o1Models = Set(
54
ModelId.o1_preview,
55
ModelId.o1_preview_2024_09_12,
@@ -80,7 +78,7 @@ trait ChatCompletionBodyMaker {
80
78
else
81
79
settings
82
83
- jsonBodyParams(
+ JsonUtil.jsonBodyParams(
84
Param.messages -> Some(messageJsons),
85
Param.model -> Some(settingsFinal.model),
86
Param.temperature -> settingsFinal.temperature,
0 commit comments