
    iv                       d Z ddlmZ ddlmZmZ ddlmZmZ ddl	m
Z
mZ ddlmZmZ ddlmZmZ dd	lmZmZ dd
lmZmZ ddlmZmZmZmZmZ ddlmZ ddl m!Z!m"Z"m#Z# ddl$m%Z%m&Z&m'Z' ddl(m)Z)m*Z*m+Z+m,Z,  e+de'eeeeeef         Z-e)e'e)e e"d      f   e)e
 e"d      f   e)e e"d      f   e)e e"d      f   e)e e"d      f   e)e e"d      f   f    e!d       f   Z. G d de,      Z/ G d de      Z0y)zACode generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.    )annotations   )CodeInterpreterToolCodeInterpreterToolTypedDict)CompletionArgsCompletionArgsTypedDict)DocumentLibraryToolDocumentLibraryToolTypedDict)FunctionToolFunctionToolTypedDict)ImageGenerationToolImageGenerationToolTypedDict)WebSearchPremiumToolWebSearchPremiumToolTypedDict)WebSearchToolWebSearchToolTypedDict)	BaseModelNullableOptionalNullableUNSETUNSET_SENTINELget_discriminator)DiscriminatorTagmodel_serializer)ListOptionalUnion)	AnnotatedNotRequiredTypeAliasType	TypedDict"AgentCreationRequestToolsTypedDictcode_interpreterdocument_libraryfunctionimage_generation
web_searchweb_search_premiumc                    t        | dd      S )Ntyper   )ms    c/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/mistralai/models/agentcreationrequest.py<lambda>r/   (   s    -a@     c                  Z    e Zd ZU ded<   ded<   ded<   	 ded<   	 ded	<   	 ded
<   ded<   y)AgentCreationRequestTypedDictstrmodelnamezNotRequired[Nullable[str]]instructionsz5NotRequired[List[AgentCreationRequestToolsTypedDict]]toolsz$NotRequired[CompletionArgsTypedDict]completion_argsdescriptionz NotRequired[Nullable[List[str]]]handoffsN)__name__
__module____qualname____annotations__ r0   r.   r2   r2   ,   s3    J
I,,L@@R999++..r0   r2   c                      e Zd ZU ded<   ded<   eZded<   	 dZded<   	 dZd	ed
<   	 eZded<   eZ	ded<    e
d      d        Zy)AgentCreationRequestr3   r4   r5   zOptionalNullable[str]r6   Nz)Optional[List[AgentCreationRequestTools]]r7   zOptional[CompletionArgs]r8   r9   zOptionalNullable[List[str]]r:   wrap)modec                   g d}g d}g } ||       }i }t        |       j                  j                         D ]  \  }}|j                  xs |}	|j	                  |	      }
|j                  |	d        |	|v xr |	|v }| j                  j                  |h      xs |	|v }|
|
t        k7  r|
||	<   v|
t        k7  s|	|vs|s|s|
||	<    |S )N)r6   r7   r8   r9   r:   )r6   r9   r:   )	r,   model_fieldsitemsaliasgetpop__pydantic_fields_set__intersectionr   )selfhandleroptional_fieldsnullable_fieldsnull_default_fields
serializedr-   nfkvaloptional_nullableis_sets                r.   serialize_modelz$AgentCreationRequest.serialize_modelK   s    
 F T]
J++113 	DAq1A..#CNN1d# !_ 4 Mo9M,,991#> ,++ 
 3.#8!&(->6!!	$ r0   )r;   r<   r=   r>   r   r6   r7   r8   r9   r:   r   rX   r?   r0   r.   rA   rA   9   sc    J
I*/L'/L7;E4;R04O-49).K&.,1H)16"! #!r0   rA   N)1__doc__
__future__r   codeinterpretertoolr   r   completionargsr   r   documentlibrarytoolr	   r
   functiontoolr   r   imagegenerationtoolr   r   websearchpremiumtoolr   r   websearchtoolr   r   mistralai.typesr   r   r   r   r   mistralai.utilsr   pydanticr   r   r   typingr   r   r   typing_extensionsr    r!   r"   r#   r$   AgentCreationRequestToolsr2   rA   r?   r0   r.   <module>rh      s!   G " R C R = R U @ X X - 9 9 ( ( N N &3(	%$$$	&
& " &	%s+='>>?%s+='>>?,J/0%s+='>>?-\!223&,@(AAB	D @AC
 
/I 
/49 4r0   