MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / getNodeHelp

Function getNodeHelp

frontend/src/utils/helpContent.js:191–202  ·  view source on GitHub ↗
(nodeType)

Source from the content-addressed store, hash-verified

189 * @returns {Object|null} Help content for that node type, or null for unknown types
190 */
191export function getNodeHelp(nodeType) {
192 if (!nodeType) {
193 return null
194 }
195
196 const type = nodeType.toLowerCase()
197 const content = getHelpContent(`workflowNode.${type}`)
198
199 // Return null for unknown types (when content lookup fails)
200 // This prevents showing tooltips for custom/user-defined node types
201 return content
202}
203
204/**
205 * Get edge help content based on edge properties

Callers

nothing calls this directly

Calls 1

getHelpContentFunction · 0.85

Tested by

no test coverage detected