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

chore(scripts): handle summarization errors #4271

Merged
merged 1 commit into from
Nov 26, 2024
Merged

chore(scripts): handle summarization errors #4271

merged 1 commit into from
Nov 26, 2024

Conversation

mudler
Copy link
Owner

@mudler mudler commented Nov 26, 2024

Description

This pull request includes an important change to the scripts/model_gallery_info.py file to improve error handling when summarizing the README file.

Error handling improvement:

  • scripts/model_gallery_info.py: Added a try-except block around the summarize function call to catch and print any exceptions that occur, ensuring the script continues to run even if summarizing the README fails.

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented Nov 26, 2024

Deploy Preview for localai ready!

Name Link
🔨 Latest commit d19aca2
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/6745d1ed4c7864000804bc06
😎 Deploy Preview https://deploy-preview-4271--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mudler mudler merged commit e8128a3 into master Nov 26, 2024
30 of 31 checks passed
@mudler mudler deleted the chore/scripts branch November 26, 2024 13:51
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.

1 participant