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: token_id to default #432

Closed RaoHai closed 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 12, 2024 5:52am
petercat-assistant[bot] commented 1 month ago

Walkthrough

This pull request updates the default values for the llm and token_id fields in the bot.py file. The llm field now defaults to "openai", and the token_id field defaults to an empty string. These changes ensure that these fields have default values if none are provided.

Changes

File Summary
server/core/type_class/bot.py Updated default values for llm and token_id fields to "openai" and an empty string, respectively.
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/core/type_class/bot.py 100.00% <100.00%> (ø)

... and 7 files with indirect coverage changes