Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

add config options #63

Merged
merged 1 commit into from
Mar 19, 2023
Merged

add config options #63

merged 1 commit into from
Mar 19, 2023

Conversation

harjotgill
Copy link
Contributor

@harjotgill harjotgill commented Mar 19, 2023

Summary by OpenAI

Release Notes

New Feature: This pull request adds new configuration options related to OpenAI API and improves the bot's performance. Users can now configure model selection, retries, timeout, and concurrency limit for the OpenAI API. The changes also include a new function to limit concurrency and improve chat session management during reviews.

@github-actions
Copy link
Contributor

🤖 OpenAI

Thank you for letting me participate in the code review.

The purpose of this pull request is to add new configuration options related to OpenAI API and improve the bot's performance. The changes include adding new inputs, replacing hardcoded values with options, and introducing a new function to limit concurrency.

File Summary
action.yml, src/options.ts New options added for OpenAI API configuration, including model selection, retries, timeout, and concurrency limit.
src/bot.ts Two new options added to completionParams object, and a hardcoded value replaced with an option for timeoutMs.
src/main.ts Six new config options related to OpenAI added, and one option related to temperature removed.
src/review.ts limit function removed, and a new openai_concurrency_limit function added to limit concurrency. This function is used to generate summaries and reset chat sessions for each file while reviewing.

Overall, these changes aim to enhance the bot's performance and provide more flexibility in configuring the OpenAI API.


Tips:

  • You can reply on the review comment left by this bot to ask follow-up questions.
  • You can invite the bot into a review conversation by typing @openai in the beginning of the comment.

@harjotgill harjotgill added this pull request to the merge queue Mar 19, 2023
@harjotgill harjotgill removed this pull request from the merge queue due to a manual request Mar 19, 2023
@harjotgill harjotgill added this pull request to the merge queue Mar 19, 2023
@harjotgill harjotgill removed this pull request from the merge queue due to a manual request Mar 19, 2023
@harjotgill harjotgill added this pull request to the merge queue Mar 19, 2023
@harjotgill harjotgill merged commit df2286c into main Mar 19, 2023
@harjotgill harjotgill deleted the more_retries branch March 19, 2023 18:14
shoyuf pushed a commit to maybeLab/openai-mr-reviewer-gltlab that referenced this pull request Jun 25, 2023
<!-- This is an auto-generated comment: release notes by openai -->
### Summary by OpenAI

**Release Notes**

New Feature: This pull request adds new configuration options related to
OpenAI API and improves the bot's performance. Users can now configure
model selection, retries, timeout, and concurrency limit for the OpenAI
API. The changes also include a new function to limit concurrency and
improve chat session management during reviews.
<!-- end of auto-generated comment: release notes by openai -->
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant