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:
parent
bbcec4d186
commit
c61688d8be
1 changed files with 12 additions and 12 deletions
|
|
@ -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": "你想了解什么?",
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue