search for standard sites pub-search.waow.tech
search zig blog atproto
11
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: use include_attributes instead of include_vectors for tpuf v2 API

getVectorById was using the deprecated include_vectors parameter which
the v2 API rejects, causing /similar to always return empty.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

zzstoatzz 05d816b0 88038860

+4 -2
+4 -2
backend/src/tpuf.zig
··· 296 296 try jw.objectField("top_k"); 297 297 try jw.write(1); 298 298 299 - try jw.objectField("include_vectors"); 300 - try jw.write(true); 299 + try jw.objectField("include_attributes"); 300 + try jw.beginArray(); 301 + try jw.write("vector"); 302 + try jw.endArray(); 301 303 302 304 try jw.endObject(); 303 305