Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [main]

permissions:
actions: write
contents: write

jobs:
Expand Down Expand Up @@ -45,3 +46,11 @@ jobs:
gh release create "$TAG" --title "$TAG" --notes "$NOTES"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Trigger publish workflow
if: steps.check.outputs.released == 'true'
run: |
TAG="${{ steps.check.outputs.tag }}"
gh workflow run publish.yml --ref "$TAG" -f ref="$TAG"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pi install -l npm:pi-weighted-model-router
To pin a specific version:

```bash
pi install npm:pi-weighted-model-router@0.2.2
pi install npm:pi-weighted-model-router@0.2.3
```

From a local checkout:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{
"name": "pi-weighted-model-router",
"version": "0.2.2",
"version": "0.2.3",
"description": "Pi extension that balances model/provider usage across weighted model pools.",
"type": "module",
"license": "MIT",
"author": "eiei114",
"repository": {
"type": "git",
"url": "https://github.com/eiei114/pi-weighted-model-router"
},
"homepage": "https://github.com/eiei114/pi-weighted-model-router#readme",
"bugs": {
"url": "https://github.com/eiei114/pi-weighted-model-router/issues"
},
"keywords": [
"pi-package",
"pi-extension",
Expand Down