mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-01-19 21:37:31 +08:00
12 lines
298 B
Python
12 lines
298 B
Python
import json
|
|
import os
|
|
import sys
|
|
import unittest
|
|
from unittest.mock import AsyncMock, MagicMock
|
|
|
|
from fastapi import WebSocket, WebSocketDisconnect
|
|
|
|
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')))
|
|
|
|
from api.chatbot import llm_chat, manager, websocket_endpoint
|