-
Notifications
You must be signed in to change notification settings - Fork 206
Adding a dynamic RAG system to handle build errors #1216
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
base: main
Are you sure you want to change the base?
Conversation
|
/gcbrun exp -n wentao -m vertex_ai_gemini-2-5-pro-chat -ag -b quick-test -ns 1 -- --use-error-memory |
|
Requested GKE Job: ofg-pr-1216-wentao JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wentao |
|
/gcbrun exp -n wentao -m vertex_ai_gemini-2-5-pro-chat -ag -b quick-test -rd -ns 1 -- --use-error-memory |
|
Requested GKE Job: ofg-pr-1216-wentao JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wentao |
|
/gcbrun exp -n wentao -m vertex_ai_gemini-2-5-pro-chat -ag -b minor-for-ci -rd -ns 1 -- --use-error-memory |
|
Requested GKE Job: ofg-pr-1216-wentao JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wentao |
This PR introduces a RAG-based system to handle build errors more effectively. By retrieving previously successful fix snippets ("patch texts") from a database, the agent can reuse past solutions to avoid recurring build issues.
Implementation details:
Under
agent, we add amemory_prototyperagent that extends the general workflow of prototyper, but injects historical fix data into the context when compilation fails.Infrastructure: We add the
memory_helpermodule with utilities to access and connect to cloudSQL instance.Current Status and Purpose: This PR is a draft to verify that the memory_helper utilities can successfully authenticate and connect to the Cloud SQL instance from the CI/CD environment. It is not ready for review.