def raw.got
import bend-kit-llm@0.13.0.1/llm.bend as Llmimport Base
import bend-kit-json@0.7.0.0/json.bend as Json
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
import bend-kit-encoding@0.5.0.0/encoding.bend as Enc
371def raw.got(b: Bytes.Bytes, m: Maybe<&1, Json.Val>) -> Result<&1, &1, Err, Json.Val>:
372 match m:
373 case None{}:
374 Fail{ErrReply{Enc.utf8.decode(b)}}
375 case Some{v}:
376 Done{v}