From 6edaa712df1edaa4e4b17fa9e54c25ff23349356 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 21 Mar 2025 18:36:59 +0800 Subject: [PATCH] Update error message for missing assistant data in GetAssistant method - Change error message from "assistant not found" to "the assistant is empty" for improved clarity in the Xun store. --- neo/store/xun.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/store/xun.go b/neo/store/xun.go index 26862877..3b897b30 100644 --- a/neo/store/xun.go +++ b/neo/store/xun.go @@ -1194,7 +1194,7 @@ func (conv *Xun) GetAssistant(assistantID string) (map[string]interface{}, error data := row.ToMap() if data == nil || len(data) == 0 { - return nil, fmt.Errorf("assistant %s not found", assistantID) + return nil, fmt.Errorf("the assistant %s is empty", assistantID) } // Parse JSON fields