MirascopeLilypad

mirascope.core.litellm.call_response

This module contains the LiteLLMCallResponse class.

Usage

Class LiteLLMCallResponse

A simpler wrapper around OpenAICallResponse.

Everything is the same except the cost property, which has been updated to use LiteLLM's cost calculations so that cost tracking works for non-OpenAI models.

Bases:

OpenAICallResponse

Attributes

NameTypeDescription
cost_metadataCostMetadata-