This commit is contained in:
李鹏宇
2026-06-05 18:21:46 +08:00
parent c6b6fa3250
commit 777468ab71
+1 -1
View File
@@ -12,7 +12,7 @@ from odoo.exceptions import AccessError
_logger = logging.getLogger(__name__)
# 单次对话最多允许的工具调用轮次(防止死循环)
MAX_TOOL_ITERATIONS = 6
MAX_TOOL_ITERATIONS = 12
# search_read 默认/最大返回条数
DEFAULT_LIMIT = 20
MAX_LIMIT = 200