@pentatonic-ai/ai-agent-sdk 0.8.4 → 0.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pentatonic-ai/ai-agent-sdk",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.5",
|
|
4
4
|
"description": "TES SDK — LLM observability and lifecycle tracking via Pentatonic Thing Event System. Track token usage, tool calls, and conversations. Manage things through event-sourced lifecycle stages with AI enrichment and vector search.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -884,7 +884,14 @@ def serve(port: int = DEFAULT_PORT):
|
|
|
884
884
|
arena="__healthcheck__", enable_rerank=False,
|
|
885
885
|
)
|
|
886
886
|
out["search_ms"] = round((_time.time() - t2) * 1000.0, 1)
|
|
887
|
-
|
|
887
|
+
# L6 search hits don't expose a stable `id` field — match by
|
|
888
|
+
# text content (verbatim — the sentinel was just written and
|
|
889
|
+
# the chunking layer doesn't split it) against the arena that
|
|
890
|
+
# the search was already filtered to.
|
|
891
|
+
hit = any(
|
|
892
|
+
sentinel_text in (r.get("text") or "")
|
|
893
|
+
for r in (results or [])
|
|
894
|
+
)
|
|
888
895
|
out["hit"] = hit
|
|
889
896
|
if not hit:
|
|
890
897
|
out["status"] = "sentinel_missing"
|