react-native-openai icon indicating copy to clipboard operation
react-native-openai copied to clipboard

There's an issue with the value of Android's finishReason

Open fairjm opened this issue 7 months ago • 1 comments

https://github.com/candlefinance/react-native-openai/blob/8bd86f5ca8e622330776a99f5500675fee06eb07/android/src/main/java/com/candlefinance/reactnativeopenai/ReactNativeOpenaiModule.kt#L140

If the finishReason is null it will return "stop".

fairjm avatar Jun 24 '24 14:06 fairjm