Skip to content

Commit

Permalink
Merge pull request #124 from devchat-ai/use_select_model_in_github_co…
Browse files Browse the repository at this point in the history
…mmands

Refactor code to remove model parameter from @chat_json decorator
  • Loading branch information
kagami-l authored May 28, 2024
2 parents 95bd6d0 + a3706c7 commit 060900a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion merico/github/code_task_summary/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def extract_issue_id(branch_name):
)


@chat_json(prompt=PROMPT, model="gpt-4-1106-preview")
@chat_json(prompt=PROMPT)
def generate_code_task_summary(issue_body):
pass

Expand Down
2 changes: 1 addition & 1 deletion merico/github/new_branch/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
)


@chat_json(prompt=PROMPT, model="gpt-4-1106-preview")
@chat_json(prompt=PROMPT)
def generate_branch_name(task):
pass

Expand Down
2 changes: 1 addition & 1 deletion merico/github/new_pr/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def extract_issue_id(branch_name):
)


@chat_json(prompt=PROMPT, model="gpt-4-1106-preview")
@chat_json(prompt=PROMPT)
def generate_pr_content_llm(issue, commit_message, user_input):
pass

Expand Down
2 changes: 1 addition & 1 deletion merico/github/update_pr/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def extract_issue_id(branch_name):
)


@chat_json(prompt=PROMPT, model="gpt-4-1106-preview")
@chat_json(prompt=PROMPT)
def generate_pr_content_llm(issue, commit_messages):
pass

Expand Down

0 comments on commit 060900a

Please sign in to comment.