@uservane/openai-agents/langfuse: LangfuseTraceClient
Type Alias: LangfuseTraceClient
Section titled “Type Alias: LangfuseTraceClient”LangfuseTraceClient =
object
Defined in: langfuse.d.ts:47
Injectable Langfuse surface (matches what we call; tests inject a fake).
Methods
Section titled “Methods”flush()
Section titled “flush()”flush(
callback):void
Defined in: langfuse.d.ts:63
Drain the ingestion queue via callback. Use flush(cb), NOT flushAsync(): flushAsync swallows ingestion HTTP failures (langfuse-core lesson shared with @uservane/langfuse-push).
Parameters
Section titled “Parameters”callback
Section titled “callback”(err?) => void
Returns
Section titled “Returns”void
trace()
Section titled “trace()”trace(
body):unknown
Defined in: langfuse.d.ts:48
Parameters
Section titled “Parameters”string
input?
Section titled “input?”unknown
metadata?
Section titled “metadata?”unknown
string | null
output?
Section titled “output?”unknown
sessionId?
Section titled “sessionId?”string | null
string[] | null
timestamp?
Section titled “timestamp?”string | null
Returns
Section titled “Returns”unknown