Merge pull request #1279 from trheyi/main
Remove xun_assistant_test.go file to streamline test suite and elimin…
This commit is contained in:
commit
3662e5b230
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