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
598 stars 16 forks source link

fix: add default value of llm field #425

Closed RaoHai closed 1 month ago

RaoHai commented 1 month ago
vercel[bot] commented 1 month 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 Oct 10, 2024 3:04am
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines Coverage Δ
server/bot/builder.py 26.31% <ø> (ø)
petercat-assistant[bot] commented 1 month ago

Walkthrough

This pull request addresses issue #424 by adding a default value for the llm field in the bot data dictionary within the builder.py file. The default value set is "openai".

Changes

File Summary
server/bot/builder.py Added a default value for the llm field in the bot data dictionary.