Skip to content

Commit 7445c8b

Browse files
authored
release: 1.7.6 (#191)
2 parents c234a19 + 8b6761d commit 7445c8b

File tree

1 file changed

+2
-8
lines changed
  • src/main/kotlin/org/gitanimals/quiz/app

1 file changed

+2
-8
lines changed

src/main/kotlin/org/gitanimals/quiz/app/AIApi.kt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,7 @@ fun interface OpenAI {
4444
val model: String = "gpt-5-nano",
4545
val instructions: String,
4646
val input: String,
47-
) {
48-
49-
data class Message(
50-
val role: String,
51-
val content: String,
52-
)
53-
}
47+
)
5448

5549
data class Response(
5650
val id: String,
@@ -60,7 +54,7 @@ fun interface OpenAI {
6054
data class Output(
6155
val id: String,
6256
val type: String,
63-
val content: List<Content>,
57+
val content: List<Content> = emptyList(),
6458
) {
6559

6660
data class Content(

0 commit comments

Comments
 (0)