Harden vision vector search and embedding jobs.

Add point search, circuit-breaking, and safer gateway limits so artwork similarity lookups fail closed instead of hanging the request path.
This commit is contained in:
test
2026-09-20 14:49:19 +02:00
parent 455b514d50
commit 62aaa2f704
12 changed files with 903 additions and 64 deletions
@@ -38,6 +38,9 @@ function fakeFileSearchOk(): void
{
Http::fake(function ($request) {
$url = $request->url();
if (str_contains($url, '/vectors/search/point')) {
return Http::response(['detail' => 'Point not found'], 404);
}
if (str_contains($url, '/vectors/search')) {
return Http::response(['results' => []], 200);
}