From aa084f804d3880b8a24ed5e5faa6298e8a0cc1e7 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 8 Jan 2026 00:53:21 +0400 Subject: [PATCH] refac --- backend/open_webui/routers/configs.py | 2 +- backend/open_webui/routers/functions.py | 2 +- backend/open_webui/routers/tools.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/open_webui/routers/configs.py b/backend/open_webui/routers/configs.py index 180d23c1c..152e2c3ed 100644 --- a/backend/open_webui/routers/configs.py +++ b/backend/open_webui/routers/configs.py @@ -6,7 +6,7 @@ import aiohttp from typing import Optional -from backend.open_webui.env import AIOHTTP_CLIENT_TIMEOUT +from open_webui.env import AIOHTTP_CLIENT_TIMEOUT from open_webui.utils.auth import get_admin_user, get_verified_user from open_webui.config import get_config, save_config from open_webui.config import BannerModel diff --git a/backend/open_webui/routers/functions.py b/backend/open_webui/routers/functions.py index 8c098b916..ad4731891 100644 --- a/backend/open_webui/routers/functions.py +++ b/backend/open_webui/routers/functions.py @@ -6,7 +6,7 @@ import aiohttp from pathlib import Path from typing import Optional -from backend.open_webui.env import AIOHTTP_CLIENT_TIMEOUT +from open_webui.env import AIOHTTP_CLIENT_TIMEOUT from open_webui.models.functions import ( FunctionForm, FunctionModel, diff --git a/backend/open_webui/routers/tools.py b/backend/open_webui/routers/tools.py index 6dd156e56..03018d24a 100644 --- a/backend/open_webui/routers/tools.py +++ b/backend/open_webui/routers/tools.py @@ -4,6 +4,7 @@ from typing import Optional import time import re import aiohttp +from open_webui.env import AIOHTTP_CLIENT_TIMEOUT from open_webui.models.groups import Groups from pydantic import BaseModel, HttpUrl from fastapi import APIRouter, Depends, HTTPException, Request, status