Skip to main content
Deno 2 is finally here 🎉️
Learn more
variable getCommitMessageSuggestion
import { getCommitMessageSuggestion } from "https://deno.land/x/commit_genius@v0.4.0/lib/get_commit_message_suggestion.ts";

type

(
openaiAccessToken: string,
diffText: string,
model: "gpt-3.5-turbo" | "gpt-4",
) => Promise<string>