fix(browser-fetch): allow baidu source fallback
This commit is contained in:
@@ -98,7 +98,7 @@ func (s *KnowledgeService) parseWebsiteKnowledge(ctx context.Context, rawURL str
|
||||
zap.Error(fallbackErr),
|
||||
)
|
||||
}
|
||||
return nil, classifySourceFetchError(rawURL, err)
|
||||
return nil, classifySourceFetchError(rawURL, fmt.Errorf("%w; browser fetch fallback failed: %v", err, fallbackErr))
|
||||
}
|
||||
|
||||
text := normalizeKnowledgeText(item.Content)
|
||||
|
||||
Reference in New Issue
Block a user