Agentic.Protocol.LLM (agentic v0.2.2)

Copy Markdown

LLM protocol implementation that wraps existing callback-based LLM calls.

This protocol uses the existing llm_chat callback pattern, making it compatible with existing Agentic integrations. It provides the same interface as other protocols but delegates to the callbacks.

Summary

Functions

estimate_cost(_)

Callback implementation for Agentic.AgentProtocol.estimate_cost/1.

get_usage(_)

Callback implementation for Agentic.AgentProtocol.get_usage/1.

stream_message(_, _, _)

Callback implementation for Agentic.AgentProtocol.stream_message/3.