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

Class AgentParams

crates/opencode-session/src/prompt.rs:129–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127/// LLM parameters derived from agent configuration.
128#[derive(Debug, Clone, Default)]
129pub struct AgentParams {
130 pub max_tokens: Option<u64>,
131 pub temperature: Option<f32>,
132 pub top_p: Option<f32>,
133}
134
135pub type SessionUpdateHook = Arc<dyn Fn(&Session) + Send + Sync + 'static>;
136

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected