Commit d0a18ce1 by panjiangyi

fix type err

parent 94daf69d
Showing with 1 additions and 1 deletions
...@@ -20,7 +20,7 @@ export async function getChatModelInfo(modelName: string, id: string) { ...@@ -20,7 +20,7 @@ export async function getChatModelInfo(modelName: string, id: string) {
chatInfo[id] = data; chatInfo[id] = data;
return { return {
uniplatId: info.row.UniplatChatId.value, uniplatId: info.row.UniplatChatId.value,
chat_id: +info.row.UniplatImChatId.value, chat_id: Number(info.row.UniplatImChatId.value),
uniplat_version: 0, uniplat_version: 0,
}; };
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment