Skip to content

Commit

Permalink
build fix: Pick a valid default Gemini model when none has been confi…
Browse files Browse the repository at this point in the history
…gured
  • Loading branch information
beverloo committed Aug 10, 2024
1 parent 203c2e0 commit 6b225cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/admin/system/integrations/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ export default async function IntegrationsPage() {
};

const vertexSettings: VertexAISettings = {
model: settings['integration-vertex-model'] ?? VertexSupportedModels['text-bison'],
model:
settings['integration-vertex-model'] ?? VertexSupportedModels['gemini-1.5-flash-001'],
temperature: settings['integration-vertex-temperature'] ?? 0.25,
tokenLimit: settings['integration-vertex-token-limit'] ?? 256,
topK: settings['integration-vertex-top-k'] ?? 40,
Expand Down

0 comments on commit 6b225cc

Please sign in to comment.