Skip to content

feat: enhance log for llm providers and settings #275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 22, 2025
Merged

Conversation

ulivz
Copy link
Member

@ulivz ulivz commented Mar 22, 2025

Summary

This pull request improves logging and enhances data protection in the apps/agent-tars project. Key updates include added logging statements across various files (llm.ts, settings.ts, ProviderFactory.ts) to monitor system behavior, while masking sensitive data such as API credentials in logs.

@ulivz ulivz merged commit 09500c0 into main Mar 22, 2025
8 checks passed
@ulivz ulivz deleted the feat/enhance-log branch March 22, 2025 20:34
Copy link

codecov bot commented Mar 22, 2025

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Project coverage is 4.61%. Comparing base (7861b96) to head (1141035).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
apps/agent-tars/src/main/ipcRoutes/settings.ts 0.00% 7 Missing ⚠️
apps/agent-tars/src/main/ipcRoutes/llm.ts 0.00% 4 Missing ⚠️
...s/src/main/llmProvider/providers/GeminiProvider.ts 0.00% 2 Missing ⚠️
...agent-tars/src/main/llmProvider/ProviderFactory.ts 0.00% 1 Missing ⚠️
...rc/main/llmProvider/providers/AnthropicProvider.ts 0.00% 1 Missing ⚠️
.../main/llmProvider/providers/AzureOpenAIProvider.ts 0.00% 1 Missing ⚠️
.../src/main/llmProvider/providers/MistralProvider.ts 0.00% 1 Missing ⚠️
...s/src/main/llmProvider/providers/OpenAIProvider.ts 0.00% 1 Missing ⚠️
apps/agent-tars/src/main/store/setting.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main    #275      +/-   ##
========================================
- Coverage   4.62%   4.61%   -0.01%     
========================================
  Files        257     257              
  Lines       7897    7913      +16     
  Branches    1472    1472              
========================================
  Hits         365     365              
- Misses      7492    7508      +16     
  Partials      40      40              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant