MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / finish_reason

Method finish_reason

crates/opencode-session/src/llm.rs:240–242  ·  view source on GitHub ↗

Get the finish reason.

(&self)

Source from the content-addressed store, hash-verified

238
239 /// Get the finish reason.
240 pub fn finish_reason(&self) -> Option<&str> {
241 self.finish_reason.as_deref()
242 }
243
244 /// Get the error, if any.
245 pub fn error(&self) -> Option<&MessageError> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected