mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-20 21:57:14 +08:00
fix: default agent mode to enabled
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user