public static Completion from(String text, FinishReason reason) {
        return new Completion(text, reason);
    }
Returns the reason this completion ended.
vespajlib/src/main/java/ai/vespa/llm/completion/Completion.java