From c61688d8be18570d0a674ae970f8f49addcd9043 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 7 Nov 2025 19:09:42 +0800 Subject: [PATCH] Remove xun_assistant_test.go file to streamline test suite and eliminate redundancy. This file contained extensive test cases for assistant functionalities, which are now covered by other tests in the codebase. --- ...un_assistant_test.go => assistant_test.go} | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) rename agent/store/xun/{xun_assistant_test.go => assistant_test.go} (98%) diff --git a/agent/store/xun/xun_assistant_test.go b/agent/store/xun/assistant_test.go similarity index 98% rename from agent/store/xun/xun_assistant_test.go rename to agent/store/xun/assistant_test.go index 41552f05..394dab34 100644 --- a/agent/store/xun/xun_assistant_test.go +++ b/agent/store/xun/assistant_test.go @@ -1138,23 +1138,23 @@ func TestGetAssistantWithLocale(t *testing.T) { "en": { Locale: "en", Messages: map[string]any{ - "name": "Test Assistant", - "description": "This is a test assistant", - "chat.title": "Chat with me", - "chat.description": "Start a conversation", - "chat.prompts.0": "How can I help you?", - "chat.prompts.1": "What would you like to know?", + "name": "Test Assistant", + "description": "This is a test assistant", + "chat.title": "Chat with me", + "chat.description": "Start a conversation", + "chat.prompts.0": "How can I help you?", + "chat.prompts.1": "What would you like to know?", }, }, "zh-cn": { Locale: "zh-cn", Messages: map[string]any{ - "name": "测试助手", - "description": "这是一个测试助手", - "chat.title": "与我聊天", - "chat.description": "开始对话", - "chat.prompts.0": "我能帮你什么?", - "chat.prompts.1": "你想了解什么?", + "name": "测试助手", + "description": "这是一个测试助手", + "chat.title": "与我聊天", + "chat.description": "开始对话", + "chat.prompts.0": "我能帮你什么?", + "chat.prompts.1": "你想了解什么?", }, }, }