Skip to content

Commit 0581968

Browse files
authored
Make ChatCompletionRequest a data class (#399)
thank you for your contribution!
1 parent 0653471 commit 0581968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openai-core/src/commonMain/kotlin/com.aallam.openai.api/chat/ChatCompletionRequest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import kotlinx.serialization.json.JsonObjectBuilder
1414
* Creates a completion for the chat message.
1515
*/
1616
@Serializable
17-
public class ChatCompletionRequest(
17+
public data class ChatCompletionRequest(
1818
/**
1919
* ID of the model to use.
2020
*/

0 commit comments

Comments
 (0)