File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 88 },
99 "ui" : {
1010 "dashboard-tab" : {
11- "title" : " Labs AI Tools " ,
11+ "title" : " MCP Catalog " ,
1212 "src" : " index.html" ,
1313 "root" : " ui"
1414 }
3434 }
3535 ]
3636 }
37- }
37+ }
Original file line number Diff line number Diff line change 266266 (into []))
267267 :metadata metadata}))
268268
269+ (def memoized-parse-prompts
270+ (memoize parse-prompts))
271+
269272; ; ---------- future ---------
270273
271274(defn parse-new [content query]
Original file line number Diff line number Diff line change 174174 (cond
175175 ; ; prompt content is already in opts
176176 prompt-content
177- (markdown-parser/parse-prompts prompt-content)
177+ (markdown-parser/memoized- parse-prompts prompt-content)
178178
179179 ; ; file based prompts
180180 :else
181- (markdown-parser/parse-prompts (slurp prompts)))
181+ (markdown-parser/memoized- parse-prompts (slurp prompts)))
182182
183183 m (merge
184184 (run-extractors (:extractors metadata) opts)
You can’t perform that action at this time.
0 commit comments