Skip to content

Commit

Permalink
Fixes JS compilation and enables module
Browse files Browse the repository at this point in the history
  • Loading branch information
fedefernandez committed Nov 14, 2023
1 parent a4b27ab commit 6e62d31
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 58 deletions.
1 change: 1 addition & 0 deletions openai-client/client/.openapi-generator-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ docs/**
src/*Test/**

# Unused models
src/commonMain/kotlin/com/xebia/functional/openai/models/ChatCompletionRequestMessage.kt
src/commonMain/kotlin/com/xebia/functional/openai/models/ChatCompletionRequestSystemMessage.kt
src/commonMain/kotlin/com/xebia/functional/openai/models/ChatCompletionRequestUserMessage.kt
src/commonMain/kotlin/com/xebia/functional/openai/models/ChatCompletionRequestAssistantMessage.kt
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import kotlinx.serialization.Serializable

@Serializable
enum class CreateImageEditRequestModel(val value: String) {
@SerialName(value = "dall-e-2") `dall-e-2`("dall-e-2")
@SerialName(value = "dall-e-2") `dall_e_2`("dall-e-2")
}
8 changes: 4 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ project(":xef-filesystem").projectDir = file("filesystem")
include("xef-tokenizer")
project(":xef-tokenizer").projectDir = file("tokenizer")

//include("xef-openai-client")
//project(":xef-openai-client").projectDir = file("openai-client/client")
include("xef-openai-client")
project(":xef-openai-client").projectDir = file("openai-client/client")

//include("xef-openai-client-generator")
//project(":xef-openai-client-generator").projectDir = file("openai-client/generator")
include("xef-openai-client-generator")
project(":xef-openai-client-generator").projectDir = file("openai-client/generator")

include("xef-openai")
project(":xef-openai").projectDir = file("openai")
Expand Down

0 comments on commit 6e62d31

Please sign in to comment.