move to gpt-3.5-turbo-1106

This commit is contained in:
Paul Gauthier 2023-12-05 10:16:33 -08:00
parent 6ebc142377
commit fb07b784f6
8 changed files with 27 additions and 23 deletions

View file

@ -110,9 +110,7 @@ class GitRepo:
raise OpenAIClientNotProvided
if len(diffs) >= 4 * 1024 * 4:
self.io.tool_error(
f"Diff is too large for {models.GPT35.name} to generate a commit message."
)
self.io.tool_error("Diff is too large to generate a commit message.")
return
diffs = "# Diffs:\n" + diffs