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

Function getYAMLDescription

frontend/src/utils/apiFunctions.js:224–231  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

222 }
223
224 function getYAMLDescription(content) {
225 try {
226 const doc = yaml.load(content)
227 return doc.graph.description || 'No description'
228 } catch {
229 return 'No description'
230 }
231 }
232}
233
234// Fetch YAML file content

Callers 1

fetchWorkflowsWithDescFunction · 0.85

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected