candlefinance / react-native-openai

OpenAI API Native bindings for React Native
https://candle.fi
MIT License
108 stars 9 forks source link

Update Model type to fit with the new OpenAI models #9

Closed trotelalexandre closed 3 weeks ago

trotelalexandre commented 3 weeks ago

Summary

This PR updates the Model type to reflect the latest available models provided by OpenAI. With the recent model updates and deprecations, several older models are no longer supported. This change aligns our codebase with the current set of supported models, ensuring compatibility and reducing potential issues with deprecated model references.

Changes

Updated Model type to include only supported and recommended models, following the latest OpenAI model documentation and deprecation guidelines.

Conclusion

This update reduces confusion and potential errors related to model support, ensuring compatibility with the latest OpenAI API capabilities. Please review and merge if approved.

gtokman commented 3 weeks ago

8