fix: 🚸 use default model in default config.py
This commit is contained in:
parent
685b1ce062
commit
1bc5777ed1
1 changed files with 2 additions and 5 deletions
|
|
@ -29,12 +29,9 @@ class CommitMessageStep(Step):
|
|||
diff = subprocess.check_output(
|
||||
["git", "diff"], cwd=dir).decode("utf-8")
|
||||
|
||||
# Ask gpt-3.5-16k to write a commit message,
|
||||
# Ask the LLM to write a commit message,
|
||||
# and set it as the description of this step
|
||||
gpt3516k = OpenAI(model="gpt-3.5-turbo-0613")
|
||||
await sdk.start_model(gpt3516k)
|
||||
|
||||
self.description = await gpt3516k.complete(
|
||||
self.description = await sdk.models.default.complete(
|
||||
f"{diff}\n\nWrite a short, specific (less than 50 chars) commit message about the above changes:")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue