3838 working-directory : ./hindsight
3939 run : uv build --out-dir dist
4040
41+ - name : Build hindsight-litellm
42+ working-directory : ./hindsight-integrations/litellm
43+ run : uv build --out-dir dist
44+
4145 # Publish in order (client and api first, then hindsight-all which depends on them)
4246 - name : Publish hindsight-client to PyPI
4347 uses : pypa/gh-action-pypi-publish@release/v1
5761 packages-dir : ./hindsight/dist
5862 skip-existing : true
5963
64+ - name : Publish hindsight-litellm to PyPI
65+ uses : pypa/gh-action-pypi-publish@release/v1
66+ with :
67+ packages-dir : ./hindsight-integrations/litellm/dist
68+ skip-existing : true
69+
6070 # Upload artifacts for GitHub release
6171 - name : Upload artifacts
6272 uses : actions/upload-artifact@v4
6676 hindsight-clients/python/dist/*
6777 hindsight-api/dist/*
6878 hindsight/dist/*
79+ hindsight-integrations/litellm/dist/*
6980 retention-days : 1
7081
7182 release-typescript-client :
@@ -306,6 +317,7 @@ jobs:
306317 cp artifacts/python-packages/hindsight-clients/python/dist/* release-assets/ || true
307318 cp artifacts/python-packages/hindsight-api/dist/* release-assets/ || true
308319 cp artifacts/python-packages/hindsight/dist/* release-assets/ || true
320+ cp artifacts/python-packages/hindsight-integrations/litellm/dist/* release-assets/ || true
309321 # TypeScript client
310322 cp artifacts/typescript-client/*.tgz release-assets/ || true
311323 # Rust CLI binaries
@@ -316,54 +328,11 @@ jobs:
316328 cp artifacts/helm-chart/*.tgz release-assets/ || true
317329 ls -la release-assets/
318330
319- - name : Generate release notes
320- run : |
321- cat << 'EOF' > release-notes.md
322- ## Quick Start
323-
324- ```bash
325- # Install the CLI
326- curl -fsSL https://raw.githubusercontent.com/vectorize-io/hindsight/refs/heads/main/hindsight-cli/install.sh | bash
327-
328- # Start the server
329- docker run -p 8888:8888 -p 9999:9999 \
330- -e HINDSIGHT_API_LLM_PROVIDER=openai \
331- -e HINDSIGHT_API_LLM_API_KEY=$OPENAI_API_KEY \
332- -e HINDSIGHT_API_LLM_MODEL=gpt-4o-mini \
333- ghcr.io/${{ github.repository_owner }}/hindsight:${{ steps.get_version.outputs.VERSION }}
334- ```
335-
336- ## Docker Images
337- - `ghcr.io/${{ github.repository_owner }}/hindsight:${{ steps.get_version.outputs.VERSION }}` - Standalone (recommended)
338- - `ghcr.io/${{ github.repository_owner }}/hindsight-api:${{ steps.get_version.outputs.VERSION }}` - API only
339- - `ghcr.io/${{ github.repository_owner }}/hindsight-control-plane:${{ steps.get_version.outputs.VERSION }}` - Web UI only
340-
341- ## CLI
342- ```bash
343- curl -fsSL https://raw.githubusercontent.com/vectorize-io/hindsight/refs/heads/main/hindsight-cli/install.sh | bash
344- ```
345-
346- ## Python
347- ```bash
348- pip install hindsight-all # or hindsight-api, hindsight-client
349- ```
350-
351- ## TypeScript/JavaScript
352- ```bash
353- npm install @vectorize-io/hindsight-client
354- ```
355-
356- ## Helm
357- ```bash
358- helm install hindsight oci://ghcr.io/${{ github.repository_owner }}/charts/hindsight --version ${{ steps.get_version.outputs.VERSION }}
359- ```
360- EOF
361-
362331 - name : Create GitHub Release
363332 uses : softprops/action-gh-release@v2
364333 with :
365334 files : release-assets/*
366- body_path : release-notes.md
335+ generate_release_notes : true
367336 draft : false
368337 prerelease : false
369338 env :
0 commit comments