We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b32b49a + 1066e50 commit 55bc29eCopy full SHA for 55bc29e
packages/skill-template/src/scheduler/utils/extract-weblink.ts
@@ -181,6 +181,18 @@ export async function extractAndCrawlUrls(
181
analysis: { hasUrls: boolean; queryIntent: string };
182
}> {
183
const logger = skill.engine.logger;
184
+ const disableLinkParsing = config?.configurable?.runtimeConfig?.disableLinkParsing;
185
+
186
+ if (disableLinkParsing !== false) {
187
+ logger.log('disableLinkParsing is on');
188
+ return {
189
+ sources: [],
190
+ analysis: {
191
+ hasUrls: false,
192
+ queryIntent: query,
193
+ },
194
+ };
195
+ }
196
197
// Use linkify-it for fast and reliable URL extraction
198
const { hasUrls, detectedUrls } = extractUrlsWithLinkify(query);
0 commit comments