The JSON codec, as derived: "Stop", "ToolCalls", "Length", "Unknown" and {"$type":"Other","raw":"..."}. An Other with an empty raw, which meant "none read" before FinishReason.Unknown existed, is read as Unknown.
The JSON codec, as derived: "Stop", "ToolCalls", "Length", "Unknown" and {"$type":"Other","raw":"..."}. An Other with an empty raw, which meant "none read" before FinishReason.Unknown existed, is read as Unknown.