Adding a dynamic RAG system to handle build errors#1216
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 |
|
/gcbrun exp -n wentao -m vertex_ai_gemini-2-5-pro-chat -ag -b quick-test -rd -ns 5 -- --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 -- --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 -- --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 -- --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 wenqi-include -m vertex_ai_gemini-2-5-pro-chat -ag -b hard -- --use-error-memory --memory-project-filter all |
|
Requested GKE Job: ofg-pr-1216-wenqi-include JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wenqi-include |
|
/gcbrun exp -n wqrq44 -m vertex_ai_gemini-3-1-pro-chat -ll global -ag -b hard -- --use-error-memory |
|
Requested GKE Job: ofg-pr-1216-wqrq44 JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wqrq44 |
|
/gcbrun exp -n wqrq44run2 -m vertex_ai_gemini-3-1-pro-chat -ll global -ag -b hard -- --use-error-memory |
|
Requested GKE Job: ofg-pr-1216-wqrq44run2 JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wqrq44run2 |
|
/gcbrun exp -n wentao-new-target-baseline2 -m vertex_ai_gemini-2-5-pro-chat -ag -b comparison-new |
|
Requested GKE Job: ofg-pr-1216-wentao-new-target-baseline2 JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wentao-new-target-baseline2 |
|
/gcbrun exp -n wqrq3new -m vertex_ai_gemini-2-5-pro-chat -ag -b comparison-new -- --use-error-memory |
|
Requested GKE Job: ofg-pr-1216-wqrq3new JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wqrq3new |
|
/gcbrun exp -n wqrq2new -m vertex_ai_gemini-2-5-pro-chat -ag -b comparison-new -- --use-error-memory --memory-project-filter exclude-current |
|
Requested GKE Job: ofg-pr-1216-wqrq2new JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wqrq2new |
|
/gcbrun exp -n wentao-new-target-baseline3 -m vertex_ai_gemini-2-5-pro-chat -ag -b comparison-new |
|
Requested GKE Job: ofg-pr-1216-wentao-new-target-baseline3 JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wentao-new-target-baseline3 |
|
/gcbrun exp -n wq-specific -m vertex_ai_gemini-2-5-pro-chat -ag -b hard -- --use-error-memory --memory-project-filter only-current |
|
Requested GKE Job: ofg-pr-1216-wq-specific JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wq-specific |
|
/gcbrun exp -n wq-exclude -m vertex_ai_gemini-2-5-pro-chat -ag -b hard -- --use-error-memory --memory-project-filter exclude-current |
|
Requested GKE Job: ofg-pr-1216-wq-exclude JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wq-exclude |
|
/gcbrun exp -n wq-rq3-all -m vertex_ai_gemini-2-5-pro-chat -ag -b hard -- --use-error-memory |
|
Requested GKE Job: ofg-pr-1216-wq-rq3-all JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wq-rq3-all |
|
/gcbrun exp -n wq-specific -m vertex_ai_gemini-2-5-pro-chat -ag -b hard -- --use-error-memory --memory-project-filter only-current --memory-created-before-or-on 2026-03-15 |
|
Requested GKE Job: ofg-pr-1216-wq-specific JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wq-specific |
|
/gcbrun exp -n wq-all -m vertex_ai_gemini-2-5-pro-chat -ag -b hard -- --use-error-memory --memory-created-before-or-on 2026-03-15 |
|
Requested GKE Job: ofg-pr-1216-wq-all JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wq-all |
|
/gcbrun exp -n wq-g31-all -m vertex_ai_gemini-3-1-pro-chat -ll global -ag -b hard -- --use-error-memory --memory-created-before-or-on 2026-03-15 |
|
Requested GKE Job: ofg-pr-1216-wq-g31-all JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wq-g31-all |
|
/gcbrun exp -n wq-exclude -m vertex_ai_gemini-2-5-pro-chat -ag -b hard -- --use-error-memory --memory-project-filter exclude-current --memory-created-before-or-on 2026-03-15 |
|
Requested GKE Job: ofg-pr-1216-wq-exclude JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wq-exclude |
|
/gcbrun exp -n wq-g31-rall -m vertex_ai_gemini-3-1-pro-chat -ll global -ag -b hard -- --use-error-memory --memory-created-before-or-on 2026-03-15 |
|
Requested GKE Job: ofg-pr-1216-wq-g31-rall JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-1216-wq-g31-rall |
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.