We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10b9573 commit c29b26fCopy full SHA for c29b26f
crates/chat-cli/src/cli/chat/conversation.rs
@@ -432,6 +432,11 @@ impl ConversationState {
432
schema_json: &str,
433
) {
434
if !tool_name.is_empty() && !server_name.is_empty() {
435
+ let description = if description.is_empty() {
436
+ "No description available"
437
+ } else {
438
+ description
439
+ };
440
let json_value: serde_json::Value = serde_json::from_str(schema_json)
441
.unwrap_or_else(|_| serde_json::json!({"type": "object", "properties": {}}));
442
0 commit comments