-
Notifications
You must be signed in to change notification settings - Fork 82
AI review make target #1817
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
Open
kaovilai
wants to merge
9
commits into
openshift:oadp-dev
Choose a base branch
from
kaovilai:opencode
base: oadp-dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+174
−0
Open
AI review make target #1817
Changes from 6 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
2c8f6b4
AI review make target
kaovilai 4a2e863
Enhance AI review process by integrating gptme with Ollama backend an…
kaovilai 42bc837
Comment out the line that stops and removes the Ollama container in t…
kaovilai 0932318
fix space in var for memory
kaovilai e001d31
TADA 11GB memory please
kaovilai 0778c33
add memory usage suggestions
kaovilai 553a1ec
refactor: move AI review prompt to configurable external file
kaovilai cd4f2b2
fix: add SELinux context to Ollama volume mount in AI review target
kaovilai 7c58d53
fix: use $(PWD) instead of $$(pwd) for consistent path resolution in …
kaovilai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start small please, this prompt is TOO general, and too big.
Let's get feedback from the team with regards to what would be smart to focus on first.
Even with 11G of ram provided, this is quite slow.
IMHO a more effective first pass, MVP would be much faster and focus on one or two items of code quality. IMHO the team should discuss and pick one or two items together.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having a smaller prompt won't speed this up, it all depends on how big the diff is being passed and the machine..
and now you know why local models won't ever work to help day to day coding. You'll spend all day waiting without H100.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or be stuck with a dumber small models that can't do anything more complex than one line tab completion.