Skip to content

Commit

Permalink
action: update to gpt-3.5-turbo-0125
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Jan 29, 2024
1 parent 56bfd2f commit aac211e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ runs:
"debounce_time": "6",
"amplification": "4",
"filterdiff_args": "--exclude=**/package-lock.json --exclude=**/yarn.lock --exclude=**/*.js.map --exclude=**/*.svg",
"openai_models": "gpt-3.5-turbo-16k-0613",
"openai_models": "gpt-3.5-turbo-0125",
"owner": context.repo.owner,
"repo": context.repo.repo,
"prnum": context.issue.number,
Expand Down
2 changes: 1 addition & 1 deletion src/openaiExplainPatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import OpenAI from "openai";
import { encoding_for_model } from "tiktoken";

export default async function explainPatch({openaiKey, patchBody, owner, repo,
models = ["gpt-3.5-turbo-1106"],
models = ["gpt-3.5-turbo-0125"],
system_prompt = `
You are an expert software engineer reviewing a pull request on Github. Lines that start with "+" have been added, lines that start with "-" have been deleted. Use markdown for formatting your review.
Expand Down

0 comments on commit aac211e

Please sign in to comment.