Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: add sdk-api-spec bot (#9193)

Hassieb Pakzad83d3009331ce
diff --git a/.github/workflows/sdk-api-spec.yml b/.github/workflows/sdk-api-spec.yml
index 7f6c8d4387..d3ba37cbba 100644
--- a/.github/workflows/sdk-api-spec.yml
+++ b/.github/workflows/sdk-api-spec.yml
@@ -82,11 +82,11 @@ jobs:
BRANCH_NAME="api-spec-bot-${{ github.sha }}"
git checkout -b "$BRANCH_NAME"
git add .
- git commit -m "Update Python SDK API spec from ${{ github.sha }}"
+ git commit -m "feat(api): update API spec from langfuse/langfuse ${{ github.sha }}"
git push origin "$BRANCH_NAME"
# Create PR
- gh pr create --title "Update Python SDK API spec" --body ""
+ gh pr create --title "feat(api): update API spec from langfuse/langfuse ${{ github.sha }}" --body ""
- name: Update TypeScript SDK
env:
@@ -101,6 +101,7 @@ jobs:
git config user.email "[email protected]"
echo "$GH_ACCESS_TOKEN" | gh auth login --with-token
gh auth setup-git
+
# Delete existing API contents
rm -rf packages/core/src/api/*
@@ -128,8 +129,8 @@ jobs:
BRANCH_NAME="api-spec-bot-${{ github.sha }}"
git checkout -b "$BRANCH_NAME"
git add .
- git commit -m "Update TypeScript SDK API spec from ${{ github.sha }}"
+ git commit -m "feat(api): update API spec from langfuse/langfuse ${{ github.sha }}" --no-verify
git push origin "$BRANCH_NAME"
# Create PR
- gh pr create --title "Update TypeScript SDK API spec" --body ""
+ gh pr create --title "feat(api): update API spec from langfuse/langfuse ${{ github.sha }}" --body ""