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

Code Readability Enhancement #327

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mandlinsarah
Copy link

This update improves the readability and formatting of example_chat_completion.py without impacting its core functionality. It ensures that the code conforms to PEP 8 style guidelines.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Sep 3, 2024
Copy link

@RahulVadisetty91 RahulVadisetty91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wzzz

In the provided script, there is a small syntax issue at the end. The closing brace } after fire.Fire(main) is unnecessary and should be removed, as it doesn't match any opening brace.

So, the corrected final part should look like:

if name == "main":
fire.Fire(main)

Copy link

@qu-ngx qu-ngx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A single word isn't a great way to contribute btw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants