petercat-ai / petercat

A conversational Q&A agent configuration system, self-hosted deployment solutions, and a convenient all-in-one application SDK, allowing you to create intelligent Q&A bots for your GitHub repositories
https://petercat.ai
MIT License
605 stars 18 forks source link

feat: add more log #376

Closed RaoHai closed 2 months ago

RaoHai commented 2 months ago
vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
petercat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 11, 2024 10:44am
petercat-assistant[bot] commented 2 months ago

Walkthrough

This pull request adds more logging to the server/chat/router.py file for debugging purposes.

Changes

File Summary
server/chat/router.py Added logging for llm in the run_qa_chat function
codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
server/agent/bot/get_bot.py 50.00% 1 Missing :warning:
Files with missing lines Coverage Δ
server/chat/router.py 59.45% <ø> (ø)
server/agent/bot/get_bot.py 48.00% <50.00%> (+0.17%) :arrow_up: