LemonAgent.ModelRuntime.ProviderRouting (lemon_agent v0.1.0)

View Source

Redacted provider route-plan preview.

This module defines Lemon's stable provider routing shape without executing a model call. Runtime dispatch can consume the same candidate ordering once the fallback execution path is wired.

Summary

Functions

candidate_provider_ids(params, config)

@spec candidate_provider_ids(map() | nil, LemonCore.Config.t()) :: [String.t()]

preview(params, config, provider_statuses)

@spec preview(map() | nil, LemonCore.Config.t(), [map()]) :: map()