tune: read_timeout 60s, simphtml print/newTabs fix, remove obsolete iframe sop

This commit is contained in:
Liang Jiaqing
2026-04-08 20:45:06 +08:00
parent 1c561db0b9
commit 6628a3d987
3 changed files with 3 additions and 10 deletions

View File

@@ -421,7 +421,7 @@ class BaseSession:
self.proxies = {"http": proxy, "https": proxy} if proxy else None
self.max_retries = max(0, int(cfg.get('max_retries', 2)))
self.connect_timeout = max(1, int(cfg.get('connect_timeout', 10)))
self.read_timeout = max(5, int(cfg.get('read_timeout', 120)))
self.read_timeout = max(5, int(cfg.get('read_timeout', 60)))
effort = cfg.get('reasoning_effort')
effort = None if effort is None else str(effort).strip().lower()
self.reasoning_effort = effort if effort in ('none', 'minimal', 'low', 'medium', 'high', 'xhigh') else None