(pipeline: string, keyHash: string)
| 358 | } |
| 359 | |
| 360 | function buildAutoragCacheRequest(pipeline: string, keyHash: string): Request { |
| 361 | return new Request( |
| 362 | `https://autorag-cache.gitmcp.internal/${encodeURIComponent(pipeline)}/${keyHash}`, |
| 363 | ); |
| 364 | } |
| 365 | |
| 366 | /** |
| 367 | * Wrap an AutoRAG search call with the free per-colo Cache API. |