Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_from
Method · 0.45
from
Method · 0.45
build_chat_response
Function · 0.45
compact_history_impl
Method · 0.45
generate_agent_config_impl
Method · 0.45
handle_response
Method · 0.45
char_count
Method · 0.45
has_tool_use_results
Method · 0.45
tool_use_results
Method · 0.45
prompt
Method · 0.45
Calls
1
as_str
Method · 0.45
Tested by
1
build_chat_response
Function · 0.36