Use Gemini 2.5 Pro for docs AI
Some checks failed
all-good: Did all the other checks pass? / all-good (push) Has been cancelled
Ensure Prisma migrations are in sync with the schema / check_prisma_migrations (22.x) (push) Has been cancelled
Docker Emulator Test / docker (push) Has been cancelled
Docker Server Build and Push / Docker Build and Push Server (push) Has been cancelled
Docker Server Test / docker (push) Has been cancelled
Runs E2E API Tests / build (22.x) (push) Has been cancelled
Runs E2E API Tests with external source of truth / build (22.x) (push) Has been cancelled
Lint & build / lint_and_build (latest) (push) Has been cancelled
Dev Environment Test / restart-dev-and-test (push) Has been cancelled
Run setup tests / setup-tests (push) Has been cancelled
TOC Generator / TOC Generator (push) Has been cancelled
Mirror main branch to main-mirror-for-wdb / lint_and_build (push) Has been cancelled

This commit is contained in:
Konstantin Wohlwend 2025-07-17 12:37:48 -07:00
parent c3f6e4df75
commit c7f5e9c403
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ export async function POST(request: Request) {
try {
const result = streamText({
model: google('gemini-2.0-flash'),
model: google('gemini-2.5-pro'),
system: systemPrompt,
messages,
maxTokens: 1500,

View File

@ -211,7 +211,7 @@ export function AIChatDrawer() {
response: response,
metadata: {
sessionId: sessionId,
model: 'gemini-2.0-flash',
model: 'gemini-2.5-pro',
}
};