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

Method content

crates/chat-cli/src/cli/chat/message.rs:249–251  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

247 }
248
249 pub fn content(&self) -> &UserMessageContent {
250 &self.content
251 }
252
253 pub fn prompt(&self) -> Option<&str> {
254 match self.content() {

Callers 10

try_fromMethod · 0.45
fromMethod · 0.45
build_chat_responseFunction · 0.45
compact_history_implMethod · 0.45
handle_responseMethod · 0.45
char_countMethod · 0.45
has_tool_use_resultsMethod · 0.45
tool_use_resultsMethod · 0.45
promptMethod · 0.45

Calls 1

as_strMethod · 0.45

Tested by 1

build_chat_responseFunction · 0.36