Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Change PR summarization model

Tomas Valenta55c6cd587a51
diff --git a/github/pullRequest.ts b/github/pullRequest.ts
index 5ec06f142..81a2823b5 100644
--- a/github/pullRequest.ts
+++ b/github/pullRequest.ts
@@ -17,7 +17,7 @@ const openai = new OpenAIApi(configuration)
export async function prTitleFromInstructions(instructions: string) {
try {
const result = await backOff(() => openai.createChatCompletion({
- model: 'gpt-4',
+ model: 'gpt-3.5-turbo',
messages: [
{
content: `${instructions}\n\nTl;dr in one sentence (around 50 characters) describing what to build. Don't use pronouns, just describe the thing:`,