Interface: ILLMClientCallMeta
Defined in: internal/llm-client/types.ts:55
Who and why, for every LLMClient call. The UsageGuard and the Trace need it; the LLMClient stores nothing.
Properties
kind
kind:
ETraceKind
Defined in: internal/llm-client/types.ts:67
What the call is for: the answer, a run step, a judge, a rewrite, a memory update, an embedding.
profileId?
optionalprofileId?:string
Defined in: internal/llm-client/types.ts:61
The profile the call runs on. Omitted for system jobs (e.g. KB ingestion).
runId?
optionalrunId?:string
Defined in: internal/llm-client/types.ts:65
The run the call is a step of; omitted outside a run.
tenantId
tenantId:
string
Defined in: internal/llm-client/types.ts:57
The tenant that pays and owns the trace entry.
threadId?
optionalthreadId?:string
Defined in: internal/llm-client/types.ts:63
The thread of the call; omitted for a call outside a thread (an embedding, a KB ingestion).
userId?
optionaluserId?:string
Defined in: internal/llm-client/types.ts:59
Omitted for system jobs (e.g. KB ingestion).