Current section

Files

Jump to
openai_ex lib openai_ex application.ex
Raw

lib/openai_ex/application.ex

defmodule OpenaiEx.Application do
@moduledoc false
use Application
@impl true
def start(_type, _args) do
children = [
{Finch, name: OpenaiEx.Finch},
{DynamicSupervisor, strategy: :one_for_one, name: OpenaiEx.FinchSupervisor}
]
Supervisor.start_link(children, strategy: :one_for_one)
end
end