Skip to content

Commit

Permalink
apply lint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aallam committed Nov 22, 2023
1 parent 9b50554 commit 2844a1d
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ internal class MessagesApi(val requester: HttpRequester) : Messages {
}.body()
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ internal class RunsApi(val requester: HttpRequester) : Runs {
}.body()
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ internal class ThreadsApi(val requester: HttpRequester) : Threads {
else -> response.body<DeleteResponse>().deleted
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ class TestMessages : TestOpenAI() {

openAI.delete(thread.id)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ class TestRuns : TestOpenAI() {
val runs = openAI.runSteps(threadId = run.threadId, runId = run.id)
assertEquals(0, runs.size)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ class TestThreads : TestOpenAI() {
val deleted = openAI.delete(thread.id)
assertEquals(true, deleted)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,3 @@ public sealed interface AssistantTool {
) : AssistantTool

}

Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ public data class LastError(
*/
@SerialName("message") public val message: String,
)

Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ public class ThreadMessageBuilder {
*/
@BetaOpenAI
public fun threadMessage(block: ThreadMessageBuilder.() -> Unit): ThreadMessage =
ThreadMessageBuilder().apply(block).build()
ThreadMessageBuilder().apply(block).build()

0 comments on commit 2844a1d

Please sign in to comment.