Documentation
¶
Overview ¶
trace-cost-calculator connects to the Langfuse API and fetches usage statistics for the "devops-copilot" agent using the langfuse.Client from pkg/langfuse. It reads credentials from environment variables.
Usage:
# From repo root: source .env && go run -mod=mod ./examples/trace-cost-calculator/main.go # Or with a custom agent name: source .env && go run -mod=mod ./examples/trace-cost-calculator/main.go reactree.adaptive_loop
Click to show internal directories.
Click to hide internal directories.