Skip to content

Commit

Permalink
Fix NotImplementErrors
Browse files Browse the repository at this point in the history
  • Loading branch information
serras committed Jun 12, 2023
1 parent fd4b116 commit 587cb1c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ class MockOpenAIClient(
throw NotImplementedError("completion not implemented")
},
private val chatCompletion: (ChatCompletionRequest) -> ChatCompletionResponse = {
throw NotImplementedError("completion not implemented")
throw NotImplementedError("chat completion not implemented")
},
private val embeddings: (EmbeddingRequest) -> EmbeddingResult = {
throw NotImplementedError("completion not implemented")
throw NotImplementedError("embeddings not implemented")
},
private val images: (ImagesGenerationRequest) -> ImagesGenerationResponse = {
throw NotImplementedError("completion not implemented")
throw NotImplementedError("images not implemented")
},
) : OpenAIClient {
override suspend fun createCompletion(request: CompletionRequest): CompletionResult =
Expand Down

0 comments on commit 587cb1c

Please sign in to comment.