MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / current_profile

Method current_profile

crates/chat-cli/src/cli/chat/conversation.rs:788–794  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

786 }
787
788 pub fn current_profile(&self) -> Option<&str> {
789 if let Some(cm) = self.context_manager.as_ref() {
790 Some(cm.current_profile.as_str())
791 } else {
792 None
793 }
794 }
795
796 /// Returns pairs of user and assistant messages to include as context in the message history
797 /// including both summaries and context files if available, and the dropped context files.

Callers 2

newMethod · 0.80

Calls 2

as_refMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected