Spaces:
Sleeping
Sleeping
Update routers/llm_chat.py
Browse files- routers/llm_chat.py +5 -0
routers/llm_chat.py
CHANGED
@@ -2,6 +2,11 @@
|
|
2 |
from fastapi import APIRouter, HTTPException, Header
|
3 |
from pydantic import BaseModel
|
4 |
from helpers.ai_client import AIClient
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
router = APIRouter(
|
7 |
prefix="/api/v1", # Prefix for all routes in this router
|
|
|
2 |
from fastapi import APIRouter, HTTPException, Header
|
3 |
from pydantic import BaseModel
|
4 |
from helpers.ai_client import AIClient
|
5 |
+
import logging
|
6 |
+
|
7 |
+
# Set up logging
|
8 |
+
logging.basicConfig(level=logging.INFO)
|
9 |
+
logger = logging.getLogger(__name__)
|
10 |
|
11 |
router = APIRouter(
|
12 |
prefix="/api/v1", # Prefix for all routes in this router
|