Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Generate snippet message only in case of bad packages are found #236

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

ptelang
Copy link
Contributor

@ptelang ptelang commented Dec 9, 2024

Related to #228

If codegate adds a message stating the libraries it "detected" in a snippet, the LLM can mistakenly conclude that the detected libraries are bad. This PR modifies the logic to generate the message only in case bad libs are found in the snippet.

@ptelang ptelang force-pushed the snippet-message-only-if-bad-packages branch from d390bda to e4ecca4 Compare December 9, 2024 16:42
@ptelang ptelang merged commit eb21b12 into main Dec 9, 2024
3 checks passed
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