fix: extracted Github project live demo URLs not being passed to LLM - #405
Open
jlam323 wants to merge 1 commit into
Open
fix: extracted Github project live demo URLs not being passed to LLM#405jlam323 wants to merge 1 commit into
jlam323 wants to merge 1 commit into
Conversation
Author
|
Above is a simple solution but alternatively we can further harden the live demo URL parsing if wanted live_url = project.get("live_url")
if live_url and str(live_url).strip().lower() not in ("none", "n/a", "null", "live url if available"):
github_text += f" Live Demo URL: {live_url}\n" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #404
(Closes #404)
Summary of Changes
Updated
convert_github_data_to_text()in transform.py:895-900 to include thelive_urlfield when generating GitHub project prompt text for the LLM.Reason for Change
While
live_urlwas being extracted during repository data gathering, it was previously omitted from the formatted text context string. This prevented the LLM from considering project live demo links during candidate evaluations.Verification
Output