LemonAi. ModelCache
(lemon_ai v0.1.0)
View Source
Caches model availability per provider using ETS to reduce redundant API calls. Ported from Oh-My-Pi's model-cache.ts (SQLite) to idiomatic Elixir with ETS.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec invalidate(term()) :: :ok
@spec invalidate_all() :: :ok
@spec stats() :: %{entries: non_neg_integer(), providers: list()}