LLMProxy.Actor (llm_proxy v0.1.0)

Copy Markdown View Source

Authenticated caller identity used below transport boundaries.

Summary

Types

kind()

@type kind() :: :api_key | :user | :system | :master

t()

@type t() :: %LLMProxy.Actor{
  api_key: map() | nil,
  id: String.t(),
  kind: kind(),
  limits: map(),
  metadata: map(),
  name: String.t() | nil
}

Functions

from_api_key(api_key)

@spec from_api_key(map()) :: t()

master_key()

@spec master_key() :: map()

system(opts \\ [])

@spec system(keyword()) :: t()