We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c234a19 + 8b6761d commit 7445c8bCopy full SHA for 7445c8b
1 file changed
src/main/kotlin/org/gitanimals/quiz/app/AIApi.kt
@@ -44,13 +44,7 @@ fun interface OpenAI {
44
val model: String = "gpt-5-nano",
45
val instructions: String,
46
val input: String,
47
- ) {
48
-
49
- data class Message(
50
- val role: String,
51
- val content: String,
52
- )
53
- }
+ )
54
55
data class Response(
56
val id: String,
@@ -60,7 +54,7 @@ fun interface OpenAI {
60
data class Output(
61
62
val type: String,
63
- val content: List<Content>,
57
+ val content: List<Content> = emptyList(),
64
58
) {
65
59
66
data class Content(
0 commit comments