MCPcopy Create free account
hub / github.com/AI45Lab/Code / with_style

Method with_style

core/src/prompts.rs:554–557  ·  view source on GitHub ↗

Set the agent style explicitly.

(mut self, style: AgentStyle)

Source from the content-addressed store, hash-verified

552
553 /// Set the agent style explicitly.
554 pub fn with_style(mut self, style: AgentStyle) -> Self {
555 self.style = Some(style);
556 self
557 }
558
559 /// Set the role/identity.
560 pub fn with_role(mut self, role: impl Into<String>) -> Self {

Calls

no outgoing calls