
    i                       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 AgentUpdateRequestToolsTypedDictcode_interpreterdocument_libraryfunctionimage_generation
web_searchweb_search_premiumc                    t        | dd      S )Ntyper   )ms    a/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/mistralai/models/agentupdaterequest.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)AgentUpdateRequestTypedDictzNotRequired[Nullable[str]]instructionsz3NotRequired[List[AgentUpdateRequestToolsTypedDict]]toolsz$NotRequired[CompletionArgsTypedDict]completion_argsmodelnamedescriptionz NotRequired[Nullable[List[str]]]handoffsN)__name__
__module____qualname____annotations__ r0   r.   r2   r2   ,   s5    ,,L>>R999%%
$$++..r0   r2   c                      e Zd ZU 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Z
ded
<   eZded<    ed      d        Zy)AgentUpdateRequestzOptionalNullable[str]r3   Nz'Optional[List[AgentUpdateRequestTools]]r4   zOptional[CompletionArgs]r5   r6   r7   r8   zOptionalNullable[List[str]]r9   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)r3   r4   r5   r6   r7   r8   r9   )r3   r6   r7   r8   r9   )	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"AgentUpdateRequest.serialize_modelK   s    
 W T]
J++113 	DAq1A..#CNN1d# !_ 4 Mo9M,,991#> ,++ 
 3.#8!&(->6!!	$ r0   )r:   r;   r<   r   r3   r=   r4   r5   r6   r7   r8   r9   r   rW   r>   r0   r.   r@   r@   9   so    */L'/L59E29R04O-49#(E ("'D
').K&.,1H)16"# ##r0   r@   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$   AgentUpdateRequestToolsr2   r@   r>   r0   r.   <module>rg      s!   G " R C R = R U @ X X - 9 9 ( ( N N $1&	%$$$	&
$   $	%s+='>>?%s+='>>?,J/0%s+='>>?-\!223&,@(AAB	D @AC
 
/) 
/6 6r0   