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 8
8
},
9
9
"ui" : {
10
10
"dashboard-tab" : {
11
- "title" : " Labs AI Tools " ,
11
+ "title" : " MCP Catalog " ,
12
12
"src" : " index.html" ,
13
13
"root" : " ui"
14
14
}
34
34
}
35
35
]
36
36
}
37
- }
37
+ }
Original file line number Diff line number Diff line change 266
266
(into []))
267
267
:metadata metadata}))
268
268
269
+ (def memoized-parse-prompts
270
+ (memoize parse-prompts))
271
+
269
272
; ; ---------- future ---------
270
273
271
274
(defn parse-new [content query]
Original file line number Diff line number Diff line change 174
174
(cond
175
175
; ; prompt content is already in opts
176
176
prompt-content
177
- (markdown-parser/parse-prompts prompt-content)
177
+ (markdown-parser/memoized- parse-prompts prompt-content)
178
178
179
179
; ; file based prompts
180
180
:else
181
- (markdown-parser/parse-prompts (slurp prompts)))
181
+ (markdown-parser/memoized- parse-prompts (slurp prompts)))
182
182
183
183
m (merge
184
184
(run-extractors (:extractors metadata) opts)
You can’t perform that action at this time.
0 commit comments