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

refactor(yaml): simplify AI enabled check and improve code formatting #696

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

elliotxx
Copy link
Collaborator

What type of PR is this?

/kind refactor

What this PR does / why we need it:

This PR simplifies the AI enabled check and improves code formatting in the YAML-related code.

Key changes include:

  • Simplified the logic for checking if AI is enabled, making it more readable and maintainable.

  • Improved code formatting to adhere to consistent style guidelines, enhancing overall code quality.

Which issue(s) this PR fixes:

Fixes #

@elliotxx elliotxx added this to the v0.6.0 milestone Dec 31, 2024
@elliotxx elliotxx self-assigned this Dec 31, 2024
Copy link
Collaborator

@ruquanzhao ruquanzhao left a comment

Choose a reason for hiding this comment

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

/lgtm

@ruquanzhao ruquanzhao merged commit 42a67f4 into main Dec 31, 2024
5 of 8 checks passed
@ruquanzhao ruquanzhao deleted the unify-isAIEnabled-usage branch December 31, 2024 03:47
@github-actions github-actions bot locked and limited conversation to collaborators Dec 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants