Skip to content

Commit

Permalink
fix import error (#877)
Browse files Browse the repository at this point in the history
Fix import error for user_app.py

---------

Co-authored-by: yonghui li <[email protected]>
  • Loading branch information
yonghuili1 and yonghui li committed May 22, 2024
1 parent 21453ff commit 17489e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/apps/user_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
import json
import re
from datetime import datetime

Expand All @@ -25,7 +26,7 @@
from api.utils.api_utils import server_error_response, validate_request
from api.utils import get_uuid, get_format_time, decrypt, download_img, current_timestamp, datetime_format
from api.db import UserTenantRole, LLMType, FileType
from api.settings import RetCode, GITHUB_OAUTH, CHAT_MDL, EMBEDDING_MDL, ASR_MDL, IMAGE2TEXT_MDL, PARSERS, API_KEY, \
from api.settings import RetCode, GITHUB_OAUTH, FEISHU_OAUTH, CHAT_MDL, EMBEDDING_MDL, ASR_MDL, IMAGE2TEXT_MDL, PARSERS, API_KEY, \
LLM_FACTORY, LLM_BASE_URL
from api.db.services.user_service import UserService, TenantService, UserTenantService
from api.db.services.file_service import FileService
Expand Down

0 comments on commit 17489e6

Please sign in to comment.