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

Method context_overflow

crates/opencode-provider/src/provider.rs:140–142  ·  view source on GitHub ↗
(message: impl Into<String>)

Source from the content-addressed store, hash-verified

138 }
139
140 pub fn context_overflow(message: impl Into<String>) -> Self {
141 ProviderError::ContextOverflow(message.into())
142 }
143
144 pub fn is_overflow(message: &str) -> bool {
145 if OVERFLOW_PATTERNS.iter().any(|p| p.is_match(message)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected