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

fix: fix issue comment #397

Closed xingwanying closed 2 months ago

xingwanying commented 2 months ago

image

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 14, 2024 9:23am
petercat-assistant[bot] commented 2 months ago

Walkthrough

This pull request addresses an issue with the comment functionality in the repository. The changes involve fetching the bot configuration and passing it to the agent_chat function to ensure the correct bot is used for generating analysis results.

Changes

File Summary
server/event_handler/issue.py Added code to fetch bot configuration and pass it to the agent_chat function.
codecov[bot] commented 2 months ago

Codecov Report

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

Files with missing lines Patch % Lines
server/event_handler/issue.py 0.00% 4 Missing :warning:
Files with missing lines Coverage Δ
server/event_handler/issue.py 29.41% <0.00%> (-0.90%) :arrow_down: