Skip to content

Commit ef6f426

Browse files
committed
build: Switch contributor pool generator to use Open AI API
1 parent d2f830c commit ef6f426

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/generate-contributor-pool.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ const now = moment();
2323
const firstDayOfPreviousMonth = now.clone().subtract(1, "month").startOf("month");
2424
const lastDayOfPreviousMonth = firstDayOfPreviousMonth.clone().endOf("month");
2525

26-
const AI_URL = "https://models.github.ai/inference/chat/completions";
27-
const AI_MODEL = "openai/gpt-4o-mini";
26+
const AI_URL = "https://api.openai.com/v1/chat/completions";
27+
const AI_MODEL = "gpt-4o-mini";
2828

2929
const PROMPT = `You will be given a JSON object where the keys are GitHub
3030
usernames and the values are arrays of pull request objects that were

0 commit comments

Comments
 (0)