Skip to content

Conversation

@achuajays
Copy link

@achuajays achuajays commented Jan 20, 2026

…, client, and updated documentation.


Summary by cubic

Add optional Langfuse observability with decorators and a client to trace functions and async generators. Includes helper utilities, exports, and docs; acts as a no-op when Langfuse isn’t installed.

  • New Features

    • observe_langfuse and observe_langfuse_debug decorators (span/generation), with input/output capture and async generator support; debug mode via LANGFUSE_DEBUG/BU_DEBUG.
    • LangfuseClient wrapper and helpers: is_langfuse_available, flush_langfuse.
    • init exports and README examples; Laminar observability remains available as an alternative.
  • Dependencies

    • Added optional extra: langfuse>=2.0.0 (install with uv add bu-agent-sdk[langfuse]); expects LANGFUSE_SECRET_KEY and LANGFUSE_PUBLIC_KEY.

Written for commit f61bd57. Summary will update on new commits.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 4 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants