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

Method with_max_tokens

crates/opencode-agent/src/agent.rs:419–422  ·  view source on GitHub ↗
(mut self, max_tokens: u64)

Source from the content-addressed store, hash-verified

417 }
418
419 pub fn with_max_tokens(mut self, max_tokens: u64) -> Self {
420 self.max_tokens = Some(max_tokens);
421 self
422 }
423
424 pub fn with_permission(mut self, permission: PermissionRuleset) -> Self {
425 self.permission = permission;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected