LemonGateway.Binding (lemon_gateway v0.1.0)

View Source

Struct representing a binding between a transport chat/topic and a project configuration.

Maps a transport, chat, and optional topic to a project, agent, default engine, and queue mode used by LemonGateway.BindingResolver for scope resolution.

Summary

Types

t()

@type t() :: %LemonGateway.Binding{
  agent_id: String.t() | nil,
  chat_id: integer(),
  default_engine: String.t() | nil,
  project: String.t() | nil,
  queue_mode: atom() | nil,
  topic_id: integer() | nil,
  transport: atom()
}