Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aws/amazon-q-developer-cli
/ should_send_structured_message
Function
should_send_structured_message
crates/chat-cli/src/util/ui.rs:170–174 ·
view source on GitHub ↗
(os: &Os)
Source
from the content-addressed store, hash-verified
168
}
169
170
pub fn should_send_structured_message(os: &Os) -> bool {
171
let ui_mode = os.database.settings.get_string(Setting::UiMode);
172
173
ui_mode.as_deref().is_some_and(|mode| mode ==
"structured"
)
174
}
Callers
1
new
Method · 0.85
Calls
1
get_string
Method · 0.80
Tested by
no test coverage detected