From 0250317488afbdf15b5b6bea9ceb50068aebf540 Mon Sep 17 00:00:00 2001 From: Dakera Ops Date: Sun, 17 May 2026 09:48:08 +0000 Subject: [PATCH] fix: remove misleading try/catch around kg.summarize() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove try/catch that printed "Summarize not supported on this server version" — the /v1/knowledge/summarize endpoint exists and works. Errors should propagate naturally instead of being masked with misleading messages. Closes DAK-5118 Co-Authored-By: Claude Opus 4.6 --- examples/knowledge_graph.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/examples/knowledge_graph.py b/examples/knowledge_graph.py index 8db1a4b..171830c 100644 --- a/examples/knowledge_graph.py +++ b/examples/knowledge_graph.py @@ -31,8 +31,5 @@ print(f" {edge}") print("\n--- Summarize ---") -try: - summary = kg.summarize() - print(f"Summary: {summary}") -except Exception as e: - print(f"Summarize not supported on this server version: {e}") +summary = kg.summarize() +print(f"Summary: {summary}")