Packages

Elixir client for the Anthropic Messages API — typed content blocks, native tool use, streaming, retries.

Current section

Files

Jump to
anthropic_community lib anthropic application.ex
Raw

lib/anthropic/application.ex

defmodule Anthropic.Application do
@moduledoc false
use Application
@doc false
def start(_type, _args) do
children = [
Anthropic.Config,
{Finch, name: Anthropic.HTTPClient}
]
opts = [strategy: :one_for_one, name: Anthropic.Supervisor]
Supervisor.start_link(children, opts)
end
end