chore: align @mintel dependencies to 1.9.11 and fix AI model patch
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
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
This commit is contained in:
13
patches/@mintel__payload-ai@1.9.11.patch
Normal file
13
patches/@mintel__payload-ai@1.9.11.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
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.
|
||||
Reference in New Issue
Block a user