Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions lib/consensus-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ async function streamParticipant(
const provider = createOpenAI({
baseURL: resolved.baseUrl,
apiKey: resolved.apiKey,
compatibility: "compatible",
});

emit({ type: "participant-start", participantId: participant.id, round: 0 });
Expand All @@ -108,7 +107,7 @@ async function streamParticipant(
model: provider(resolved.modelId),
system: systemPrompt,
prompt: userPrompt,
maxTokens: 1500,
maxOutputTokens: 1500,
temperature: 0.7,
abortSignal: signal,
});
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@ai-sdk/openai": "^1.3.0",
"ai": "^4.3.0",
"@ai-sdk/openai": "^3.0.52",
"ai": "^6.0.158",
"clsx": "^2.1.1",
"lucide-react": "^0.468.0",
"next": "^15.3.0",
Expand Down
Loading
Loading