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.

This commit is contained in:
Max 2025-11-07 19:09:42 +08:00
parent bbcec4d186
commit c61688d8be

View file

@ -1138,23 +1138,23 @@ func TestGetAssistantWithLocale(t *testing.T) {
"en": { "en": {
Locale: "en", Locale: "en",
Messages: map[string]any{ Messages: map[string]any{
"name": "Test Assistant", "name": "Test Assistant",
"description": "This is a test assistant", "description": "This is a test assistant",
"chat.title": "Chat with me", "chat.title": "Chat with me",
"chat.description": "Start a conversation", "chat.description": "Start a conversation",
"chat.prompts.0": "How can I help you?", "chat.prompts.0": "How can I help you?",
"chat.prompts.1": "What would you like to know?", "chat.prompts.1": "What would you like to know?",
}, },
}, },
"zh-cn": { "zh-cn": {
Locale: "zh-cn", Locale: "zh-cn",
Messages: map[string]any{ Messages: map[string]any{
"name": "测试助手", "name": "测试助手",
"description": "这是一个测试助手", "description": "这是一个测试助手",
"chat.title": "与我聊天", "chat.title": "与我聊天",
"chat.description": "开始对话", "chat.description": "开始对话",
"chat.prompts.0": "我能帮你什么?", "chat.prompts.0": "我能帮你什么?",
"chat.prompts.1": "你想了解什么?", "chat.prompts.1": "你想了解什么?",
}, },
}, },
} }