Ë
    I»jæ  ã                   ó€   — d dl mZ d dlmZ d dlmZ d dlmZmZ d dl	m
Z
 d dlmZ edefd„«       Zd	efd
„Z e«       Zy)é    )Úasynccontextmanager)ÚFastAPI)Úget_settings)ÚGatewayErrorÚgateway_error_handler)Ú
api_router)ÚErrorResponseÚ_c                ó   K  — d ­–— y ­w)N© )r
   s    ú"/var/www/html/TJ-AI/tj/app/main.pyÚlifespanr      s	   è ø€ å	ùs   ‚	Úreturnc            
      óä   — t        «       } t        dddt        dt        idt        idt        idœ¬«      }|j	                  t
        t        «       |j                  t        | j                  ¬«       |S )NzAI Intelligence Gatewayz0.2.0uo   AI Interviewer Pro â€” AI Intelligence Gateway (Python / FastAPI). Internal API for the Platform Team (NestJS).Úmodel)i‘  i¦  iô  )ÚtitleÚversionÚdescriptionr   Ú	responses)Úprefix)
r   r   r   r	   Úadd_exception_handlerr   r   Úinclude_routerr   Ú
api_prefix)ÚsettingsÚapps     r   Ú
create_appr      sq   € Ü‹~€HÜ
Ø'Øð;ô àœ=Ð)Øœ=Ð)Øœ=Ð)ñ
ô€Cð ×ÑœlÔ,AÔBØ×Ñ”z¨(×*=Ñ*=ÐÔ>Ø€Jó    N)Ú
contextlibr   Úfastapir   Ú
app.configr   Ú
app.errorsr   r   Úapp.routes.routerr   Úapp.schemas.commonr	   r   r   r   r   r   r   Ú<module>r$      sG   ðÝ *å å #ß :Ý (Ý ,ð ð
�gò 
ó ð
ð�Gó ñ* ƒl�r   