Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 321 Bytes

unit.mdx

File metadata and controls

22 lines (15 loc) · 321 Bytes
title Unit

Example Usage

from openrouter.components import Unit

# Open enum: unrecognized values are captured as UnrecognizedStr
value: Unit = "request"

Values

This is an open enum. Unrecognized values will not fail type checks.

  • "request"
  • "image"
  • "megapixel"
  • "token"