pvanand commited on
Commit
e9fac96
·
verified ·
1 Parent(s): e73c0a7

Update routers/llm_chat.py

Browse files
Files changed (1) hide show
  1. 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