Skip to content

Commit

Permalink
*: anthropic, move to claude 3.5 sonnet
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Jun 21, 2024
1 parent 662edf0 commit 28d95fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = async ({ github, context, inputs, actionPath }) => {
amplification: '4',
filterdiff_args: '--exclude=**/package-lock.json --exclude=**/yarn.lock --exclude=**/*.js.map --exclude=**/*.svg --exclude=**/test/data/**/* --exclude=**/docs/**/* --exclude=**/deploy/**/* --exclude=**/.htpasswd',
openai_models: 'gpt-4o-2024-05-13 gpt-3.5-turbo-0125',
anthropic_models: 'claude-3-opus-20240229',
anthropic_models: 'claude-3-5-sonnet-20240620',
bedrock_models: 'anthropic.claude-3-opus-20240229-v1:0',
owner: context.repo.owner,
repo: context.repo.repo,
Expand Down
2 changes: 1 addition & 1 deletion src/anthropicExplainPatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { SYSTEM_PROMPT, explainPatchHelper } from './utils.js'
/* eslint-disable camelcase */
export default async function explainPatch ({
apiKey, patchBody, owner, repo,
models = ['claude-3-opus-20240229'],
models = ['claude-3-5-sonnet-20240620'],
system = SYSTEM_PROMPT,
max_tokens = 2048,
temperature = 1,
Expand Down

0 comments on commit 28d95fd

Please sign in to comment.