Skip to content

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

chore: update sdk-api-spec bot (#9222)

Hassieb Pakzada7d59d7bb27f
diff --git a/.github/workflows/sdk-api-spec.yml b/.github/workflows/sdk-api-spec.yml
index 9f86ed767f..be3d29cc7b 100644
--- a/.github/workflows/sdk-api-spec.yml
+++ b/.github/workflows/sdk-api-spec.yml
@@ -55,6 +55,10 @@ jobs:
# Copy generated Python SDK files
cp -r ../langfuse/generated/python/* langfuse/api/
+ # Remove unnecessary integration tests created by Fern
+ # (could not find the right option to prevent this in generation step)
+ rm -rf langfuse/api/tests
+
# Install poetry and format
pip install poetry
poetry install --all-extras
@@ -73,11 +77,11 @@ jobs:
BRANCH_NAME="api-spec-bot-${{ github.sha }}"
git checkout -b "$BRANCH_NAME"
git add .
- git commit -m "feat(api): update API spec from langfuse/langfuse ${{ github.sha }}"
+ git commit -m "feat(api): update API spec from langfuse/langfuse ${GITHUB_SHA::8}"
git push origin "$BRANCH_NAME"
# Create PR
- gh pr create --title "feat(api): update API spec from langfuse/langfuse ${{ github.sha }}" --body ""
+ gh pr create --title "feat(api): update API spec from langfuse/langfuse ${GITHUB_SHA::8}" --body ""
- name: Update TypeScript SDK
env:
@@ -117,8 +121,8 @@ jobs:
BRANCH_NAME="api-spec-bot-${{ github.sha }}"
git checkout -b "$BRANCH_NAME"
git add .
- git commit -m "feat(api): update API spec from langfuse/langfuse ${{ github.sha }}" --no-verify
+ git commit -m "feat(api): update API spec from langfuse/langfuse ${GITHUB_SHA::8}" --no-verify
git push origin "$BRANCH_NAME"
# Create PR
- gh pr create --title "feat(api): update API spec from langfuse/langfuse ${{ github.sha }}" --body ""
+ gh pr create --title "feat(api): update API spec from langfuse/langfuse ${GITHUB_SHA::8}" --body ""
diff --git a/fern/apis/server/generators.yml b/fern/apis/server/generators.yml
index 05f6b37195..54d9552191 100644
--- a/fern/apis/server/generators.yml
+++ b/fern/apis/server/generators.yml
@@ -31,7 +31,7 @@ groups:
# client-class-name: LangfuseClient
- name: fernapi/fern-typescript-node-sdk
- version: 2.6.1
+ version: 2.12.3
output:
location: local-file-system
path: ../../../generated/typescript
diff --git a/fern/fern.config.json b/fern/fern.config.json
index 5db9f46e29..c44d94b6f5 100644
--- a/fern/fern.config.json
+++ b/fern/fern.config.json
@@ -1,4 +1,4 @@
{
"organization": "langfuse",
- "version": "0.56.0"
-}
+ "version": "0.77.5"
+}
\ No newline at end of file