Skip to content

Feat/v2 fix typo#246

Merged
locnguyen1986 merged 2 commits intomainfrom
feat/v2-fix-typo
Nov 17, 2025
Merged

Feat/v2 fix typo#246
locnguyen1986 merged 2 commits intomainfrom
feat/v2-fix-typo

Conversation

@locnguyen1986
Copy link
Collaborator

fix typo

Copilot AI review requested due to automatic review settings November 17, 2025 00:36
@locnguyen1986 locnguyen1986 merged commit 020252f into main Nov 17, 2025
3 of 6 checks passed
@locnguyen1986 locnguyen1986 deleted the feat/v2-fix-typo branch November 17, 2025 00:36
@github-project-automation github-project-automation bot moved this to QA in Jan Nov 17, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR is titled as a typo fix but actually introduces changes that are inconsistent with that purpose. The changes add three exclamation marks to an error message and introduce trailing whitespace in a Makefile echo statement. Neither change addresses an actual typo.

  • Modified an error message by adding excessive punctuation ("!!!")
  • Added trailing whitespace to a Makefile echo statement

Reviewed Changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
services/llm-api/internal/config/provider_configs.go Error message modified with excessive exclamation marks
Makefile Trailing whitespace added to configuration help text

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

func LoadProviderBootstrapConfig(path string) (*ProviderBootstrapConfig, error) {
if strings.TrimSpace(path) == "" {
return nil, errors.New("provider config path is empty")
return nil, errors.New("provider config path is empty!!!")
Copy link

Copilot AI Nov 17, 2025

Choose a reason for hiding this comment

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

Adding three exclamation marks to an error message is unconventional and unprofessional. Error messages should be clear and informative without excessive punctuation. Consider keeping the original format: "provider config path is empty" or at most using a single period for proper sentence structure.

Suggested change
return nil, errors.New("provider config path is empty!!!")
return nil, errors.New("provider config path is empty")

Copilot uses AI. Check for mistakes.
@echo " 2. Run 'make config-generate' to regenerate all files"
@echo " 3. Run 'make config-test' to verify changes"
@echo " 4. Use 'make config-drift-check' in CI to prevent drift"
@echo " 4. Use 'make config-drift-check' in CI to prevent drift "
Copy link

Copilot AI Nov 17, 2025

Choose a reason for hiding this comment

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

Trailing whitespace has been added to this line. Trailing whitespace should be removed as it serves no purpose and can cause unnecessary diff noise in version control.

Suggested change
@echo " 4. Use 'make config-drift-check' in CI to prevent drift "
@echo " 4. Use 'make config-drift-check' in CI to prevent drift"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: QA

Development

Successfully merging this pull request may close these issues.

2 participants