OSVauco/agents/rag
chrischristiansen-glitch 2838534296 fix(rag): always patch ragEngineConfig in us-central1; drop vectorDbConfig from corpus creation
Two root causes fixed:
1. ragEngineConfig is a project-level control-plane endpoint that only exists in
   us-central1. Patching it against europe-west1 (or any other region) returns
   'Invalid endpoint name'. We now always use us-central1 for the config PATCH
   regardless of RAG_LOCATION.
2. Including vectorDbConfig.ragManagedDb in the corpus creation payload explicitly
   requests Spanner mode, which is allowlist-restricted for new projects. Omitting
   vectorDbConfig entirely lets the engine honour the project-level 'basic' config
   and use serverless mode — the correct approach per Google docs."
2026-05-24 19:19:12 +02:00
..
.gitkeep docs: oppdater README, IAM-docs, legg til rag/memory/eval mapper og cost-guard 2026-05-23 20:54:05 +00:00
setup_corpus.py fix(rag): always patch ragEngineConfig in us-central1; drop vectorDbConfig from corpus creation 2026-05-24 19:19:12 +02:00