← Back to PRs

#9990: refactor(agents): replace console.warn with SubsystemLogger in venice-models.tsrefactor(agents): replace console.warn with SubsystemLogger in venice…

by dinakars777 open 2026-02-06 00:12 View on GitHub →
agents size: XS
Supersedes closed PRs #9917 and #9980. Refactors Venice models agent to use standardized SubsystemLogger for improved logging control. <!-- greptile_comment --> <h2>Greptile Overview</h2> <h3>Greptile Summary</h3> This PR updates `src/agents/venice-models.ts` to use the shared `createSubsystemLogger` logging wrapper instead of direct `console.warn` calls when Venice model discovery fails (non-OK HTTP response, empty model list, or thrown exception). This aligns the Venice models agent with the repository’s standardized subsystem-based logging used elsewhere under `src/logging/subsystem.ts`. <h3>Confidence Score: 5/5</h3> - This PR is safe to merge with minimal risk. - Change is a small, localized refactor (console.warn -> SubsystemLogger.warn) with no impact on control flow, return values, or error handling; import path matches existing usage patterns across the repo. - No files require special attention <!-- greptile_other_comments_section --> <!-- /greptile_comment -->

Most Similar PRs