feature/ai-search #2

Open
mmintel wants to merge 171 commits from feature/ai-search into main
Showing only changes of commit 10ac7b4877 - Show all commits

View File

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