Zain-ul-din / whatsapp-ai-bot

This is a WhatsApp AI bot that uses various AI models, including Gemini, GPT, DALL-E, and StabilityAI, to generate responses to user input.
https://wa-ai-seven.vercel.app/
MIT License
161 stars 89 forks source link

stability AI API Fix #29

Closed Zain-ul-din closed 3 months ago

Zain-ul-din commented 3 months ago

Discussed in https://github.com/Zain-ul-din/whatsapp-ai-bot/discussions/26

Originally posted by **levitco** March 14, 2024 I just added the keys from the links i created both are working and with credit ✖ StableDiffusionModel request fail | An error occur, at StabilityModel.ts sendMessage(prompt, msg) err: Error: The specified engine (ID stable-diffusion-v1) was not found. ✖ GeminiModel request fail | An error occur, at ChatGptModel.ts sendMessage(prompt, msg) err: Error: [GoogleGenerativeAI Error]: Candidate was blocked due to RECITATION ![image](https://github.com/Zain-ul-din/whatsapp-ai-bot/assets/47256157/a9cda440-2a82-4b9e-8d0c-431e04a7f3c9) Thanks for your time and the amazing repo **!!Update Gemini issues was time approval**
Zain-ul-din commented 3 months ago

PR Credit Goes to @levitco