Update deep-research-service.ts
This commit is contained in:
@@ -296,7 +296,7 @@ export async function performDeepResearch(options: DeepResearchServiceOptions) {
|
|||||||
finalAnalysis: finalAnalysis,
|
finalAnalysis: finalAnalysis,
|
||||||
});
|
});
|
||||||
// Bill team for usage based on URLs analyzed
|
// Bill team for usage based on URLs analyzed
|
||||||
billTeam(teamId, subId, urlsAnalyzed, logger).catch(
|
billTeam(teamId, subId, Math.min(urlsAnalyzed, options.maxUrls), logger).catch(
|
||||||
(error) => {
|
(error) => {
|
||||||
logger.error(
|
logger.error(
|
||||||
`Failed to bill team ${teamId} for ${urlsAnalyzed} URLs analyzed`, { teamId, count: urlsAnalyzed, error },
|
`Failed to bill team ${teamId} for ${urlsAnalyzed} URLs analyzed`, { teamId, count: urlsAnalyzed, error },
|
||||||
|
|||||||
Reference in New Issue
Block a user