Module Values.StopReasonSource

Sourcetype nonrec t =
  1. | End_turn
  2. | Tool_use
  3. | Max_tokens
  4. | Stop_sequence
  5. | Guardrail_intervened
  6. | Content_filtered
  7. | Malformed_model_output
  8. | Malformed_tool_use
  9. | Model_context_window_exceeded
  10. | Non_static_id of string
Sourceval make : 'a -> 'a
Sourceval to_string : t -> string
Sourceval of_string : string -> t
Sourceval to_value : t -> [> `Enum of string ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval to_header : t -> string
Sourceval of_xml : ('a Xmlm.frag as 'a) Xmlm.frag -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t