Skip to content

Commit

Permalink
add default bot config in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredfrancis committed Jan 10, 2025
1 parent 4509ddf commit 60c178a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ async def async_migrate():
from app.admin.bots.store import import_bot

try:
default_bot = Bot(name="default")
default_bot = Bot(name="default",config={"confidence_threshold": 0.85})
await add_bot(default_bot.model_dump())
print(f"Created default bot")
except DuplicateKeyError:
Expand Down

0 comments on commit 60c178a

Please sign in to comment.