Upstream-compatible LM wrapper for reflection models.
Existing gepa_ex code should keep using GEPA.LLM. This module provides a
small compatibility layer for code ported from Python's gepa.lm: it tracks
approximate token counts and delegates text generation to either a callable or
a normalized GEPA.LLM client.
Summary
Types
Functions
@spec batch_complete(t(), [GEPA.LLM.prompt()], keyword()) :: {:ok, [String.t()]} | {:error, term()}
@spec calls(t()) :: non_neg_integer()
@spec total_tokens_in(t()) :: non_neg_integer()
@spec total_tokens_out(t()) :: non_neg_integer()