§
    t�’j´	  ã                  óÚ   — d Z ddlmZ ddlmZmZ ddlmZ  G d„ de¦  «        Z G d„ de¦  «        Z	 G d	„ d
e¦  «        Z
 G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        ZdS )z>Health, agent runtime, and shared lightweight request schemas.é    )Úannotations)Ú	BaseModelÚField)ÚSUPPORTED_TASK_TYPESc                  ó0   — e Zd ZU dZdZded<   dZded<   dS )ÚHealthResponsezHealth check response payload.ÚokÚstrÚstatusÚdsconsÚserviceN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Ú__annotations__r   © ó    ú5C:\Projects\DSCons\app\models\health_agent_schemas.pyr   r   
   s:   € € € € € € Ø(Ð(à€FÐÐÐÑØ€GÐÐÐÑÐÐr   r   c                  ó’   — e Zd ZU dZdZded<   dZded<   dZded<   dZded<   dZ	ded<   dZ
ded	<   dZded
<   dZded<   dZded<   dS )ÚRetrievalFilterSetz/Optional metadata filters for scoped retrieval.Nú
str | NoneÚknowledge_typeÚdocument_typeÚproject_codeÚagent_scopeÚ
agent_codeÚsource_tableÚ	review_idÚ
finding_idÚassignment_id)r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r   r   r   r   r      s±   € € € € € € Ø9Ð9à!%€NÐ%Ð%Ð%Ñ%Ø $€MÐ$Ð$Ð$Ñ$Ø#€LÐ#Ð#Ð#Ñ#Ø"€KÐ"Ð"Ð"Ñ"Ø!€JÐ!Ð!Ð!Ñ!Ø#€LÐ#Ð#Ð#Ñ#Ø €IÐ Ð Ð Ñ Ø!€JÐ!Ð!Ð!Ñ!Ø $€MÐ$Ð$Ð$Ñ$Ð$Ð$r   r   c                  óú   — e Zd ZU dZ eddd                     e¦  «        › �¬¦  «        Zded<    eddd	¬
¦  «        Z	ded<    edddd¬¦  «        Z
ded<    edd¬¦  «        Zded<    edd¬¦  «        Zded<   dS )ÚRouteTaskRequestz!Request payload for task routing..zOne of: z, )Údescriptionr
   Ú	task_typeé   ú"User question or task description.©Ú
min_lengthr$   Úqueryé   é   ú'Number of knowledge chunks to retrieve.©ÚdefaultÚgeÚler$   ÚintÚtop_kNú"Optional AI employee persona code.©r/   r$   r   r   ú$Optional metadata retrieval filters.úRetrievalFilterSet | NoneÚfilters)r   r   r   r   r   Újoinr   r%   r   r*   r3   r   r8   r   r   r   r#   r#      s/  € € € € € € Ø+Ð+à�UØÐE D§I¢IÐ.BÑ$CÔ$CÐEÐEðñ ô €Ið ð ð ñ ð �Ø˜Ð'Kðñ ô €Eð ð ð ñ ð �Ø�a˜BÐ,Uðñ ô €Eð ð ð ñ ð #˜UØÐ"Fðñ ô €Jð ð ð ñ ð */¨ØÐ"Hð*ñ *ô *€Gð ð ð ñ ð ð r   r#   c                  óF   — e Zd ZU dZded<   ded<   ded<   ded<   ded<   d	S )
ÚRouteTaskResponsez+Response payload for routed task execution.r
   Úselected_agentÚanswerr2   Úretrieved_chunks_countr%   r   N©r   r   r   r   r   r   r   r   r;   r;   3   sI   € € € € € € Ø5Ð5àÐÐÑØ€K€K�KØÐÐÑØ€N€N�NØ€O€O�O€O€Or   r;   c                  óª   — e Zd ZU dZ eddd¬¦  «        Zded<    eddd	d
¬¦  «        Zded<    edd¬¦  «        Zded<    edd¬¦  «        Z	ded<   dS )ÚAgentRunRequestz>Explicit request payload for direct agent execution endpoints..r&   r'   r(   r
   r*   r+   r,   r-   r.   r2   r3   Nr4   r5   r   r   r6   r7   r8   )
r   r   r   r   r   r*   r   r3   r   r8   r   r   r   rA   rA   =   sè   € € € € € € ØHÐHà�Ø˜Ð'Kðñ ô €Eð ð ð ñ ð �Ø�a˜BÐ,Uðñ ô €Eð ð ð ñ ð #˜UØÐ"Fðñ ô €Jð ð ð ñ ð */¨ØÐ"Hð*ñ *ô *€Gð ð ð ñ ð ð r   rA   c                  óF   — e Zd ZU dZded<   ded<   ded<   ded<   ded<   d	S )
ÚAgentRunResponsez?Explicit response payload for direct agent execution endpoints.r
   r<   r%   r=   r2   r>   r   Nr?   r   r   r   rC   rC   N   sI   € € € € € € ØIÐIàÐÐÑØ€N€N�NØ€K€K�KØÐÐÑØ€O€O�O€O€Or   rC   N)r   Ú
__future__r   Úpydanticr   r   Úapp.models.schema_constantsr   r   r   r#   r;   rA   rC   r   r   r   ú<module>rG      sM  ðØ DÐ Dà "Ð "Ð "Ð "Ð "Ð "à %Ð %Ð %Ð %Ð %Ð %Ð %Ð %à <Ð <Ð <Ð <Ð <Ð <ðð ð ð ð �Yñ ô ð ð%ð %ð %ð %ð %˜ñ %ô %ð %ðð ð ð ð �yñ ô ð ð(ð ð ð ð ˜	ñ ô ð ðð ð ð ð �iñ ô ð ð"ð ð ð ð �yñ ô ð ð ð r   