coderabbitai / ai-pr-reviewer

AI-based Pull Request Summarizer and Reviewer with Chat Capabilities.
https://coderabbit.ai
MIT License
1.41k stars 256 forks source link

Feat/testing #476

Closed ParthGuptaHL closed 9 months ago

ParthGuptaHL commented 9 months ago

Summary by CodeRabbit

New Feature:

Chore:

๐ŸŽ‰ With each update, we're getting better, ๐Ÿš€

A new environment variable, isn't it clever? ๐Ÿ’ก

The bot now has a fallback, standing tall, ๐Ÿค–

And we've updated our package, one and all! ๐Ÿ“ฆ

Ignoring .idea, as we should, ๐Ÿ™ˆ

Making our codebase clean and good. ๐Ÿงน

github-actions[bot] commented 9 months ago

Image description CodeRabbit

Walkthrough

The changes primarily introduce a new environment variable BASE_API_URL for configuring the base API URL in the workflow and bot files. Additionally, the .idea directory is added to .gitignore, and the "openai-pr-reviewer" package version is updated from 0.0.0 to 0.1.0.

Changes

Files Summary
.github/workflows/openai-review.yml, src/bot.ts Introduced a new environment variable BASE_API_URL. In the bot file, this variable is used with a fallback value during the instantiation of the ChatGPTAPI class.
.gitignore Added the .idea directory to the ignore list.
package-lock.json, package.json Updated the version of the "openai-pr-reviewer" package from 0.0.0 to 0.1.0. No changes were made to the external interface or behavior of the code.