fix: default agent mode to enabled

This commit is contained in:
zhayujie
2026-05-21 11:14:19 +08:00
parent 16b7271826
commit 7c35df7a82
3 changed files with 3 additions and 3 deletions

View File

@@ -73,7 +73,7 @@ class Channel(object):
Build reply content, using agent if enabled in config
"""
# Check if agent mode is enabled
use_agent = conf().get("agent", False)
use_agent = conf().get("agent", True)
if use_agent:
try:

View File

@@ -1108,7 +1108,7 @@ class ConfigHandler:
web.header('Content-Type', 'application/json; charset=utf-8')
try:
local_config = conf()
use_agent = local_config.get("agent", False)
use_agent = local_config.get("agent", True)
title = "CowAgent" if use_agent else "AI Assistant"
api_bases = {}