fix(provider): split CN/global endpoints for Chinese provider variants (#542)
* fix(providers): add CN/global endpoint variants for Chinese vendors * fix(onboard): deduplicate provider key-url match arms * chore(i18n): normalize non-English literals to English
This commit is contained in:
parent
93d9d0de06
commit
85de9b5625
6 changed files with 373 additions and 45 deletions
|
|
@ -1085,7 +1085,7 @@ mod tests {
|
|||
"sender": { "sender_id": { "open_id": "ou_user" } },
|
||||
"message": {
|
||||
"message_type": "text",
|
||||
"content": "{\"text\":\"你好世界 🌍\"}",
|
||||
"content": "{\"text\":\"Hello world 🌍\"}",
|
||||
"chat_id": "oc_chat",
|
||||
"create_time": "1000"
|
||||
}
|
||||
|
|
@ -1094,7 +1094,7 @@ mod tests {
|
|||
|
||||
let msgs = ch.parse_event_payload(&payload);
|
||||
assert_eq!(msgs.len(), 1);
|
||||
assert_eq!(msgs[0].content, "你好世界 🌍");
|
||||
assert_eq!(msgs[0].content, "Hello world 🌍");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue