🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: update sdk-api-spec bot (#9195)
Hassieb Pakzad69b3b8177191
diff --git a/.github/workflows/sdk-api-spec.yml b/.github/workflows/sdk-api-spec.ymlindex d3ba37cbba..479af7b3bb 100644--- a/.github/workflows/sdk-api-spec.yml+++ b/.github/workflows/sdk-api-spec.yml@@ -1,9 +1,9 @@name: SDK API Spec Generationon:- # push:- # branches:- # - main+ push:+ branches:+ - mainworkflow_dispatch:concurrency:@@ -47,9 +47,6 @@ jobs:git clone https://github.com/langfuse/langfuse-python.git ../langfuse-pythoncd ../langfuse-python- # Configure git- git config user.name "api-spec-bot"- git config user.email "[email protected]"echo "$GH_ACCESS_TOKEN" | gh auth login --with-tokengh auth setup-git@@ -62,9 +59,7 @@ jobs:# Install poetry and formatpip install poetrypoetry install --all-extras- cd langfuse/api- poetry run ruff format . || echo "Ruff format completed with warnings"- cd ../..+ poetry run ruff format langfuse/api# Check for changes and show diff for debuggingif git diff --quiet; then@@ -72,11 +67,8 @@ jobs:exit 0fi- echo "Changes detected in Python SDK:"- git diff-# Close existing api-spec-bot PRs- gh pr list --author api-spec-bot --state open --json number --jq '.[].number' | xargs -I {} gh pr close {}+ gh pr list --author langfuse-bot --state open --json number --jq '.[].number' | xargs -I {} gh pr close {}# Create new branch and push changesBRANCH_NAME="api-spec-bot-${{ github.sha }}"@@ -97,8 +89,6 @@ jobs:cd ../langfuse-js# Configure git- git config user.name "api-spec-bot"- git config user.email "[email protected]"echo "$GH_ACCESS_TOKEN" | gh auth login --with-tokengh auth setup-git@@ -111,7 +101,7 @@ jobs:# Install dependencies and formatnpm install -g pnpmpnpm install- pnpm format || echo "Format completed with warnings"+ pnpm format# Check for changes and show diff for debuggingif git diff --quiet; then@@ -119,11 +109,8 @@ jobs:exit 0fi- echo "Changes detected in TypeScript SDK:"- git diff-# Close existing api-spec-bot PRs- gh pr list --author api-spec-bot --state open --json number --jq '.[].number' | xargs -I {} gh pr close {}+ gh pr list --author langfuse-bot --state open --json number --jq '.[].number' | xargs -I {} gh pr close {}# Create new branch and push changesBRANCH_NAME="api-spec-bot-${{ github.sha }}"