Mistral: Use hex toolid encoding
| @@ -545,7 +545,7 @@ function convertMistralMessages(messages, charName = '', userName = '') { | ||
| 545 | 545 | lastMsg.prefix = true; |
| 546 | 546 | } |
| 547 | 547 | |
| 548 | 548 | const sanitizeToolId = (id) => crypto.hash('sha512', id, 'base64hex').slice(0, 9); |
| 549 | 549 | |
| 550 | 550 | // Doesn't support completion names, so prepend if not already done by the frontend (e.g. for group chats). |
| 551 | 551 | messages.forEach(msg => { |