Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#29281: Several dotAI enhancements #29588

Merged

Conversation

victoralfaro-dotcms
Copy link
Contributor

@victoralfaro-dotcms victoralfaro-dotcms commented Aug 14, 2024

Returning available models as object that includes 'name' and 'type' instead of just a list os strings. Throwing exceptions when AppConfig.isEnabled() is false to break the tests when any of AI API url or AI API key are missing. Clean the default values for model names. Added better logging at key places when interacting with OpenAI provider. Tests were added/updated.

This PR fixes: #29587

@victoralfaro-dotcms victoralfaro-dotcms force-pushed the 29587-dotAI-logs-exception-handling-enhancements branch 3 times, most recently from 7fc1b01 to 7aa5eb8 Compare August 14, 2024 16:55
…d 'type' instead of just a list os strings. Throwing exceptions when AppConfig.isEnabled() is false to break the tests when any of AI API url or AI API key are missing. Clean the default values for model names. Added better logging at key places when interacting with OpenAI provider. Tests were added/updated.
@victoralfaro-dotcms victoralfaro-dotcms force-pushed the 29587-dotAI-logs-exception-handling-enhancements branch from 7aa5eb8 to c3f04da Compare August 14, 2024 21:03
@victoralfaro-dotcms victoralfaro-dotcms marked this pull request as ready for review August 14, 2024 21:03
@victoralfaro-dotcms victoralfaro-dotcms requested a review from a team as a code owner August 14, 2024 21:03
@victoralfaro-dotcms victoralfaro-dotcms force-pushed the 29587-dotAI-logs-exception-handling-enhancements branch from c5d5b01 to 4c54f36 Compare August 15, 2024 03:34
@victoralfaro-dotcms victoralfaro-dotcms added this pull request to the merge queue Aug 15, 2024
Merged via the queue into master with commit 0f0a4a8 Aug 15, 2024
31 checks passed
@victoralfaro-dotcms victoralfaro-dotcms deleted the 29587-dotAI-logs-exception-handling-enhancements branch August 15, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhance dotAI Functionality: Model Listing, Exception Handling, Improved Logging, and Updated Tests
3 participants