xebia-functional / xef

Building applications with LLMs through composability, in Kotlin, Scala, ...
https://xef.ai
Apache License 2.0
178 stars 15 forks source link

Attempt to fix build in CI for new OpenAI client #709

Closed raulraja closed 6 months ago

raulraja commented 6 months ago

1) ConversationSpec memories should have the correct size in the vector store: IrLinkageError: Can not get instance of singleton 'ChatCompletionRequestMessageSerializer': No class found for symbol '[ File '/Users/raulraja/workspace/xef/openai-client/client/build/generated/OpenAI/src/commonMain/kotlin/com/xebia/functional/openai/generated/model/CreateChatCompletionRequest.kt' <- com.xebia.functional.openai.generated.model/ChatCompletionRequestMessageSerializer|null[0] ]' at throwLinkageError (/Users/raulraja/workspace/xef/core/build/compileSync/js/test/testDevelopmentExecutable/kotlin/js-ir/runtime/unlinked.kt:11:11)

JS backend does not like private object on Serializers, they have to be public.