View Source LlmComposer.ProvidersRunner (llm_composer v0.13.0)

Handles provider execution logic including fallback strategies, routing, and error handling for multiple provider configurations.

Summary

Functions

Runs provider execution with fallback support for multiple providers.

Types

Functions

Link to this function

run(messages, settings, system_msg)

View Source
@spec run(messages(), LlmComposer.Settings.t(), LlmComposer.Message.t()) ::
  {:ok, any()} | {:error, atom()}

Runs provider execution with fallback support for multiple providers.