Skip to content

Commit

Permalink
Bump 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jlowin committed Dec 3, 2024
1 parent 2a3800d commit 2604682
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: jlowin/[email protected].0
- uses: jlowin/[email protected].1
with:
include-repo-labels: true # Set to false if you're providing a config file with labels
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
Expand Down Expand Up @@ -67,7 +67,7 @@ By default, the AI labeler will use all labels found in your repository, as well
To disable this behavior, set `include-repo-labels` to `false`. In this case, the AI will only use labels defined in your config file. See the fine-tuning section below for more details.

```yaml
- uses: jlowin/[email protected].0
- uses: jlowin/[email protected].1
with:
include-repo-labels: false # Only use labels defined in config
```
Expand All @@ -82,7 +82,7 @@ You must specify an LLM provider and provide an API key. You can use either Open
By default, the AI labeler uses OpenAI's `gpt-4o-mini` model. This is an excellent and affordable choice for most users. However, 4o-mini can get confused by complex per-label instructions. You can specify a different model if you'd like:

```yaml
- uses: jlowin/[email protected].0
- uses: jlowin/[email protected].1
with:
controlflow-llm-model: openai/gpt-4o-mini
```
Expand All @@ -98,7 +98,7 @@ Note that you must provide an appropriate API key for your selected LLM provider
#### OpenAI

```yaml
- uses: jlowin/[email protected].0
- uses: jlowin/[email protected].1
with:
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
Expand All @@ -111,7 +111,7 @@ Set your OpenAI API key as a repository secret named `OPENAI_API_KEY`. Since the
#### Anthropic

```yaml
- uses: jlowin/[email protected].0
- uses: jlowin/[email protected].1
with:
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
Expand All @@ -126,7 +126,7 @@ Set your Anthropic API key as a repository secret named `ANTHROPIC_API_KEY`. To
By default, the action looks for additional configuration in `.github/ai-labeler.yml`. You can specify a different location:

```yaml
- uses: jlowin/[email protected].0
- uses: jlowin/[email protected].1
with:
config-path: .github/my-custom-config.yml
```
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "ai-labeler"
version = "0.5.0"
version = "0.5.1"
description = "GitHub Action that uses LLMs to label issues and PRs"
readme = "README.md"
requires-python = ">=3.12"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2604682

Please sign in to comment.