Skip to content

Commit

Permalink
fix: ET-1441: fix typo in variable name, change OCO_TOKENS_MAX_INPUT …
Browse files Browse the repository at this point in the history
…to OCO_TOKENS_MAX_OUTPUT
  • Loading branch information
Matthew Salter committed Nov 22, 2023
1 parent 5feee6b commit 3007e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generateCommitMessageFromGitDiff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { tokenCount } from './utils/tokenCount';

const config = getConfig();
const MAX_TOKENS_INPUT = config?.OCO_TOKENS_MAX_INPUT || 4096;
const MAX_TOKENS_OUTPUT = config?.OCO_TOKENS_MAX_INPUT || 500;
const MAX_TOKENS_OUTPUT = config?.OCO_TOKENS_MAX_OUTPUT || 500;

const generateCommitMessageChatCompletionPrompt = async (
diff: string,
Expand Down

0 comments on commit 3007e55

Please sign in to comment.