diff --git a/ventures/havre/venice.js b/ventures/havre/venice.js index d10723d..6b9aa46 100644 --- a/ventures/havre/venice.js +++ b/ventures/havre/venice.js @@ -37,7 +37,7 @@ function sent(e, what) { } function explain(status, said, refused) { // Venice's own words for it ("violates the content policy of Venice.ai or the model provider") say no more than this - if (refused) return "Venice turned that down as against its content rules" + (/content polic/i.test(said) || !said ? "." : ` (“${said.replace(/[.\s]+$/, "")}”).`); + if (refused) return "Venice turned that down as against its content rules" + (/content polic/i.test(said) || !said ? "." : ` ("${said.replace(/[.\s]+$/, "")}").`); if (status === 401 || status === 403) return "Venice didn't accept that key. Check it at venice.ai → Settings → API."; if (status === 402) return "Venice says the key is out of credit."; if (status === 429) return "Venice is rate-limiting this key. Wait a moment and try again.";