langfuse-python
langfuse-python copied to clipboard
🪢 Langfuse Python SDK - Instrument your LLM app with decorators or low-level SDK and get detailed tracing/observability. Works with any LLM or framework
> [!IMPORTANT] > Introduces async prompt fetching API with shared caching and tests in `client.py` and `test_prompt.py`. > > - **Async API**: > - Adds `aget_prompt()` in `client.py` for async...
> [!IMPORTANT] > Add `trace_context` parameter to `LangchainCallbackHandler` to enable trace context injection for observations. > > - **Behavior**: > - Add `trace_context` parameter to `LangchainCallbackHandler` constructor for injecting trace...
for solving https://github.com/langfuse/langfuse/issues/7838 added remote trace attachment to langchain callback handler with `langfuse_trace_id` is provided in the config.metadata ---- > [!IMPORTANT] > Adds remote trace attachment to `LangchainCallbackHandler` in `CallbackHandler.py`...
Bumps [mypy](https://github.com/python/mypy) from 1.17.1 to 1.18.2. Changelog Sourced from mypy's changelog. Mypy 1.18.2 Fix crash on recursive alias (Ivan Levkivskyi, PR 19845) Add additional guidance for stubtest errors when runtime...
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 1.1.0 to 1.2.0. Release notes Sourced from pytest-asyncio's releases. pytest-asyncio 1.2.0 1.2.0 - 2025-09-12 Added --asyncio-debug CLI option and asyncio_debug configuration option to enable asyncio debug mode...
`Langchain` is a bloated package compared to `langchain_core`. Many apps using `langgraph` don't really need `langchain`, but rather use the core package.while. This PR changes some imports and the `pyproject.toml`...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.8.0 to 4.3.0. Release notes Sourced from pre-commit's releases. pre-commit v4.3.0 Features language: docker / language: docker_image: detect rootless docker. #3446 PR by @matthewhughes934. #1243 issue by...