ASM.InferenceEndpoint.CompatibilityResult (ASM v0.9.2)

Copy Markdown View Source

Shared compatibility result contract for ASM endpoint publication.

Summary

Types

t()

@type t() :: %ASM.InferenceEndpoint.CompatibilityResult{
  compatible?: boolean(),
  contract_version: String.t(),
  metadata: map(),
  missing_requirements: [atom()],
  reason: atom(),
  resolved_management_mode: atom() | nil,
  resolved_protocol: atom() | nil,
  resolved_runtime_kind: atom() | nil,
  warnings: [atom()]
}

Functions

new(attrs)

@spec new(keyword() | map()) :: {:ok, t()} | {:error, term()}

new!(attrs)

@spec new!(keyword() | map()) :: t()