Files
klz-cables.com/patches/@mintel__payload-ai@1.9.11.patch
Marc Mintel ec6379c582
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 17s
Build & Deploy / 🧪 QA (push) Successful in 2m48s
Build & Deploy / 🏗️ Build (push) Failing after 5m42s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 3s
chore: align @mintel dependencies to 1.9.11 and fix AI model patch
2026-04-09 13:22:49 +02:00

14 lines
704 B
Diff

diff --git a/dist/endpoints/chatEndpoint.js b/dist/endpoints/chatEndpoint.js
index 85a4a2d1ab757e32a303d9f4b2462436af5e2398..23902b2a18eedb583d8a6ee7028c5e855177880b 100644
--- a/dist/endpoints/chatEndpoint.js
+++ b/dist/endpoints/chatEndpoint.js
@@ -49,7 +49,7 @@ export const handleMcpChat = async (req) => {
try {
const result = streamText({
// @ts-ignore - AI SDK type mismatch
- model: openrouter('google/gemini-3.0-flash'),
+ model: openrouter('google/gemini-3.1-flash-lite-preview'),
messages,
tools: activeTools,
system: `You are a helpful Payload CMS MCP Assistant orchestrating the local Mintel ecosystem.