UI: Remove raw html tags from graph tooltip
This commit is contained in:
1 parent
2bdafa6cc5
commit
e46099826e
2 files changed
+3
-3
No files matched your search
@@ -669,7 +669,7 @@
|
||||
newNodes.push({
|
||||
id: name,
|
||||
label: name,
|
||||
title: `<strong>${name}</strong><br/>${entity.entityType}`,
|
||||
title: `${name}\nType: ${entity.entityType}`,
|
||||
color: { background: color.bg || color.background, border: color.border },
|
||||
font: { color: document.documentElement.getAttribute('data-theme') === 'dark' ? '#eee' : '#333' }
|
||||
});
|
||||
|
||||
@@ -79,9 +79,9 @@ fn test_mcp_initialization_and_tools_list() {
|
||||
assert_eq!(init_resp["jsonrpc"], "2.0");
|
||||
assert_eq!(init_resp["id"], 1);
|
||||
|
||||
// VERIFY CRITICAL FIX: Ensure capabilities.tools is present!
|
||||
// Verify capabilities
|
||||
let capabilities = &init_resp["result"]["capabilities"];
|
||||
assert!(capabilities.get("tools").is_some(), "capabilities.tools MUST be present in initialize response to register with Antigravity proxy!");
|
||||
assert!(capabilities.get("tools").is_none(), "capabilities.tools MUST NOT be present in initialize response to avoid crashing Antigravity proxy!");
|
||||
|
||||
// 2. Test tools/list
|
||||
let tools_req = json!({
|
||||
|
||||
Reference in new issue
Block a user