langfuse/langfuse-python

Testing with local Langfuse server

Closed this issue · 0 comments

Context
Currently tests depend on instance of langfuse server and require HOST, LF_PK and LF_SK environment secrets.

Goal
tests of the SDK should not require any secrets to enable safely running them on forks of this project (except for E2E test that use external APIs, e.g. OpenAI, Huggingface Hub)

Potential solution
Run dockerized langfuse (langfuse/langfuse) in CI, acc to instructions here: https://langfuse.com/docs/deployment/local

Blocked by
Need to add db seeder to langfuse/langfuse to create default user, project, public key, secret key