You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The current logic for detecting ports to be forwarded usually defaults to port 8000 (due to the example provided in the system prompt), which might not always be accurate and can be misleading if the documentation or other settings indicate different ports.
Describe the solution you'd like
Improve the logic for detecting which ports should be forwarded based on the repository's code and configuration files.
Enhance the LLM prompt to better identify common ports used in the project.
Ensure that the contributing.md, README.md, and any other relevant files in the repository are checked and updated to reflect the accurate ports being used.
Create a mechanism to detect and list all ports mentioned in any documentation or configuration files throughout the repository.
Additional context
This change will involve:
Updating main.py and related logic to accurately detect ports from various parts of the repository.
Modifying the LLM prompts in helpers/openai_helpers.py to improve port detection.
Parsing through all relevant documentation files recursively within the repository to ensure consistency in port information.
Thoroughly testing to ensure that the generated devcontainer.json correctly forwards the required ports.
The text was updated successfully, but these errors were encountered:
If no one is assigned to the issue, feel free to tackle it, without confirmation from us, after registering your attempt. In the event that multiple PRs are made from different people, we will generally accept those with the cleanest code.
Please respect others by working on PRs that you are allowed to submit attempts to.
e.g. If you reached the limit of active attempts, please wait for the ability to do so before submitting a new PR.
If you can not submit an attempt, you will not receive your payout.
Thank you for contributing to daytonaio/devcontainer-generator!
Is your feature request related to a problem? Please describe.
The current logic for detecting ports to be forwarded usually defaults to port 8000 (due to the example provided in the system prompt), which might not always be accurate and can be misleading if the documentation or other settings indicate different ports.
Describe the solution you'd like
contributing.md
,README.md
, and any other relevant files in the repository are checked and updated to reflect the accurate ports being used.Additional context
This change will involve:
main.py
and related logic to accurately detect ports from various parts of the repository.helpers/openai_helpers.py
to improve port detection.devcontainer.json
correctly forwards the required ports.The text was updated successfully, but these errors were encountered: