Files
klz-cables.com/patches/@mintel__payload-ai@1.9.18.patch
Marc Mintel a662c6bfe8
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 12s
Build & Deploy / 🧪 QA (push) Failing after 47s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
fix(deps): update @mintel/payload-ai to 1.9.18 and migrate patch
2026-04-09 22:59:16 +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.