LemonAgent.Proxy.ProxyStreamOptions (lemon_agent v0.1.0)

View Source

Options for proxy streaming requests.

Fields

  • auth_token - Auth token for the proxy server (required)
  • proxy_url - Proxy server URL, e.g., "https://genai.example.com" (required)
  • temperature - Temperature for sampling (optional)
  • max_tokens - Maximum tokens to generate (optional)
  • reasoning - Thinking/reasoning level (optional)
  • signal - Abort signal reference for cancellation (optional)

Summary

Types

t()

@type t() :: %LemonAgent.Proxy.ProxyStreamOptions{
  auth_token: String.t(),
  max_tokens: non_neg_integer() | nil,
  proxy_url: String.t(),
  reasoning: thinking_level() | nil,
  signal: reference() | nil,
  temperature: float() | nil
}

thinking_level()

@type thinking_level() :: :minimal | :low | :medium | :high | :xhigh