diff --git a/events/chatgptMessage.ts b/events/chatgptMessage.ts index b8399fb..8697c56 100644 --- a/events/chatgptMessage.ts +++ b/events/chatgptMessage.ts @@ -65,7 +65,7 @@ export default discordEvent({ await sentMsg.edit({ content: msg }); messages.push({ role: 'assistant', content: msg }); const titleResponse = await fetch( - `https://api.cloudflare.com/client/v4/accounts/${process.env.CF_AI_ACC}/ai/run/@cf/meta/llama-3-8b-instruct`, + `https://api.cloudflare.com/client/v4/accounts/${process.env.CF_AI_ACC}/ai/run/@hf/mistral/mistral-7b-instruct-v0.2`, { method: 'POST', headers: { diff --git a/events/chatgptThread.ts b/events/chatgptThread.ts index a24b428..6e0c296 100644 --- a/events/chatgptThread.ts +++ b/events/chatgptThread.ts @@ -35,7 +35,7 @@ export default discordEvent({ return } }, 1000) - fetchEventSource(`https://api.cloudflare.com/client/v4/accounts/${process.env.CF_AI_ACC}/ai/run/@cf/meta/llama-3-8b-instruct`, { + fetchEventSource(`https://api.cloudflare.com/client/v4/accounts/${process.env.CF_AI_ACC}/ai/run/@hf/mistral/mistral-7b-instruct-v0.2`, { method: 'POST', headers: { 'Authorization': `Bearer ${process.env.CF_AI_TOKEN}`,