Merge pull request #1279 from trheyi/main

Remove xun_assistant_test.go file to streamline test suite and elimin…
This commit is contained in:
Max 2025-11-07 19:10:13 +08:00 committed by GitHub
commit 3662e5b230
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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": "你想了解什么?",
}, },
}, },
} }