You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(api): update API spec from langfuse/langfuse 1999706 (#1615)
* feat(api): update API spec from langfuse/langfuse 1999706
* feat(scores): add TEXT type to score overloads and docstrings
Extend string-value overloads in create_score, score_current_span,
score_current_trace, score, and score_trace to accept TEXT alongside
CATEGORICAL. Update all related docstrings. Add ExperimentScoreType
to exclude TEXT from experiments/evals. Add integration test for TEXT
scores.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs: simplify openapi spec update instructions in CONTRIBUTING.md
The spec update is now automated via PR from the langfuse repo.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(scores): update stale casts and export ExperimentScoreType
Update cast(Literal["CATEGORICAL"], ...) to include "TEXT" in
score/score_trace/score_current_span/score_current_trace impl bodies.
Add ExperimentScoreType to __all__ in types.py.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* ci: fix tests by adding dynamic retry
* tests: adapt to update server logic
* ci: cache pnpm store instead of node_modules to avoid stale server state
Caching node_modules directly caused postinstall hooks (e.g. prisma
generate) to be skipped, leading to stale generated artifacts that
didn't match the current langfuse-server schema. Cache the pnpm store
instead so installs are still fast but hooks run properly.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* ci: revert caching changes
---------
Co-authored-by: langfuse-bot <langfuse-bot@langfuse.com>
Co-authored-by: Tobias Wochinger <tobias.wochinger@clickhouse.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,9 +45,7 @@ uv run mypy langfuse --no-error-summary
45
45
46
46
### Update openapi spec
47
47
48
-
1. Generate Fern Python SDK in [langfuse](https://github.com/langfuse/langfuse) and copy the files generated in `generated/python` into the `langfuse/api` folder in this repo.
49
-
2. Execute the linter by running `uv run ruff format .`
50
-
3. Rebuild and deploy the package to PyPi.
48
+
A PR with the changes is automatically created upon changing the Spec in the langfuse repo.
0 commit comments