Skip to main content

llm_request

Method
This is a method of the ContextTraceEmitter class in the context_events module.
Emit LLM request event.

Signature

Parameters

str
required
Name of the agent making the request
int
required
Number of messages in the request
int
required
Estimated tokens used
int
default:"0"
Token budget available
Optional[str]
Model being used
Optional
Optional full messages array for context replay

Uses

  • ContextEvent
  • time.time

Source

View on GitHub

praisonaiagents/trace/context_events.py at line 668

Models Overview

LLM Configuration

Model Router

Model Failover