Function Calling with Kotlin Functions #922
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
function calling
kotlin
Bug description
When using a Kotlin function, the input type is not inferred.
This causes an
invalid_request_error
error:Workaround is to specify the input type explictly
withInputType
(and use a custom object mapper)Environment
Latest Snapshot.
Steps to reproduce
See example below
Expected behavior
Spring AI should also work with Kotlin or update the documentation.
Minimal Complete Reproducible example
The text was updated successfully, but these errors were encountered: