Skip to content

Commit

Permalink
fix: a
Browse files Browse the repository at this point in the history
  • Loading branch information
Googlefan committed May 24, 2024
1 parent a9b474f commit fca27a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ setInterval(() => {
processing: true,
model: modelId,
});
const model = models.find((x) => x.id === modelId || "gemini-1.5-flash")!;
const model = models.find((x) => x.id === modelId)!;
model
.generate([...(channelSpecificHistory.get(channelId) || []), chat])
.then(async (res) => {
Expand Down

0 comments on commit fca27a6

Please sign in to comment.