import{s as Yl,o as Xl,n as Co}from"../chunks/scheduler.f6319a2a.js";import{S as Kl,i as ei,g as s,s as n,r as i,A as ti,h as r,f as a,c as o,j as f,u as m,x as h,k as _,y as t,a as u,v as g,d,t as c,w as p}from"../chunks/index.85aa684c.js";import{T as Nr}from"../chunks/Tip.3d397a88.js";import{D as $,E as Ql}from"../chunks/ExampleCodeBlock.3d8cc3b7.js";import{C as Ol}from"../chunks/CodeBlock.3400fc53.js";import{H as D,E as ni}from"../chunks/getInferenceSnippets.55a93fbe.js";function oi(U){let b,A=`Smolagents is an experimental API which is subject to change at any time. Results returned by the agents
can vary as the APIs or underlying models are prone to change.`;return{c(){b=s("p"),b.textContent=A},l(w){b=r(w,"P",{"data-svelte-h":!0}),h(b)!=="svelte-19v5hvw"&&(b.textContent=A)},m(w,C){u(w,b,C)},p:Co,d(w){w&&a(b)}}}function ai(U){let b,A=`Loading a tool from the Hub means that you’ll download the tool and execute it locally.
ALWAYS inspect the tool you’re downloading before loading it within your runtime, as you would do when
installing a package using pip/npm/apt.`;return{c(){b=s("p"),b.textContent=A},l(w){b=r(w,"P",{"data-svelte-h":!0}),h(b)!=="svelte-fpk7e5"&&(b.textContent=A)},m(w,C){u(w,b,C)},p:Co,d(w){w&&a(b)}}}function si(U){let b,A="Example:",w,C,T;return C=new Ol({props:{code:"ZnJvbSUyMHNtb2xhZ2VudHMlMjBpbXBvcnQlMjBDb2RlQWdlbnQlMEFhZ2VudCUyMCUzRCUyMENvZGVBZ2VudCh0b29scyUzRCU1QiU1RCklMEFhZ2VudC5ydW4oJTIyV2hhdCUyMGlzJTIwdGhlJTIwcmVzdWx0JTIwb2YlMjAyJTIwcG93ZXIlMjAzLjczODQlM0YlMjIp",highlighted:`<span class="hljs-keyword">from</span> smolagents <span class="hljs-keyword">import</span> CodeAgent
agent = CodeAgent(tools=[])
agent.run(<span class="hljs-string">&quot;What is the result of 2 power 3.7384?&quot;</span>)`,wrap:!1}}),{c(){b=s("p"),b.textContent=A,w=n(),i(C.$$.fragment)},l(y){b=r(y,"P",{"data-svelte-h":!0}),h(b)!=="svelte-11lpom8"&&(b.textContent=A),w=o(y),m(C.$$.fragment,y)},m(y,L){u(y,b,L),u(y,w,L),g(C,y,L),T=!0},p:Co,i(y){T||(d(C.$$.fragment,y),T=!0)},o(y){c(C.$$.fragment,y),T=!1},d(y){y&&(a(b),a(w)),p(C,y)}}}function ri(U){let b,A="You must have <code>gradio</code> installed to use the UI. Please run <code>pip install &#39;smolagents[gradio]&#39;</code> if it’s not the case.";return{c(){b=s("p"),b.innerHTML=A},l(w){b=r(w,"P",{"data-svelte-h":!0}),h(b)!=="svelte-1omf321"&&(b.innerHTML=A)},m(w,C){u(w,b,C)},p:Co,d(w){w&&a(b)}}}function li(U){let b,A="Example:",w,C,T;return C=new Ol({props:{code:"ZnJvbSUyMHNtb2xhZ2VudHMlMjBpbXBvcnQlMjBDb2RlQWdlbnQlMkMlMjBHcmFkaW9VSSUyQyUyMEluZmVyZW5jZUNsaWVudE1vZGVsJTBBJTBBbW9kZWwlMjAlM0QlMjBJbmZlcmVuY2VDbGllbnRNb2RlbChtb2RlbF9pZCUzRCUyMm1ldGEtbGxhbWElMkZNZXRhLUxsYW1hLTMuMS04Qi1JbnN0cnVjdCUyMiklMEFhZ2VudCUyMCUzRCUyMENvZGVBZ2VudCh0b29scyUzRCU1QiU1RCUyQyUyMG1vZGVsJTNEbW9kZWwpJTBBZ3JhZGlvX3VpJTIwJTNEJTIwR3JhZGlvVUkoYWdlbnQlMkMlMjBmaWxlX3VwbG9hZF9mb2xkZXIlM0QlMjJ1cGxvYWRzJTIyJTJDJTIwcmVzZXRfYWdlbnRfbWVtb3J5JTNEVHJ1ZSklMEFncmFkaW9fdWkubGF1bmNoKCk=",highlighted:`<span class="hljs-keyword">from</span> smolagents <span class="hljs-keyword">import</span> CodeAgent, GradioUI, InferenceClientModel

model = InferenceClientModel(model_id=<span class="hljs-string">&quot;meta-llama/Meta-Llama-3.1-8B-Instruct&quot;</span>)
agent = CodeAgent(tools=[], model=model)
gradio_ui = GradioUI(agent, file_upload_folder=<span class="hljs-string">&quot;uploads&quot;</span>, reset_agent_memory=<span class="hljs-literal">True</span>)
gradio_ui.launch()`,wrap:!1}}),{c(){b=s("p"),b.textContent=A,w=n(),i(C.$$.fragment)},l(y){b=r(y,"P",{"data-svelte-h":!0}),h(b)!=="svelte-11lpom8"&&(b.textContent=A),w=o(y),m(C.$$.fragment,y)},m(y,L){u(y,b,L),u(y,w,L),g(C,y,L),T=!0},p:Co,i(y){T||(d(C.$$.fragment,y),T=!0)},o(y){c(C.$$.fragment,y),T=!1},d(y){y&&(a(b),a(w)),p(C,y)}}}function ii(U){let b,A,w,C,T,y,L,Mo,We,Vr=`To learn more about agents and tools make sure to read the <a href="../index">introductory guide</a>. This page
contains the API docs for the underlying classes.`,Po,Fe,Ao,je,Ur='Our agents inherit from <a href="/docs/smolagents/main/en/reference/agents#smolagents.MultiStepAgent">MultiStepAgent</a>, which means they can act in multiple steps, each step consisting of one thought, then one tool call and execution. Read more in <a href="../conceptual_guides/react">this conceptual guide</a>.',ko,Re,Wr="We provide two types of agents, based on the main <code>Agent</code> class.",To,ze,Fr='<li><a href="/docs/smolagents/main/en/reference/agents#smolagents.CodeAgent">CodeAgent</a> writes its tool calls in Python code (this is the default).</li> <li><a href="/docs/smolagents/main/en/reference/agents#smolagents.ToolCallingAgent">ToolCallingAgent</a> writes its tool calls in JSON.</li>',Eo,He,jr="Both require arguments <code>model</code> and list of tools <code>tools</code> at initialization.",Lo,qe,Io,x,Ge,qa,ln,Rr=`Agent class that solves the given task step by step, using the ReAct framework:
While the objective is not reached, the agent will perform a cycle of action (given by the LLM) and observation (obtained from the environment).`,Ga,ee,Be,Ba,mn,zr="Parse action from the LLM output",Za,te,Ze,Ja,gn,Hr="Create agent from a dictionary representation.",Qa,ne,Je,Oa,dn,qr="Loads an agent from a local folder.",Ya,H,Qe,Xa,cn,Gr="Loads an agent defined on the Hub.",Ka,oe,es,ae,Oe,ts,pn,Br="To be implemented in child classes",ns,se,Ye,os,un,Zr="Interrupts the agent execution.",as,re,Xe,ss,hn,Jr="Provide the final answer to the task, based on the logs of the agent’s interactions.",rs,le,Ke,ls,fn,Qr="Upload the agent to the Hub.",is,ie,et,ms,_n,Or="Prints a pretty replay of the agent’s steps.",gs,q,tt,ds,$n,Yr="Run the agent for the given task.",cs,me,ps,G,nt,us,bn,Xr="Saves the relevant code files for your agent. This will copy the code of your agent in <code>output_dir</code> as well as autogenerate:",hs,xn,Kr=`<li>a <code>tools</code> folder containing the logic for each of the tools under <code>tools/{tool_name}.py</code>.</li> <li>a <code>managed_agents</code> folder containing the logic for each of the managed agents.</li> <li>an <code>agent.json</code> file containing a dictionary representing your agent.</li> <li>a <code>prompt.yaml</code> file containing the prompt templates used by your agent.</li> <li>an <code>app.py</code> file providing a UI for your agent when it is exported to a Space with <code>agent.push_to_hub()</code></li> <li>a <code>requirements.txt</code> containing the names of the modules used by your tool (as detected when inspecting its
code)</li>`,fs,ge,ot,_s,vn,el=`Perform one step in the ReAct framework: the agent thinks, acts, and observes the result.
Returns either None if the step is not final, or the final answer.`,$s,de,at,bs,yn,tl="Convert the agent to a dictionary representation.",xs,ce,st,vs,wn,nl="Creates a rich tree visualization of the agent’s structure.",ys,pe,rt,ws,Cn,ol=`Reads past llm_outputs, actions, and observations or errors from the memory into a series of messages
that can be used as input to the LLM. Adds a number of keywords (such as PLAN, error, etc) to help
the LLM.`,Do,S,lt,Cs,Mn,al="In this agent, the tool calls will be formulated by the LLM in code format, then parsed and executed.",Ms,ue,it,Ps,Pn,sl="Clean up resources used by the agent, such as the remote Python executor.",As,he,mt,ks,An,rl="Create CodeAgent from a dictionary representation.",So,N,gt,Ts,kn,ll="This agent uses JSON-like tool calls, using method <code>model.get_tool_call</code> to leverage the LLM engine’s tool calling capabilities.",Es,B,dt,Ls,Tn,il="Execute a tool or managed agent with the provided arguments.",Is,En,ml="The arguments are replaced with the actual values from the state if they refer to state variables.",Ds,fe,ct,Ss,Ln,gl="Process tool calls from the model output and update agent memory.",No,pt,Vo,J,ut,Ns,In,dl="Runs an agent with the given task and streams the messages from the agent as gradio ChatMessages.",Uo,ht,Wo,_e,Fo,E,ft,Vs,Dn,cl='Gradio interface for interacting with a <a href="/docs/smolagents/main/en/reference/agents#smolagents.MultiStepAgent">MultiStepAgent</a>.',Us,Sn,pl=`This class provides a web interface to interact with the agent in real-time, allowing users to submit prompts, upload files, and receive responses in a chat-like format.
It  can reset the agent’s memory at the start of each interaction if desired.
It supports file uploads, which are saved to a specified folder.
It uses the <code>gradio.Chatbot</code> component to display the conversation history.
This class requires the <code>gradio</code> extra to be installed: <code>pip install &#39;smolagents[gradio]&#39;</code>.`,Ws,$e,Fs,be,_t,js,Nn,ul="Launch the Gradio app with the agent interface.",Rs,Z,$t,zs,Vn,hl="Upload a file and add it to the list of uploaded files in the session state.",Hs,Un,fl=`The file is saved to the <code>self.file_upload_folder</code> folder.
If the file type is not allowed, it returns a message indicating the disallowed file type.`,jo,bt,Ro,Q,xt,qs,Wn,_l="Prompt templates for the agent.",zo,O,vt,Gs,Fn,$l="Prompt templates for the planning step.",Ho,Y,yt,Bs,jn,bl="Prompt templates for the managed agent.",qo,X,wt,Zs,Rn,xl="Prompt templates for the final answer.",Go,Ct,Bo,Mt,vl="Smolagents use memory to store information across multiple steps.",Zo,M,Pt,Js,zn,yl="Memory for the agent, containing the system prompt and all steps taken by the agent.",Qs,Hn,wl=`This class is used to store the agent’s steps, including tasks, actions, and planning steps.
It allows for resetting the memory, retrieving succinct or full step information, and replaying the agent’s steps.`,Os,qn,Cl="<strong>Attributes</strong>:",Ys,Gn,Ml="<li><strong>system_prompt</strong> (<code>SystemPromptStep</code>) — System prompt step for the agent.</li> <li><strong>steps</strong> (<code>list[TaskStep | ActionStep | PlanningStep]</code>) — List of steps taken by the agent, which can include tasks, actions, and planning steps.</li>",Xs,xe,At,Ks,Bn,Pl="Return a full representation of the agent’s steps, including model input messages.",er,ve,kt,tr,Zn,Al="Return a succinct representation of the agent’s steps, excluding model input messages.",nr,ye,Tt,or,Jn,kl="Prints a pretty replay of the agent’s steps.",ar,we,Et,sr,Qn,Tl="Reset the agent’s memory, clearing all steps and keeping the system prompt.",rr,Ce,Lt,lr,On,El="Returns all code actions from the agent’s steps, concatenated as a single script.",Jo,It,Qo,Dt,St,Oo,Nt,Yo,F,Vt,ir,Yn,Ll="Executor of Python code in a local environment.",mr,Xn,Il=`This executor evaluates Python code with restricted access to imports and built-in functions,
making it suitable for running untrusted code. It maintains state between executions,
allows for custom tools and functions to be made available to the code, and captures
print outputs separately from return values.`,Xo,Ut,Ko,j,Wt,gr,Me,Ft,dr,Kn,Dl=`Execute code, return the result and output, also determining if
the result is the final answer.`,cr,Pe,jt,pr,eo,Sl="Send variables to the kernel namespace using pickle.",ea,Rt,ta,R,zt,ur,to,Nl="Executes Python code using E2B.",hr,Ae,Ht,fr,no,Vl="Clean up the E2B sandbox and resources.",na,qt,oa,z,Gt,_r,oo,Ul="Executes Python code using Modal.",$r,ke,Bt,br,ao,Wl="Ensure cleanup on deletion.",aa,Zt,sa,V,Jt,xr,so,Fl="Executes Python code using Jupyter Kernel Gateway in a Docker container.",vr,Te,Qt,yr,ro,jl="Clean up the Docker container and resources.",wr,Ee,Ot,Cr,lo,Rl="Ensure cleanup on deletion.",ra,Yt,la,k,Xt,Mr,io,zl="Remote Python code executor in a sandboxed WebAssembly environment powered by Pyodide and Deno.",Pr,mo,Hl=`This executor combines Deno’s secure runtime with Pyodide’s WebAssembly‑compiled Python interpreter to deliver s
trong isolation guarantees while enabling full Python execution.`,Ar,Le,Kt,kr,go,ql="Clean up resources used by the executor.",Tr,Ie,en,Er,co,Gl="Ensure cleanup on deletion.",Lr,De,tn,Ir,po,Bl="Install additional Python packages in the Pyodide environment.",Dr,Se,nn,Sr,uo,Zl="Execute Python code in the Pyodide environment and return the result.",ia,on,ma,wo,ga;return T=new D({props:{title:"Agents",local:"agents",headingTag:"h1"}}),L=new Nr({props:{warning:!0,$$slots:{default:[oi]},$$scope:{ctx:U}}}),Fe=new D({props:{title:"Agents",local:"agents",headingTag:"h2"}}),qe=new D({props:{title:"Classes of agents",local:"smolagents.MultiStepAgent",headingTag:"h3"}}),Ge=new $({props:{name:"class smolagents.MultiStepAgent",anchor:"smolagents.MultiStepAgent",parameters:[{name:"tools",val:": list"},{name:"model",val:": Model"},{name:"prompt_templates",val:": smolagents.agents.PromptTemplates | None = None"},{name:"instructions",val:": str | None = None"},{name:"max_steps",val:": int = 20"},{name:"add_base_tools",val:": bool = False"},{name:"verbosity_level",val:": LogLevel = <LogLevel.INFO: 1>"},{name:"managed_agents",val:": list | None = None"},{name:"step_callbacks",val:": list[collections.abc.Callable] | dict[typing.Type[smolagents.memory.MemoryStep], collections.abc.Callable | list[collections.abc.Callable]] | None = None"},{name:"planning_interval",val:": int | None = None"},{name:"name",val:": str | None = None"},{name:"description",val:": str | None = None"},{name:"provide_run_summary",val:": bool = False"},{name:"final_answer_checks",val:": list[collections.abc.Callable] | None = None"},{name:"return_full_result",val:": bool = False"},{name:"logger",val:": smolagents.monitoring.AgentLogger | None = None"}],parametersDescription:[{anchor:"smolagents.MultiStepAgent.tools",description:'<strong>tools</strong> (<code>list[Tool]</code>) &#x2014; <a href="/docs/smolagents/main/en/reference/tools#smolagents.Tool">Tool</a>s that the agent can use.',name:"tools"},{anchor:"smolagents.MultiStepAgent.model",description:"<strong>model</strong> (<code>Callable[[list[dict[str, str]]], ChatMessage]</code>) &#x2014; Model that will generate the agent&#x2019;s actions.",name:"model"},{anchor:"smolagents.MultiStepAgent.prompt_templates",description:'<strong>prompt_templates</strong> (<a href="/docs/smolagents/main/en/reference/agents#smolagents.PromptTemplates">PromptTemplates</a>, <em>optional</em>) &#x2014; Prompt templates.',name:"prompt_templates"},{anchor:"smolagents.MultiStepAgent.instructions",description:"<strong>instructions</strong> (<code>str</code>, <em>optional</em>) &#x2014; Custom instructions for the agent, will be inserted in the system prompt.",name:"instructions"},{anchor:"smolagents.MultiStepAgent.max_steps",description:"<strong>max_steps</strong> (<code>int</code>, default <code>20</code>) &#x2014; Maximum number of steps the agent can take to solve the task.",name:"max_steps"},{anchor:"smolagents.MultiStepAgent.add_base_tools",description:"<strong>add_base_tools</strong> (<code>bool</code>, default <code>False</code>) &#x2014; Whether to add the base tools to the agent&#x2019;s tools.",name:"add_base_tools"},{anchor:"smolagents.MultiStepAgent.verbosity_level",description:"<strong>verbosity_level</strong> (<code>LogLevel</code>, default <code>LogLevel.INFO</code>) &#x2014; Level of verbosity of the agent&#x2019;s logs.",name:"verbosity_level"},{anchor:"smolagents.MultiStepAgent.managed_agents",description:"<strong>managed_agents</strong> (<code>list</code>, <em>optional</em>) &#x2014; Managed agents that the agent can call.",name:"managed_agents"},{anchor:"smolagents.MultiStepAgent.step_callbacks",description:"<strong>step_callbacks</strong> (<code>list[Callable]</code> | <code>dict[Type[MemoryStep], Callable | list[Callable]]</code>, <em>optional</em>) &#x2014; Callbacks that will be called at each step.",name:"step_callbacks"},{anchor:"smolagents.MultiStepAgent.planning_interval",description:"<strong>planning_interval</strong> (<code>int</code>, <em>optional</em>) &#x2014; Interval at which the agent will run a planning step.",name:"planning_interval"},{anchor:"smolagents.MultiStepAgent.name",description:"<strong>name</strong> (<code>str</code>, <em>optional</em>) &#x2014; Necessary for a managed agent only - the name by which this agent can be called.",name:"name"},{anchor:"smolagents.MultiStepAgent.description",description:"<strong>description</strong> (<code>str</code>, <em>optional</em>) &#x2014; Necessary for a managed agent only - the description of this agent.",name:"description"},{anchor:"smolagents.MultiStepAgent.provide_run_summary",description:"<strong>provide_run_summary</strong> (<code>bool</code>, <em>optional</em>) &#x2014; Whether to provide a run summary when called as a managed agent.",name:"provide_run_summary"},{anchor:"smolagents.MultiStepAgent.final_answer_checks",description:`<strong>final_answer_checks</strong> (<code>list[Callable]</code>, <em>optional</em>) &#x2014; List of validation functions to run before accepting a final answer.
Each function should:<ul>
<li>Take the final answer and the agent&#x2019;s memory as arguments.</li>
<li>Return a boolean indicating whether the final answer is valid.</li>
</ul>`,name:"final_answer_checks"},{anchor:"smolagents.MultiStepAgent.return_full_result",description:"<strong>return_full_result</strong> (<code>bool</code>, default <code>False</code>) &#x2014; Whether to return the full <code>RunResult</code> object or just the final answer output from the agent run.",name:"return_full_result"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L272"}}),Be=new $({props:{name:"extract_action",anchor:"smolagents.MultiStepAgent.extract_action",parameters:[{name:"model_output",val:": str"},{name:"split_token",val:": str"}],parametersDescription:[{anchor:"smolagents.MultiStepAgent.extract_action.model_output",description:"<strong>model_output</strong> (<code>str</code>) &#x2014; Output of the LLM",name:"model_output"},{anchor:"smolagents.MultiStepAgent.extract_action.split_token",description:"<strong>split_token</strong> (<code>str</code>) &#x2014; Separator for the action. Should match the example in the system prompt.",name:"split_token"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L789"}}),Ze=new $({props:{name:"from_dict",anchor:"smolagents.MultiStepAgent.from_dict",parameters:[{name:"agent_dict",val:": dict"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"smolagents.MultiStepAgent.from_dict.agent_dict",description:"<strong>agent_dict</strong> (<code>dict[str, Any]</code>) &#x2014; Dictionary representation of the agent.",name:"agent_dict"},{anchor:"smolagents.MultiStepAgent.from_dict.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments that will override agent_dict values.",name:"*kwargs"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L1010",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Instance of the agent class.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>MultiStepAgent</code></p>
`}}),Je=new $({props:{name:"from_folder",anchor:"smolagents.MultiStepAgent.from_folder",parameters:[{name:"folder",val:": str | pathlib.Path"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"smolagents.MultiStepAgent.from_folder.folder",description:"<strong>folder</strong> (<code>str</code> or <code>Path</code>) &#x2014; The folder where the agent is saved.",name:"folder"},{anchor:"smolagents.MultiStepAgent.from_folder.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments that will be passed to the agent&#x2019;s init.",name:"*kwargs"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L1108"}}),Qe=new $({props:{name:"from_hub",anchor:"smolagents.MultiStepAgent.from_hub",parameters:[{name:"repo_id",val:": str"},{name:"token",val:": str | None = None"},{name:"trust_remote_code",val:": bool = False"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"smolagents.MultiStepAgent.from_hub.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The name of the repo on the Hub where your tool is defined.`,name:"repo_id"},{anchor:"smolagents.MultiStepAgent.from_hub.token",description:`<strong>token</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The token to identify you on hf.co. If unset, will use the token generated when running
<code>huggingface-cli login</code> (stored in <code>~/.huggingface</code>).`,name:"token"},{anchor:"smolagents.MultiStepAgent.from_hub.trust_remote_code(bool,",description:`<strong>trust_remote_code(<code>bool</code>,</strong> <em>optional</em>, defaults to False) &#x2014;
This flags marks that you understand the risk of running remote code and that you trust this tool.
If not setting this to True, loading the tool from Hub will fail.`,name:"trust_remote_code(bool,"},{anchor:"smolagents.MultiStepAgent.from_hub.kwargs",description:`<strong>kwargs</strong> (additional keyword arguments, <em>optional</em>) &#x2014;
Additional keyword arguments that will be split in two: all arguments relevant to the Hub (such as
<code>cache_dir</code>, <code>revision</code>, <code>subfolder</code>) will be used when downloading the files for your agent, and the
others will be passed along to its init.`,name:"kwargs"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L1054"}}),oe=new Nr({props:{warning:!0,$$slots:{default:[ai]},$$scope:{ctx:U}}}),Oe=new $({props:{name:"initialize_system_prompt",anchor:"smolagents.MultiStepAgent.initialize_system_prompt",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L749"}}),Ye=new $({props:{name:"interrupt",anchor:"smolagents.MultiStepAgent.interrupt",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L754"}}),Xe=new $({props:{name:"provide_final_answer",anchor:"smolagents.MultiStepAgent.provide_final_answer",parameters:[{name:"task",val:": str"}],parametersDescription:[{anchor:"smolagents.MultiStepAgent.provide_final_answer.task",description:"<strong>task</strong> (<code>str</code>) &#x2014; Task to perform.",name:"task"},{anchor:"smolagents.MultiStepAgent.provide_final_answer.images",description:"<strong>images</strong> (<code>list[PIL.Image.Image]</code>, <em>optional</em>) &#x2014; Image(s) objects.",name:"images"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L810",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Final answer to the task.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>str</code></p>
`}}),Ke=new $({props:{name:"push_to_hub",anchor:"smolagents.MultiStepAgent.push_to_hub",parameters:[{name:"repo_id",val:": str"},{name:"commit_message",val:": str = 'Upload agent'"},{name:"private",val:": bool | None = None"},{name:"token",val:": bool | str | None = None"},{name:"create_pr",val:": bool = False"}],parametersDescription:[{anchor:"smolagents.MultiStepAgent.push_to_hub.repo_id",description:`<strong>repo_id</strong> (<code>str</code>) &#x2014;
The name of the repository you want to push to. It should contain your organization name when
pushing to a given organization.`,name:"repo_id"},{anchor:"smolagents.MultiStepAgent.push_to_hub.commit_message",description:`<strong>commit_message</strong> (<code>str</code>, <em>optional</em>, defaults to <code>&quot;Upload agent&quot;</code>) &#x2014;
Message to commit while pushing.`,name:"commit_message"},{anchor:"smolagents.MultiStepAgent.push_to_hub.private",description:`<strong>private</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>None</code>) &#x2014;
Whether to make the repo private. If <code>None</code>, the repo will be public unless the organization&#x2019;s default is private. This value is ignored if the repo already exists.`,name:"private"},{anchor:"smolagents.MultiStepAgent.push_to_hub.token",description:`<strong>token</strong> (<code>bool</code> or <code>str</code>, <em>optional</em>) &#x2014;
The token to use as HTTP bearer authorization for remote files. If unset, will use the token generated
when running <code>huggingface-cli login</code> (stored in <code>~/.huggingface</code>).`,name:"token"},{anchor:"smolagents.MultiStepAgent.push_to_hub.create_pr",description:`<strong>create_pr</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether to create a PR with the uploaded files or directly commit.`,name:"create_pr"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L1140"}}),et=new $({props:{name:"replay",anchor:"smolagents.MultiStepAgent.replay",parameters:[{name:"detailed",val:": bool = False"}],parametersDescription:[{anchor:"smolagents.MultiStepAgent.replay.detailed",description:`<strong>detailed</strong> (bool, optional) &#x2014; If True, also displays the memory at each step. Defaults to False.
Careful: will increase log length exponentially. Use only for debugging.`,name:"detailed"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L859"}}),tt=new $({props:{name:"run",anchor:"smolagents.MultiStepAgent.run",parameters:[{name:"task",val:": str"},{name:"stream",val:": bool = False"},{name:"reset",val:": bool = True"},{name:"images",val:": list['PIL.Image.Image'] | None = None"},{name:"additional_args",val:": dict | None = None"},{name:"max_steps",val:": int | None = None"},{name:"return_full_result",val:": bool | None = None"}],parametersDescription:[{anchor:"smolagents.MultiStepAgent.run.task",description:"<strong>task</strong> (<code>str</code>) &#x2014; Task to perform.",name:"task"},{anchor:"smolagents.MultiStepAgent.run.stream",description:`<strong>stream</strong> (<code>bool</code>) &#x2014; Whether to run in streaming mode.
If <code>True</code>, returns a generator that yields each step as it is executed. You must iterate over this generator to process the individual steps (e.g., using a for loop or <code>next()</code>).
If <code>False</code>, executes all steps internally and returns only the final answer after completion.`,name:"stream"},{anchor:"smolagents.MultiStepAgent.run.reset",description:"<strong>reset</strong> (<code>bool</code>) &#x2014; Whether to reset the conversation or keep it going from previous run.",name:"reset"},{anchor:"smolagents.MultiStepAgent.run.images",description:"<strong>images</strong> (<code>list[PIL.Image.Image]</code>, <em>optional</em>) &#x2014; Image(s) objects.",name:"images"},{anchor:"smolagents.MultiStepAgent.run.additional_args",description:"<strong>additional_args</strong> (<code>dict</code>, <em>optional</em>) &#x2014; Any other variables that you want to pass to the agent run, for instance images or dataframes. Give them clear names!",name:"additional_args"},{anchor:"smolagents.MultiStepAgent.run.max_steps",description:"<strong>max_steps</strong> (<code>int</code>, <em>optional</em>) &#x2014; Maximum number of steps the agent can take to solve the task. if not provided, will use the agent&#x2019;s default value.",name:"max_steps"},{anchor:"smolagents.MultiStepAgent.run.return_full_result",description:`<strong>return_full_result</strong> (<code>bool</code>, <em>optional</em>) &#x2014; Whether to return the full <code>RunResult</code> object or just the final answer output.
If <code>None</code> (default), the agent&#x2019;s <code>self.return_full_result</code> setting is used.`,name:"return_full_result"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L439"}}),me=new Ql({props:{anchor:"smolagents.MultiStepAgent.run.example",$$slots:{default:[si]},$$scope:{ctx:U}}}),nt=new $({props:{name:"save",anchor:"smolagents.MultiStepAgent.save",parameters:[{name:"output_dir",val:": str | pathlib.Path"},{name:"relative_path",val:": str | None = None"}],parametersDescription:[{anchor:"smolagents.MultiStepAgent.save.output_dir",description:"<strong>output_dir</strong> (<code>str</code> or <code>Path</code>) &#x2014; The folder in which you want to save your agent.",name:"output_dir"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L892"}}),ot=new $({props:{name:"step",anchor:"smolagents.MultiStepAgent.step",parameters:[{name:"memory_step",val:": ActionStep"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L782"}}),at=new $({props:{name:"to_dict",anchor:"smolagents.MultiStepAgent.to_dict",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L970",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Dictionary representation of the agent.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>dict</code></p>
`}}),st=new $({props:{name:"visualize",anchor:"smolagents.MultiStepAgent.visualize",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L855"}}),rt=new $({props:{name:"write_memory_to_messages",anchor:"smolagents.MultiStepAgent.write_memory_to_messages",parameters:[{name:"summary_mode",val:": bool = False"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L758"}}),lt=new $({props:{name:"class smolagents.CodeAgent",anchor:"smolagents.CodeAgent",parameters:[{name:"tools",val:": list"},{name:"model",val:": Model"},{name:"prompt_templates",val:": smolagents.agents.PromptTemplates | None = None"},{name:"additional_authorized_imports",val:": list[str] | None = None"},{name:"planning_interval",val:": int | None = None"},{name:"executor_type",val:": typing.Literal['local', 'e2b', 'modal', 'docker', 'wasm'] = 'local'"},{name:"executor_kwargs",val:": dict[str, typing.Any] | None = None"},{name:"max_print_outputs_length",val:": int | None = None"},{name:"stream_outputs",val:": bool = False"},{name:"use_structured_outputs_internally",val:": bool = False"},{name:"code_block_tags",val:": str | tuple[str, str] | None = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"smolagents.CodeAgent.tools",description:'<strong>tools</strong> (<code>list[Tool]</code>) &#x2014; <a href="/docs/smolagents/main/en/reference/tools#smolagents.Tool">Tool</a>s that the agent can use.',name:"tools"},{anchor:"smolagents.CodeAgent.model",description:"<strong>model</strong> (<code>Model</code>) &#x2014; Model that will generate the agent&#x2019;s actions.",name:"model"},{anchor:"smolagents.CodeAgent.prompt_templates",description:'<strong>prompt_templates</strong> (<a href="/docs/smolagents/main/en/reference/agents#smolagents.PromptTemplates">PromptTemplates</a>, <em>optional</em>) &#x2014; Prompt templates.',name:"prompt_templates"},{anchor:"smolagents.CodeAgent.additional_authorized_imports",description:"<strong>additional_authorized_imports</strong> (<code>list[str]</code>, <em>optional</em>) &#x2014; Additional authorized imports for the agent.",name:"additional_authorized_imports"},{anchor:"smolagents.CodeAgent.planning_interval",description:"<strong>planning_interval</strong> (<code>int</code>, <em>optional</em>) &#x2014; Interval at which the agent will run a planning step.",name:"planning_interval"},{anchor:"smolagents.CodeAgent.executor_type",description:"<strong>executor_type</strong> (<code>Literal[&quot;local&quot;, &quot;e2b&quot;, &quot;modal&quot;, &quot;docker&quot;, &quot;wasm&quot;]</code>, default <code>&quot;local&quot;</code>) &#x2014; Type of code executor.",name:"executor_type"},{anchor:"smolagents.CodeAgent.executor_kwargs",description:"<strong>executor_kwargs</strong> (<code>dict</code>, <em>optional</em>) &#x2014; Additional arguments to pass to initialize the executor.",name:"executor_kwargs"},{anchor:"smolagents.CodeAgent.max_print_outputs_length",description:"<strong>max_print_outputs_length</strong> (<code>int</code>, <em>optional</em>) &#x2014; Maximum length of the print outputs.",name:"max_print_outputs_length"},{anchor:"smolagents.CodeAgent.stream_outputs",description:"<strong>stream_outputs</strong> (<code>bool</code>, <em>optional</em>, default <code>False</code>) &#x2014; Whether to stream outputs during execution.",name:"stream_outputs"},{anchor:"smolagents.CodeAgent.use_structured_outputs_internally",description:`<strong>use_structured_outputs_internally</strong> (<code>bool</code>, default <code>False</code>) &#x2014; Whether to use structured generation at each action step: improves performance for many models.</p>
<div class="course-tip  bg-gradient-to-br dark:bg-gradient-to-r before:border-green-500 dark:before:border-green-800 from-green-50 dark:from-gray-900 to-white dark:to-gray-950 border border-green-50 text-green-700 dark:text-gray-400">
						<p class="font-medium">Added in 1.17.0</p>
						
					</div>`,name:"use_structured_outputs_internally"},{anchor:"smolagents.CodeAgent.code_block_tags",description:"<strong>code_block_tags</strong> (<code>tuple[str, str]</code> | <code>Literal[&quot;markdown&quot;]</code>, <em>optional</em>) &#x2014; Opening and closing tags for code blocks (regex strings). Pass a custom tuple, or pass &#x2018;markdown&#x2019; to use (&#x201D;<code>(?:python|py)&quot;, &quot;\\n</code>&#x201D;), leave empty to use (&#x201D;<code>&#x201D;, &#x201D;</code>&#x201D;).",name:"code_block_tags"},{anchor:"smolagents.CodeAgent.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L1489"}}),it=new $({props:{name:"cleanup",anchor:"smolagents.CodeAgent.cleanup",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L1577"}}),mt=new $({props:{name:"from_dict",anchor:"smolagents.CodeAgent.from_dict",parameters:[{name:"agent_dict",val:": dict"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"smolagents.CodeAgent.from_dict.agent_dict",description:"<strong>agent_dict</strong> (<code>dict[str, Any]</code>) &#x2014; Dictionary representation of the agent.",name:"agent_dict"},{anchor:"smolagents.CodeAgent.from_dict.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments that will override agent_dict values.",name:"*kwargs"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L1760",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Instance of the CodeAgent class.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>CodeAgent</code></p>
`}}),gt=new $({props:{name:"class smolagents.ToolCallingAgent",anchor:"smolagents.ToolCallingAgent",parameters:[{name:"tools",val:": list"},{name:"model",val:": Model"},{name:"prompt_templates",val:": smolagents.agents.PromptTemplates | None = None"},{name:"planning_interval",val:": int | None = None"},{name:"stream_outputs",val:": bool = False"},{name:"max_tool_threads",val:": int | None = None"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"smolagents.ToolCallingAgent.tools",description:'<strong>tools</strong> (<code>list[Tool]</code>) &#x2014; <a href="/docs/smolagents/main/en/reference/tools#smolagents.Tool">Tool</a>s that the agent can use.',name:"tools"},{anchor:"smolagents.ToolCallingAgent.model",description:"<strong>model</strong> (<code>Model</code>) &#x2014; Model that will generate the agent&#x2019;s actions.",name:"model"},{anchor:"smolagents.ToolCallingAgent.prompt_templates",description:'<strong>prompt_templates</strong> (<a href="/docs/smolagents/main/en/reference/agents#smolagents.PromptTemplates">PromptTemplates</a>, <em>optional</em>) &#x2014; Prompt templates.',name:"prompt_templates"},{anchor:"smolagents.ToolCallingAgent.planning_interval",description:"<strong>planning_interval</strong> (<code>int</code>, <em>optional</em>) &#x2014; Interval at which the agent will run a planning step.",name:"planning_interval"},{anchor:"smolagents.ToolCallingAgent.stream_outputs",description:"<strong>stream_outputs</strong> (<code>bool</code>, <em>optional</em>, default <code>False</code>) &#x2014; Whether to stream outputs during execution.",name:"stream_outputs"},{anchor:"smolagents.ToolCallingAgent.max_tool_threads",description:`<strong>max_tool_threads</strong> (<code>int</code>, <em>optional</em>) &#x2014; Maximum number of threads for parallel tool calls.
Higher values increase concurrency but resource usage as well.
Defaults to <code>ThreadPoolExecutor</code>&#x2019;s default.`,name:"max_tool_threads"},{anchor:"smolagents.ToolCallingAgent.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L1195"}}),dt=new $({props:{name:"execute_tool_call",anchor:"smolagents.ToolCallingAgent.execute_tool_call",parameters:[{name:"tool_name",val:": str"},{name:"arguments",val:": dict[str, str] | str"}],parametersDescription:[{anchor:"smolagents.ToolCallingAgent.execute_tool_call.tool_name",description:"<strong>tool_name</strong> (<code>str</code>) &#x2014; Name of the tool or managed agent to execute.",name:"tool_name"},{anchor:"smolagents.ToolCallingAgent.execute_tool_call.arguments",description:"<strong>arguments</strong> (dict[str, str] | str) &#x2014; Arguments passed to the tool call.",name:"arguments"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L1437"}}),ct=new $({props:{name:"process_tool_calls",anchor:"smolagents.ToolCallingAgent.process_tool_calls",parameters:[{name:"chat_message",val:": ChatMessage"},{name:"memory_step",val:": ActionStep"}],parametersDescription:[{anchor:"smolagents.ToolCallingAgent.process_tool_calls.chat_message",description:"<strong>chat_message</strong> (<code>ChatMessage</code>) &#x2014; Chat message containing tool calls from the model.",name:"chat_message"},{anchor:"smolagents.ToolCallingAgent.process_tool_calls.memory_step",description:"<strong>memory_step</strong> (<code>ActionStep)</code> &#x2014; Memory ActionStep to update with results.",name:"memory_step"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L1346",returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>ToolCall | ToolOutput</code></p>
`,isYield:!0}}),pt=new D({props:{title:"stream_to_gradio",local:"smolagents.stream_to_gradio",headingTag:"h3"}}),ut=new $({props:{name:"smolagents.stream_to_gradio",anchor:"smolagents.stream_to_gradio",parameters:[{name:"agent",val:""},{name:"task",val:": str"},{name:"task_images",val:": list | None = None"},{name:"reset_agent_memory",val:": bool = False"},{name:"additional_args",val:": dict | None = None"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/gradio_ui.py#L248"}}),ht=new D({props:{title:"GradioUI",local:"smolagents.GradioUI",headingTag:"h3"}}),_e=new Nr({props:{warning:!1,$$slots:{default:[ri]},$$scope:{ctx:U}}}),ft=new $({props:{name:"class smolagents.GradioUI",anchor:"smolagents.GradioUI",parameters:[{name:"agent",val:": MultiStepAgent"},{name:"file_upload_folder",val:": str | None = None"},{name:"reset_agent_memory",val:": bool = False"}],parametersDescription:[{anchor:"smolagents.GradioUI.agent",description:'<strong>agent</strong> (<a href="/docs/smolagents/main/en/reference/agents#smolagents.MultiStepAgent">MultiStepAgent</a>) &#x2014; The agent to interact with.',name:"agent"},{anchor:"smolagents.GradioUI.file_upload_folder",description:`<strong>file_upload_folder</strong> (<code>str</code>, <em>optional</em>) &#x2014; The folder where uploaded files will be saved.
If not provided, file uploads are disabled.`,name:"file_upload_folder"},{anchor:"smolagents.GradioUI.reset_agent_memory",description:`<strong>reset_agent_memory</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014; Whether to reset the agent&#x2019;s memory at the start of each interaction.
If <code>True</code>, the agent will not remember previous interactions.`,name:"reset_agent_memory"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/gradio_ui.py#L279",raiseDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<ul>
<li><code>ModuleNotFoundError</code> — If the <code>gradio</code> extra is not installed.</li>
</ul>
`,raiseType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>ModuleNotFoundError</code></p>
`}}),$e=new Ql({props:{anchor:"smolagents.GradioUI.example",$$slots:{default:[li]},$$scope:{ctx:U}}}),_t=new $({props:{name:"launch",anchor:"smolagents.GradioUI.launch",parameters:[{name:"share",val:": bool = True"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"smolagents.GradioUI.launch.share",description:"<strong>share</strong> (<code>bool</code>, defaults to <code>True</code>) &#x2014; Whether to share the app publicly.",name:"share"},{anchor:"smolagents.GradioUI.launch.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments to pass to the Gradio launch method.",name:"*kwargs"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/gradio_ui.py#L406"}}),$t=new $({props:{name:"upload_file",anchor:"smolagents.GradioUI.upload_file",parameters:[{name:"file",val:""},{name:"file_uploads_log",val:""},{name:"allowed_file_types",val:" = None"}],parametersDescription:[{anchor:"smolagents.GradioUI.upload_file.file",description:"<strong>file</strong> (<code>gradio.File</code>) &#x2014; The uploaded file.",name:"file"},{anchor:"smolagents.GradioUI.upload_file.file_uploads_log",description:"<strong>file_uploads_log</strong> (<code>list</code>) &#x2014; A list to log uploaded files.",name:"file_uploads_log"},{anchor:"smolagents.GradioUI.upload_file.allowed_file_types",description:"<strong>allowed_file_types</strong> (<code>list</code>, <em>optional</em>) &#x2014; List of allowed file extensions. Defaults to [&#x201C;.pdf&#x201D;, &#x201C;.docx&#x201D;, &#x201C;.txt&#x201D;].",name:"allowed_file_types"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/gradio_ui.py#L356"}}),bt=new D({props:{title:"Prompts",local:"smolagents.PromptTemplates",headingTag:"h2"}}),xt=new $({props:{name:"class smolagents.PromptTemplates",anchor:"smolagents.PromptTemplates",parameters:"",parametersDescription:[{anchor:"smolagents.PromptTemplates.system_prompt",description:"<strong>system_prompt</strong> (<code>str</code>) &#x2014; System prompt.",name:"system_prompt"},{anchor:"smolagents.PromptTemplates.planning",description:'<strong>planning</strong> (<a href="/docs/smolagents/main/en/reference/agents#smolagents.PlanningPromptTemplate">PlanningPromptTemplate</a>) &#x2014; Planning prompt templates.',name:"planning"},{anchor:"smolagents.PromptTemplates.managed_agent",description:'<strong>managed_agent</strong> (<a href="/docs/smolagents/main/en/reference/agents#smolagents.ManagedAgentPromptTemplate">ManagedAgentPromptTemplate</a>) &#x2014; Managed agent prompt templates.',name:"managed_agent"},{anchor:"smolagents.PromptTemplates.final_answer",description:'<strong>final_answer</strong> (<a href="/docs/smolagents/main/en/reference/agents#smolagents.FinalAnswerPromptTemplate">FinalAnswerPromptTemplate</a>) &#x2014; Final answer prompt templates.',name:"final_answer"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L170"}}),vt=new $({props:{name:"class smolagents.PlanningPromptTemplate",anchor:"smolagents.PlanningPromptTemplate",parameters:"",parametersDescription:[{anchor:"smolagents.PlanningPromptTemplate.plan",description:"<strong>plan</strong> (<code>str</code>) &#x2014; Initial plan prompt.",name:"plan"},{anchor:"smolagents.PlanningPromptTemplate.update_plan_pre_messages",description:"<strong>update_plan_pre_messages</strong> (<code>str</code>) &#x2014; Update plan pre-messages prompt.",name:"update_plan_pre_messages"},{anchor:"smolagents.PlanningPromptTemplate.update_plan_post_messages",description:"<strong>update_plan_post_messages</strong> (<code>str</code>) &#x2014; Update plan post-messages prompt.",name:"update_plan_post_messages"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L129"}}),yt=new $({props:{name:"class smolagents.ManagedAgentPromptTemplate",anchor:"smolagents.ManagedAgentPromptTemplate",parameters:"",parametersDescription:[{anchor:"smolagents.ManagedAgentPromptTemplate.task",description:"<strong>task</strong> (<code>str</code>) &#x2014; Task prompt.",name:"task"},{anchor:"smolagents.ManagedAgentPromptTemplate.report",description:"<strong>report</strong> (<code>str</code>) &#x2014; Report prompt.",name:"report"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L144"}}),wt=new $({props:{name:"class smolagents.FinalAnswerPromptTemplate",anchor:"smolagents.FinalAnswerPromptTemplate",parameters:"",parametersDescription:[{anchor:"smolagents.FinalAnswerPromptTemplate.pre_messages",description:"<strong>pre_messages</strong> (<code>str</code>) &#x2014; Pre-messages prompt.",name:"pre_messages"},{anchor:"smolagents.FinalAnswerPromptTemplate.post_messages",description:"<strong>post_messages</strong> (<code>str</code>) &#x2014; Post-messages prompt.",name:"post_messages"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/agents.py#L157"}}),Ct=new D({props:{title:"Memory",local:"smolagents.AgentMemory",headingTag:"h2"}}),Pt=new $({props:{name:"class smolagents.AgentMemory",anchor:"smolagents.AgentMemory",parameters:[{name:"system_prompt",val:": str"}],parametersDescription:[{anchor:"smolagents.AgentMemory.system_prompt",description:"<strong>system_prompt</strong> (<code>str</code>) &#x2014; System prompt for the agent, which sets the context and instructions for the agent&#x2019;s behavior.",name:"system_prompt"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/memory.py#L214"}}),At=new $({props:{name:"get_full_steps",anchor:"smolagents.AgentMemory.get_full_steps",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/memory.py#L242"}}),kt=new $({props:{name:"get_succinct_steps",anchor:"smolagents.AgentMemory.get_succinct_steps",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/memory.py#L236"}}),Tt=new $({props:{name:"replay",anchor:"smolagents.AgentMemory.replay",parameters:[{name:"logger",val:": AgentLogger"},{name:"detailed",val:": bool = False"}],parametersDescription:[{anchor:"smolagents.AgentMemory.replay.logger",description:"<strong>logger</strong> (<code>AgentLogger</code>) &#x2014; The logger to print replay logs to.",name:"logger"},{anchor:"smolagents.AgentMemory.replay.detailed",description:`<strong>detailed</strong> (<code>bool</code>, default <code>False</code>) &#x2014; If True, also displays the memory at each step. Defaults to False.
Careful: will increase log length exponentially. Use only for debugging.`,name:"detailed"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/memory.py#L248"}}),Et=new $({props:{name:"reset",anchor:"smolagents.AgentMemory.reset",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/memory.py#L232"}}),Lt=new $({props:{name:"return_full_code",anchor:"smolagents.AgentMemory.return_full_code",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/memory.py#L273"}}),It=new D({props:{title:"Python code executors",local:"smolagents.PythonExecutor",headingTag:"h2"}}),St=new $({props:{name:"class smolagents.PythonExecutor",anchor:"smolagents.PythonExecutor",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/local_python_executor.py#L1612"}}),Nt=new D({props:{title:"Local Python executor",local:"smolagents.LocalPythonExecutor",headingTag:"h3"}}),Vt=new $({props:{name:"class smolagents.LocalPythonExecutor",anchor:"smolagents.LocalPythonExecutor",parameters:[{name:"additional_authorized_imports",val:": list"},{name:"max_print_outputs_length",val:": int | None = None"},{name:"additional_functions",val:": dict[str, collections.abc.Callable] | None = None"}],parametersDescription:[{anchor:"smolagents.LocalPythonExecutor.additional_authorized_imports",description:`<strong>additional_authorized_imports</strong> (<code>list[str]</code>) &#x2014;
Additional authorized imports for the executor.`,name:"additional_authorized_imports"},{anchor:"smolagents.LocalPythonExecutor.max_print_outputs_length",description:`<strong>max_print_outputs_length</strong> (<code>int</code>, defaults to <code>DEFAULT_MAX_LEN_OUTPUT=50_000</code>) &#x2014;
Maximum length of the print outputs.`,name:"max_print_outputs_length"},{anchor:"smolagents.LocalPythonExecutor.additional_functions",description:`<strong>additional_functions</strong> (<code>dict[str, Callable]</code>, <em>optional</em>) &#x2014;
Additional Python functions to be added to the executor.`,name:"additional_functions"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/local_python_executor.py#L1623"}}),Ut=new D({props:{title:"Remote Python executors",local:"smolagents.remote_executors.RemotePythonExecutor",headingTag:"h3"}}),Wt=new $({props:{name:"class smolagents.remote_executors.RemotePythonExecutor",anchor:"smolagents.remote_executors.RemotePythonExecutor",parameters:[{name:"additional_imports",val:": list"},{name:"logger",val:""}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L54"}}),Ft=new $({props:{name:"run_code_raise_errors",anchor:"smolagents.remote_executors.RemotePythonExecutor.run_code_raise_errors",parameters:[{name:"code",val:": str"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L63"}}),jt=new $({props:{name:"send_variables",anchor:"smolagents.remote_executors.RemotePythonExecutor.send_variables",parameters:[{name:"variables",val:": dict"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L88"}}),Rt=new D({props:{title:"E2BExecutor",local:"smolagents.E2BExecutor",headingTag:"h4"}}),zt=new $({props:{name:"class smolagents.E2BExecutor",anchor:"smolagents.E2BExecutor",parameters:[{name:"additional_imports",val:": list"},{name:"logger",val:""},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"smolagents.E2BExecutor.additional_imports",description:"<strong>additional_imports</strong> (<code>list[str]</code>) &#x2014; Additional imports to install.",name:"additional_imports"},{anchor:"smolagents.E2BExecutor.logger",description:"<strong>logger</strong> (<code>Logger</code>) &#x2014; Logger to use.",name:"logger"},{anchor:"smolagents.E2BExecutor.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional arguments to pass to the E2B Sandbox.",name:"*kwargs"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L158"}}),Ht=new $({props:{name:"cleanup",anchor:"smolagents.E2BExecutor.cleanup",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L240"}}),qt=new D({props:{title:"ModalExecutor",local:"smolagents.ModalExecutor",headingTag:"h4"}}),Gt=new $({props:{name:"class smolagents.ModalExecutor",anchor:"smolagents.ModalExecutor",parameters:[{name:"additional_imports",val:": list"},{name:"logger",val:""},{name:"app_name",val:": str = 'smolagent-executor'"},{name:"port",val:": int = 8888"},{name:"create_kwargs",val:": typing.Optional[dict] = None"}],parametersDescription:[{anchor:"smolagents.ModalExecutor.additional_imports",description:"<strong>additional_imports</strong> &#x2014; Additional imports to install.",name:"additional_imports"},{anchor:"smolagents.ModalExecutor.logger",description:"<strong>logger</strong> (<code>Logger</code>) &#x2014; Logger to use for output and errors.",name:"logger"},{anchor:"smolagents.ModalExecutor.app_name",description:"<strong>app_name</strong> (<code>str</code>) &#x2014; App name.",name:"app_name"},{anchor:"smolagents.ModalExecutor.port",description:"<strong>port</strong> (<code>int</code>) &#x2014; Port for jupyter to bind to.",name:"port"},{anchor:"smolagents.ModalExecutor.create_kwargs",description:`<strong>create_kwargs</strong> (<code>dict</code>, optional) &#x2014; Keyword arguments to pass to creating the sandbox. See
<code>modal.Sandbox.create</code> <a href="https://modal.com/docs/reference/modal.Sandbox#create" rel="nofollow">docs</a> for all the
keyword arguments.`,name:"create_kwargs"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L495"}}),Bt=new $({props:{name:"delete",anchor:"smolagents.ModalExecutor.delete",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L586"}}),Zt=new D({props:{title:"DockerExecutor",local:"smolagents.DockerExecutor",headingTag:"h4"}}),Jt=new $({props:{name:"class smolagents.DockerExecutor",anchor:"smolagents.DockerExecutor",parameters:[{name:"additional_imports",val:": list"},{name:"logger",val:""},{name:"host",val:": str = '127.0.0.1'"},{name:"port",val:": int = 8888"},{name:"image_name",val:": str = 'jupyter-kernel'"},{name:"build_new_image",val:": bool = True"},{name:"container_run_kwargs",val:": dict[str, typing.Any] | None = None"},{name:"dockerfile_content",val:": str | None = None"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L341"}}),Qt=new $({props:{name:"cleanup",anchor:"smolagents.DockerExecutor.cleanup",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L463"}}),Ot=new $({props:{name:"delete",anchor:"smolagents.DockerExecutor.delete",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L475"}}),Yt=new D({props:{title:"WasmExecutor",local:"smolagents.WasmExecutor",headingTag:"h4"}}),Xt=new $({props:{name:"class smolagents.WasmExecutor",anchor:"smolagents.WasmExecutor",parameters:[{name:"additional_imports",val:": list"},{name:"logger",val:""},{name:"deno_path",val:": str = 'deno'"},{name:"deno_permissions",val:": list[str] | None = None"},{name:"timeout",val:": int = 60"}],parametersDescription:[{anchor:"smolagents.WasmExecutor.additional_imports",description:"<strong>additional_imports</strong> (<code>list[str]</code>) &#x2014; Additional Python packages to install in the Pyodide environment.",name:"additional_imports"},{anchor:"smolagents.WasmExecutor.logger",description:"<strong>logger</strong> (<code>Logger</code>) &#x2014; Logger to use for output and errors.",name:"logger"},{anchor:"smolagents.WasmExecutor.deno_path",description:"<strong>deno_path</strong> (<code>str</code>, optional) &#x2014; Path to the Deno executable. If not provided, will use &#x201C;deno&#x201D; from PATH.",name:"deno_path"},{anchor:"smolagents.WasmExecutor.deno_permissions",description:`<strong>deno_permissions</strong> (<code>list[str]</code>, optional) &#x2014; List of permissions to grant to the Deno runtime.
Default is minimal permissions needed for execution.`,name:"deno_permissions"},{anchor:"smolagents.WasmExecutor.timeout",description:"<strong>timeout</strong> (<code>int</code>, optional) &#x2014; Timeout in seconds for code execution. Default is 60 seconds.",name:"timeout"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L612"}}),Kt=new $({props:{name:"cleanup",anchor:"smolagents.WasmExecutor.cleanup",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L793"}}),en=new $({props:{name:"delete",anchor:"smolagents.WasmExecutor.delete",parameters:[],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L809"}}),tn=new $({props:{name:"install_packages",anchor:"smolagents.WasmExecutor.install_packages",parameters:[{name:"additional_imports",val:": list"}],parametersDescription:[{anchor:"smolagents.WasmExecutor.install_packages.additional_imports",description:"<strong>additional_imports</strong> (<code>list[str]</code>) &#x2014; Package names to install.",name:"additional_imports"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L777",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Installed packages.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>list[str]</p>
`}}),nn=new $({props:{name:"run_code_raise_errors",anchor:"smolagents.WasmExecutor.run_code_raise_errors",parameters:[{name:"code",val:": str"}],parametersDescription:[{anchor:"smolagents.WasmExecutor.run_code_raise_errors.code",description:"<strong>code</strong> (<code>str</code>) &#x2014; Python code to execute.",name:"code"}],source:"https://github.com/huggingface/smolagents/blob/main/src/smolagents/remote_executors.py#L716",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Code output containing the result, logs, and whether it is the final answer.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>CodeOutput</code></p>
`}}),on=new ni({props:{source:"https://github.com/huggingface/smolagents/blob/main/docs/source/en/reference/agents.md"}}),{c(){b=s("meta"),A=n(),w=s("p"),C=n(),i(T.$$.fragment),y=n(),i(L.$$.fragment),Mo=n(),We=s("p"),We.innerHTML=Vr,Po=n(),i(Fe.$$.fragment),Ao=n(),je=s("p"),je.innerHTML=Ur,ko=n(),Re=s("p"),Re.innerHTML=Wr,To=n(),ze=s("ul"),ze.innerHTML=Fr,Eo=n(),He=s("p"),He.innerHTML=jr,Lo=n(),i(qe.$$.fragment),Io=n(),x=s("div"),i(Ge.$$.fragment),qa=n(),ln=s("p"),ln.textContent=Rr,Ga=n(),ee=s("div"),i(Be.$$.fragment),Ba=n(),mn=s("p"),mn.textContent=zr,Za=n(),te=s("div"),i(Ze.$$.fragment),Ja=n(),gn=s("p"),gn.textContent=Hr,Qa=n(),ne=s("div"),i(Je.$$.fragment),Oa=n(),dn=s("p"),dn.textContent=qr,Ya=n(),H=s("div"),i(Qe.$$.fragment),Xa=n(),cn=s("p"),cn.textContent=Gr,Ka=n(),i(oe.$$.fragment),es=n(),ae=s("div"),i(Oe.$$.fragment),ts=n(),pn=s("p"),pn.textContent=Br,ns=n(),se=s("div"),i(Ye.$$.fragment),os=n(),un=s("p"),un.textContent=Zr,as=n(),re=s("div"),i(Xe.$$.fragment),ss=n(),hn=s("p"),hn.textContent=Jr,rs=n(),le=s("div"),i(Ke.$$.fragment),ls=n(),fn=s("p"),fn.textContent=Qr,is=n(),ie=s("div"),i(et.$$.fragment),ms=n(),_n=s("p"),_n.textContent=Or,gs=n(),q=s("div"),i(tt.$$.fragment),ds=n(),$n=s("p"),$n.textContent=Yr,cs=n(),i(me.$$.fragment),ps=n(),G=s("div"),i(nt.$$.fragment),us=n(),bn=s("p"),bn.innerHTML=Xr,hs=n(),xn=s("ul"),xn.innerHTML=Kr,fs=n(),ge=s("div"),i(ot.$$.fragment),_s=n(),vn=s("p"),vn.textContent=el,$s=n(),de=s("div"),i(at.$$.fragment),bs=n(),yn=s("p"),yn.textContent=tl,xs=n(),ce=s("div"),i(st.$$.fragment),vs=n(),wn=s("p"),wn.textContent=nl,ys=n(),pe=s("div"),i(rt.$$.fragment),ws=n(),Cn=s("p"),Cn.textContent=ol,Do=n(),S=s("div"),i(lt.$$.fragment),Cs=n(),Mn=s("p"),Mn.textContent=al,Ms=n(),ue=s("div"),i(it.$$.fragment),Ps=n(),Pn=s("p"),Pn.textContent=sl,As=n(),he=s("div"),i(mt.$$.fragment),ks=n(),An=s("p"),An.textContent=rl,So=n(),N=s("div"),i(gt.$$.fragment),Ts=n(),kn=s("p"),kn.innerHTML=ll,Es=n(),B=s("div"),i(dt.$$.fragment),Ls=n(),Tn=s("p"),Tn.textContent=il,Is=n(),En=s("p"),En.textContent=ml,Ds=n(),fe=s("div"),i(ct.$$.fragment),Ss=n(),Ln=s("p"),Ln.textContent=gl,No=n(),i(pt.$$.fragment),Vo=n(),J=s("div"),i(ut.$$.fragment),Ns=n(),In=s("p"),In.textContent=dl,Uo=n(),i(ht.$$.fragment),Wo=n(),i(_e.$$.fragment),Fo=n(),E=s("div"),i(ft.$$.fragment),Vs=n(),Dn=s("p"),Dn.innerHTML=cl,Us=n(),Sn=s("p"),Sn.innerHTML=pl,Ws=n(),i($e.$$.fragment),Fs=n(),be=s("div"),i(_t.$$.fragment),js=n(),Nn=s("p"),Nn.textContent=ul,Rs=n(),Z=s("div"),i($t.$$.fragment),zs=n(),Vn=s("p"),Vn.textContent=hl,Hs=n(),Un=s("p"),Un.innerHTML=fl,jo=n(),i(bt.$$.fragment),Ro=n(),Q=s("div"),i(xt.$$.fragment),qs=n(),Wn=s("p"),Wn.textContent=_l,zo=n(),O=s("div"),i(vt.$$.fragment),Gs=n(),Fn=s("p"),Fn.textContent=$l,Ho=n(),Y=s("div"),i(yt.$$.fragment),Bs=n(),jn=s("p"),jn.textContent=bl,qo=n(),X=s("div"),i(wt.$$.fragment),Zs=n(),Rn=s("p"),Rn.textContent=xl,Go=n(),i(Ct.$$.fragment),Bo=n(),Mt=s("p"),Mt.textContent=vl,Zo=n(),M=s("div"),i(Pt.$$.fragment),Js=n(),zn=s("p"),zn.textContent=yl,Qs=n(),Hn=s("p"),Hn.textContent=wl,Os=n(),qn=s("p"),qn.innerHTML=Cl,Ys=n(),Gn=s("ul"),Gn.innerHTML=Ml,Xs=n(),xe=s("div"),i(At.$$.fragment),Ks=n(),Bn=s("p"),Bn.textContent=Pl,er=n(),ve=s("div"),i(kt.$$.fragment),tr=n(),Zn=s("p"),Zn.textContent=Al,nr=n(),ye=s("div"),i(Tt.$$.fragment),or=n(),Jn=s("p"),Jn.textContent=kl,ar=n(),we=s("div"),i(Et.$$.fragment),sr=n(),Qn=s("p"),Qn.textContent=Tl,rr=n(),Ce=s("div"),i(Lt.$$.fragment),lr=n(),On=s("p"),On.textContent=El,Jo=n(),i(It.$$.fragment),Qo=n(),Dt=s("div"),i(St.$$.fragment),Oo=n(),i(Nt.$$.fragment),Yo=n(),F=s("div"),i(Vt.$$.fragment),ir=n(),Yn=s("p"),Yn.textContent=Ll,mr=n(),Xn=s("p"),Xn.textContent=Il,Xo=n(),i(Ut.$$.fragment),Ko=n(),j=s("div"),i(Wt.$$.fragment),gr=n(),Me=s("div"),i(Ft.$$.fragment),dr=n(),Kn=s("p"),Kn.textContent=Dl,cr=n(),Pe=s("div"),i(jt.$$.fragment),pr=n(),eo=s("p"),eo.textContent=Sl,ea=n(),i(Rt.$$.fragment),ta=n(),R=s("div"),i(zt.$$.fragment),ur=n(),to=s("p"),to.textContent=Nl,hr=n(),Ae=s("div"),i(Ht.$$.fragment),fr=n(),no=s("p"),no.textContent=Vl,na=n(),i(qt.$$.fragment),oa=n(),z=s("div"),i(Gt.$$.fragment),_r=n(),oo=s("p"),oo.textContent=Ul,$r=n(),ke=s("div"),i(Bt.$$.fragment),br=n(),ao=s("p"),ao.textContent=Wl,aa=n(),i(Zt.$$.fragment),sa=n(),V=s("div"),i(Jt.$$.fragment),xr=n(),so=s("p"),so.textContent=Fl,vr=n(),Te=s("div"),i(Qt.$$.fragment),yr=n(),ro=s("p"),ro.textContent=jl,wr=n(),Ee=s("div"),i(Ot.$$.fragment),Cr=n(),lo=s("p"),lo.textContent=Rl,ra=n(),i(Yt.$$.fragment),la=n(),k=s("div"),i(Xt.$$.fragment),Mr=n(),io=s("p"),io.textContent=zl,Pr=n(),mo=s("p"),mo.textContent=Hl,Ar=n(),Le=s("div"),i(Kt.$$.fragment),kr=n(),go=s("p"),go.textContent=ql,Tr=n(),Ie=s("div"),i(en.$$.fragment),Er=n(),co=s("p"),co.textContent=Gl,Lr=n(),De=s("div"),i(tn.$$.fragment),Ir=n(),po=s("p"),po.textContent=Bl,Dr=n(),Se=s("div"),i(nn.$$.fragment),Sr=n(),uo=s("p"),uo.textContent=Zl,ia=n(),i(on.$$.fragment),ma=n(),wo=s("p"),this.h()},l(e){const l=ti("svelte-u9bgzb",document.head);b=r(l,"META",{name:!0,content:!0}),l.forEach(a),A=o(e),w=r(e,"P",{}),f(w).forEach(a),C=o(e),m(T.$$.fragment,e),y=o(e),m(L.$$.fragment,e),Mo=o(e),We=r(e,"P",{"data-svelte-h":!0}),h(We)!=="svelte-17nnzxz"&&(We.innerHTML=Vr),Po=o(e),m(Fe.$$.fragment,e),Ao=o(e),je=r(e,"P",{"data-svelte-h":!0}),h(je)!=="svelte-jw5lw4"&&(je.innerHTML=Ur),ko=o(e),Re=r(e,"P",{"data-svelte-h":!0}),h(Re)!=="svelte-18joafb"&&(Re.innerHTML=Wr),To=o(e),ze=r(e,"UL",{"data-svelte-h":!0}),h(ze)!=="svelte-12qyk36"&&(ze.innerHTML=Fr),Eo=o(e),He=r(e,"P",{"data-svelte-h":!0}),h(He)!=="svelte-1pp7p5a"&&(He.innerHTML=jr),Lo=o(e),m(qe.$$.fragment,e),Io=o(e),x=r(e,"DIV",{class:!0});var v=f(x);m(Ge.$$.fragment,v),qa=o(v),ln=r(v,"P",{"data-svelte-h":!0}),h(ln)!=="svelte-d5y990"&&(ln.textContent=Rr),Ga=o(v),ee=r(v,"DIV",{class:!0});var an=f(ee);m(Be.$$.fragment,an),Ba=o(an),mn=r(an,"P",{"data-svelte-h":!0}),h(mn)!=="svelte-104knry"&&(mn.textContent=zr),an.forEach(a),Za=o(v),te=r(v,"DIV",{class:!0});var sn=f(te);m(Ze.$$.fragment,sn),Ja=o(sn),gn=r(sn,"P",{"data-svelte-h":!0}),h(gn)!=="svelte-1kbba9r"&&(gn.textContent=Hr),sn.forEach(a),Qa=o(v),ne=r(v,"DIV",{class:!0});var rn=f(ne);m(Je.$$.fragment,rn),Oa=o(rn),dn=r(rn,"P",{"data-svelte-h":!0}),h(dn)!=="svelte-1f5g0y1"&&(dn.textContent=qr),rn.forEach(a),Ya=o(v),H=r(v,"DIV",{class:!0});var K=f(H);m(Qe.$$.fragment,K),Xa=o(K),cn=r(K,"P",{"data-svelte-h":!0}),h(cn)!=="svelte-px853z"&&(cn.textContent=Gr),Ka=o(K),m(oe.$$.fragment,K),K.forEach(a),es=o(v),ae=r(v,"DIV",{class:!0});var da=f(ae);m(Oe.$$.fragment,da),ts=o(da),pn=r(da,"P",{"data-svelte-h":!0}),h(pn)!=="svelte-aqxmk9"&&(pn.textContent=Br),da.forEach(a),ns=o(v),se=r(v,"DIV",{class:!0});var ca=f(se);m(Ye.$$.fragment,ca),os=o(ca),un=r(ca,"P",{"data-svelte-h":!0}),h(un)!=="svelte-vma7te"&&(un.textContent=Zr),ca.forEach(a),as=o(v),re=r(v,"DIV",{class:!0});var pa=f(re);m(Xe.$$.fragment,pa),ss=o(pa),hn=r(pa,"P",{"data-svelte-h":!0}),h(hn)!=="svelte-s6zvq5"&&(hn.textContent=Jr),pa.forEach(a),rs=o(v),le=r(v,"DIV",{class:!0});var ua=f(le);m(Ke.$$.fragment,ua),ls=o(ua),fn=r(ua,"P",{"data-svelte-h":!0}),h(fn)!=="svelte-3y7cve"&&(fn.textContent=Qr),ua.forEach(a),is=o(v),ie=r(v,"DIV",{class:!0});var ha=f(ie);m(et.$$.fragment,ha),ms=o(ha),_n=r(ha,"P",{"data-svelte-h":!0}),h(_n)!=="svelte-28znqy"&&(_n.textContent=Or),ha.forEach(a),gs=o(v),q=r(v,"DIV",{class:!0});var ho=f(q);m(tt.$$.fragment,ho),ds=o(ho),$n=r(ho,"P",{"data-svelte-h":!0}),h($n)!=="svelte-1rclfo7"&&($n.textContent=Yr),cs=o(ho),m(me.$$.fragment,ho),ho.forEach(a),ps=o(v),G=r(v,"DIV",{class:!0});var fo=f(G);m(nt.$$.fragment,fo),us=o(fo),bn=r(fo,"P",{"data-svelte-h":!0}),h(bn)!=="svelte-1uw6gyw"&&(bn.innerHTML=Xr),hs=o(fo),xn=r(fo,"UL",{"data-svelte-h":!0}),h(xn)!=="svelte-11tnr4k"&&(xn.innerHTML=Kr),fo.forEach(a),fs=o(v),ge=r(v,"DIV",{class:!0});var fa=f(ge);m(ot.$$.fragment,fa),_s=o(fa),vn=r(fa,"P",{"data-svelte-h":!0}),h(vn)!=="svelte-1av9fpz"&&(vn.textContent=el),fa.forEach(a),$s=o(v),de=r(v,"DIV",{class:!0});var _a=f(de);m(at.$$.fragment,_a),bs=o(_a),yn=r(_a,"P",{"data-svelte-h":!0}),h(yn)!=="svelte-1kyagwa"&&(yn.textContent=tl),_a.forEach(a),xs=o(v),ce=r(v,"DIV",{class:!0});var $a=f(ce);m(st.$$.fragment,$a),vs=o($a),wn=r($a,"P",{"data-svelte-h":!0}),h(wn)!=="svelte-em4ik4"&&(wn.textContent=nl),$a.forEach(a),ys=o(v),pe=r(v,"DIV",{class:!0});var ba=f(pe);m(rt.$$.fragment,ba),ws=o(ba),Cn=r(ba,"P",{"data-svelte-h":!0}),h(Cn)!=="svelte-jg60qx"&&(Cn.textContent=ol),ba.forEach(a),v.forEach(a),Do=o(e),S=r(e,"DIV",{class:!0});var Ne=f(S);m(lt.$$.fragment,Ne),Cs=o(Ne),Mn=r(Ne,"P",{"data-svelte-h":!0}),h(Mn)!=="svelte-1mxsa12"&&(Mn.textContent=al),Ms=o(Ne),ue=r(Ne,"DIV",{class:!0});var xa=f(ue);m(it.$$.fragment,xa),Ps=o(xa),Pn=r(xa,"P",{"data-svelte-h":!0}),h(Pn)!=="svelte-1dq3hsa"&&(Pn.textContent=sl),xa.forEach(a),As=o(Ne),he=r(Ne,"DIV",{class:!0});var va=f(he);m(mt.$$.fragment,va),ks=o(va),An=r(va,"P",{"data-svelte-h":!0}),h(An)!=="svelte-1bap6qm"&&(An.textContent=rl),va.forEach(a),Ne.forEach(a),So=o(e),N=r(e,"DIV",{class:!0});var Ve=f(N);m(gt.$$.fragment,Ve),Ts=o(Ve),kn=r(Ve,"P",{"data-svelte-h":!0}),h(kn)!=="svelte-71yyi1"&&(kn.innerHTML=ll),Es=o(Ve),B=r(Ve,"DIV",{class:!0});var _o=f(B);m(dt.$$.fragment,_o),Ls=o(_o),Tn=r(_o,"P",{"data-svelte-h":!0}),h(Tn)!=="svelte-yjyhgb"&&(Tn.textContent=il),Is=o(_o),En=r(_o,"P",{"data-svelte-h":!0}),h(En)!=="svelte-1l33w20"&&(En.textContent=ml),_o.forEach(a),Ds=o(Ve),fe=r(Ve,"DIV",{class:!0});var ya=f(fe);m(ct.$$.fragment,ya),Ss=o(ya),Ln=r(ya,"P",{"data-svelte-h":!0}),h(Ln)!=="svelte-132xt9l"&&(Ln.textContent=gl),ya.forEach(a),Ve.forEach(a),No=o(e),m(pt.$$.fragment,e),Vo=o(e),J=r(e,"DIV",{class:!0});var wa=f(J);m(ut.$$.fragment,wa),Ns=o(wa),In=r(wa,"P",{"data-svelte-h":!0}),h(In)!=="svelte-3yyclm"&&(In.textContent=dl),wa.forEach(a),Uo=o(e),m(ht.$$.fragment,e),Wo=o(e),m(_e.$$.fragment,e),Fo=o(e),E=r(e,"DIV",{class:!0});var W=f(E);m(ft.$$.fragment,W),Vs=o(W),Dn=r(W,"P",{"data-svelte-h":!0}),h(Dn)!=="svelte-15ryjb"&&(Dn.innerHTML=cl),Us=o(W),Sn=r(W,"P",{"data-svelte-h":!0}),h(Sn)!=="svelte-i76913"&&(Sn.innerHTML=pl),Ws=o(W),m($e.$$.fragment,W),Fs=o(W),be=r(W,"DIV",{class:!0});var Ca=f(be);m(_t.$$.fragment,Ca),js=o(Ca),Nn=r(Ca,"P",{"data-svelte-h":!0}),h(Nn)!=="svelte-1jjhzc2"&&(Nn.textContent=ul),Ca.forEach(a),Rs=o(W),Z=r(W,"DIV",{class:!0});var $o=f(Z);m($t.$$.fragment,$o),zs=o($o),Vn=r($o,"P",{"data-svelte-h":!0}),h(Vn)!=="svelte-7pw2wo"&&(Vn.textContent=hl),Hs=o($o),Un=r($o,"P",{"data-svelte-h":!0}),h(Un)!=="svelte-19g2bgi"&&(Un.innerHTML=fl),$o.forEach(a),W.forEach(a),jo=o(e),m(bt.$$.fragment,e),Ro=o(e),Q=r(e,"DIV",{class:!0});var Ma=f(Q);m(xt.$$.fragment,Ma),qs=o(Ma),Wn=r(Ma,"P",{"data-svelte-h":!0}),h(Wn)!=="svelte-1qudq9i"&&(Wn.textContent=_l),Ma.forEach(a),zo=o(e),O=r(e,"DIV",{class:!0});var Pa=f(O);m(vt.$$.fragment,Pa),Gs=o(Pa),Fn=r(Pa,"P",{"data-svelte-h":!0}),h(Fn)!=="svelte-139nrra"&&(Fn.textContent=$l),Pa.forEach(a),Ho=o(e),Y=r(e,"DIV",{class:!0});var Aa=f(Y);m(yt.$$.fragment,Aa),Bs=o(Aa),jn=r(Aa,"P",{"data-svelte-h":!0}),h(jn)!=="svelte-uxob75"&&(jn.textContent=bl),Aa.forEach(a),qo=o(e),X=r(e,"DIV",{class:!0});var ka=f(X);m(wt.$$.fragment,ka),Zs=o(ka),Rn=r(ka,"P",{"data-svelte-h":!0}),h(Rn)!=="svelte-52nyxb"&&(Rn.textContent=xl),ka.forEach(a),Go=o(e),m(Ct.$$.fragment,e),Bo=o(e),Mt=r(e,"P",{"data-svelte-h":!0}),h(Mt)!=="svelte-1vlwv8h"&&(Mt.textContent=vl),Zo=o(e),M=r(e,"DIV",{class:!0});var P=f(M);m(Pt.$$.fragment,P),Js=o(P),zn=r(P,"P",{"data-svelte-h":!0}),h(zn)!=="svelte-lifspb"&&(zn.textContent=yl),Qs=o(P),Hn=r(P,"P",{"data-svelte-h":!0}),h(Hn)!=="svelte-13n17g0"&&(Hn.textContent=wl),Os=o(P),qn=r(P,"P",{"data-svelte-h":!0}),h(qn)!=="svelte-1xx6nm4"&&(qn.innerHTML=Cl),Ys=o(P),Gn=r(P,"UL",{"data-svelte-h":!0}),h(Gn)!=="svelte-1m5hzix"&&(Gn.innerHTML=Ml),Xs=o(P),xe=r(P,"DIV",{class:!0});var Ta=f(xe);m(At.$$.fragment,Ta),Ks=o(Ta),Bn=r(Ta,"P",{"data-svelte-h":!0}),h(Bn)!=="svelte-h1xxch"&&(Bn.textContent=Pl),Ta.forEach(a),er=o(P),ve=r(P,"DIV",{class:!0});var Ea=f(ve);m(kt.$$.fragment,Ea),tr=o(Ea),Zn=r(Ea,"P",{"data-svelte-h":!0}),h(Zn)!=="svelte-1s7bcuo"&&(Zn.textContent=Al),Ea.forEach(a),nr=o(P),ye=r(P,"DIV",{class:!0});var La=f(ye);m(Tt.$$.fragment,La),or=o(La),Jn=r(La,"P",{"data-svelte-h":!0}),h(Jn)!=="svelte-28znqy"&&(Jn.textContent=kl),La.forEach(a),ar=o(P),we=r(P,"DIV",{class:!0});var Ia=f(we);m(Et.$$.fragment,Ia),sr=o(Ia),Qn=r(Ia,"P",{"data-svelte-h":!0}),h(Qn)!=="svelte-16b4z6f"&&(Qn.textContent=Tl),Ia.forEach(a),rr=o(P),Ce=r(P,"DIV",{class:!0});var Da=f(Ce);m(Lt.$$.fragment,Da),lr=o(Da),On=r(Da,"P",{"data-svelte-h":!0}),h(On)!=="svelte-1qzr6e6"&&(On.textContent=El),Da.forEach(a),P.forEach(a),Jo=o(e),m(It.$$.fragment,e),Qo=o(e),Dt=r(e,"DIV",{class:!0});var Jl=f(Dt);m(St.$$.fragment,Jl),Jl.forEach(a),Oo=o(e),m(Nt.$$.fragment,e),Yo=o(e),F=r(e,"DIV",{class:!0});var bo=f(F);m(Vt.$$.fragment,bo),ir=o(bo),Yn=r(bo,"P",{"data-svelte-h":!0}),h(Yn)!=="svelte-6trsc5"&&(Yn.textContent=Ll),mr=o(bo),Xn=r(bo,"P",{"data-svelte-h":!0}),h(Xn)!=="svelte-897ghs"&&(Xn.textContent=Il),bo.forEach(a),Xo=o(e),m(Ut.$$.fragment,e),Ko=o(e),j=r(e,"DIV",{class:!0});var xo=f(j);m(Wt.$$.fragment,xo),gr=o(xo),Me=r(xo,"DIV",{class:!0});var Sa=f(Me);m(Ft.$$.fragment,Sa),dr=o(Sa),Kn=r(Sa,"P",{"data-svelte-h":!0}),h(Kn)!=="svelte-1viu4bp"&&(Kn.textContent=Dl),Sa.forEach(a),cr=o(xo),Pe=r(xo,"DIV",{class:!0});var Na=f(Pe);m(jt.$$.fragment,Na),pr=o(Na),eo=r(Na,"P",{"data-svelte-h":!0}),h(eo)!=="svelte-7ib6bx"&&(eo.textContent=Sl),Na.forEach(a),xo.forEach(a),ea=o(e),m(Rt.$$.fragment,e),ta=o(e),R=r(e,"DIV",{class:!0});var vo=f(R);m(zt.$$.fragment,vo),ur=o(vo),to=r(vo,"P",{"data-svelte-h":!0}),h(to)!=="svelte-1t2tqqy"&&(to.textContent=Nl),hr=o(vo),Ae=r(vo,"DIV",{class:!0});var Va=f(Ae);m(Ht.$$.fragment,Va),fr=o(Va),no=r(Va,"P",{"data-svelte-h":!0}),h(no)!=="svelte-18dz3wh"&&(no.textContent=Vl),Va.forEach(a),vo.forEach(a),na=o(e),m(qt.$$.fragment,e),oa=o(e),z=r(e,"DIV",{class:!0});var yo=f(z);m(Gt.$$.fragment,yo),_r=o(yo),oo=r(yo,"P",{"data-svelte-h":!0}),h(oo)!=="svelte-sdwfoo"&&(oo.textContent=Ul),$r=o(yo),ke=r(yo,"DIV",{class:!0});var Ua=f(ke);m(Bt.$$.fragment,Ua),br=o(Ua),ao=r(Ua,"P",{"data-svelte-h":!0}),h(ao)!=="svelte-1rajaev"&&(ao.textContent=Wl),Ua.forEach(a),yo.forEach(a),aa=o(e),m(Zt.$$.fragment,e),sa=o(e),V=r(e,"DIV",{class:!0});var Ue=f(V);m(Jt.$$.fragment,Ue),xr=o(Ue),so=r(Ue,"P",{"data-svelte-h":!0}),h(so)!=="svelte-uqd6b4"&&(so.textContent=Fl),vr=o(Ue),Te=r(Ue,"DIV",{class:!0});var Wa=f(Te);m(Qt.$$.fragment,Wa),yr=o(Wa),ro=r(Wa,"P",{"data-svelte-h":!0}),h(ro)!=="svelte-kff7j6"&&(ro.textContent=jl),Wa.forEach(a),wr=o(Ue),Ee=r(Ue,"DIV",{class:!0});var Fa=f(Ee);m(Ot.$$.fragment,Fa),Cr=o(Fa),lo=r(Fa,"P",{"data-svelte-h":!0}),h(lo)!=="svelte-1rajaev"&&(lo.textContent=Rl),Fa.forEach(a),Ue.forEach(a),ra=o(e),m(Yt.$$.fragment,e),la=o(e),k=r(e,"DIV",{class:!0});var I=f(k);m(Xt.$$.fragment,I),Mr=o(I),io=r(I,"P",{"data-svelte-h":!0}),h(io)!=="svelte-3rfr4f"&&(io.textContent=zl),Pr=o(I),mo=r(I,"P",{"data-svelte-h":!0}),h(mo)!=="svelte-dhwyu2"&&(mo.textContent=Hl),Ar=o(I),Le=r(I,"DIV",{class:!0});var ja=f(Le);m(Kt.$$.fragment,ja),kr=o(ja),go=r(ja,"P",{"data-svelte-h":!0}),h(go)!=="svelte-1euxqu1"&&(go.textContent=ql),ja.forEach(a),Tr=o(I),Ie=r(I,"DIV",{class:!0});var Ra=f(Ie);m(en.$$.fragment,Ra),Er=o(Ra),co=r(Ra,"P",{"data-svelte-h":!0}),h(co)!=="svelte-1rajaev"&&(co.textContent=Gl),Ra.forEach(a),Lr=o(I),De=r(I,"DIV",{class:!0});var za=f(De);m(tn.$$.fragment,za),Ir=o(za),po=r(za,"P",{"data-svelte-h":!0}),h(po)!=="svelte-taby0m"&&(po.textContent=Bl),za.forEach(a),Dr=o(I),Se=r(I,"DIV",{class:!0});var Ha=f(Se);m(nn.$$.fragment,Ha),Sr=o(Ha),uo=r(Ha,"P",{"data-svelte-h":!0}),h(uo)!=="svelte-j15i8w"&&(uo.textContent=Zl),Ha.forEach(a),I.forEach(a),ia=o(e),m(on.$$.fragment,e),ma=o(e),wo=r(e,"P",{}),f(wo).forEach(a),this.h()},h(){_(b,"name","hf:doc:metadata"),_(b,"content",mi),_(ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(te,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ae,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(de,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(he,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(be,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(X,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(xe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ve,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ye,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(we,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Dt,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Ae,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(ke,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Te,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(De,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(Se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),_(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,l){t(document.head,b),u(e,A,l),u(e,w,l),u(e,C,l),g(T,e,l),u(e,y,l),g(L,e,l),u(e,Mo,l),u(e,We,l),u(e,Po,l),g(Fe,e,l),u(e,Ao,l),u(e,je,l),u(e,ko,l),u(e,Re,l),u(e,To,l),u(e,ze,l),u(e,Eo,l),u(e,He,l),u(e,Lo,l),g(qe,e,l),u(e,Io,l),u(e,x,l),g(Ge,x,null),t(x,qa),t(x,ln),t(x,Ga),t(x,ee),g(Be,ee,null),t(ee,Ba),t(ee,mn),t(x,Za),t(x,te),g(Ze,te,null),t(te,Ja),t(te,gn),t(x,Qa),t(x,ne),g(Je,ne,null),t(ne,Oa),t(ne,dn),t(x,Ya),t(x,H),g(Qe,H,null),t(H,Xa),t(H,cn),t(H,Ka),g(oe,H,null),t(x,es),t(x,ae),g(Oe,ae,null),t(ae,ts),t(ae,pn),t(x,ns),t(x,se),g(Ye,se,null),t(se,os),t(se,un),t(x,as),t(x,re),g(Xe,re,null),t(re,ss),t(re,hn),t(x,rs),t(x,le),g(Ke,le,null),t(le,ls),t(le,fn),t(x,is),t(x,ie),g(et,ie,null),t(ie,ms),t(ie,_n),t(x,gs),t(x,q),g(tt,q,null),t(q,ds),t(q,$n),t(q,cs),g(me,q,null),t(x,ps),t(x,G),g(nt,G,null),t(G,us),t(G,bn),t(G,hs),t(G,xn),t(x,fs),t(x,ge),g(ot,ge,null),t(ge,_s),t(ge,vn),t(x,$s),t(x,de),g(at,de,null),t(de,bs),t(de,yn),t(x,xs),t(x,ce),g(st,ce,null),t(ce,vs),t(ce,wn),t(x,ys),t(x,pe),g(rt,pe,null),t(pe,ws),t(pe,Cn),u(e,Do,l),u(e,S,l),g(lt,S,null),t(S,Cs),t(S,Mn),t(S,Ms),t(S,ue),g(it,ue,null),t(ue,Ps),t(ue,Pn),t(S,As),t(S,he),g(mt,he,null),t(he,ks),t(he,An),u(e,So,l),u(e,N,l),g(gt,N,null),t(N,Ts),t(N,kn),t(N,Es),t(N,B),g(dt,B,null),t(B,Ls),t(B,Tn),t(B,Is),t(B,En),t(N,Ds),t(N,fe),g(ct,fe,null),t(fe,Ss),t(fe,Ln),u(e,No,l),g(pt,e,l),u(e,Vo,l),u(e,J,l),g(ut,J,null),t(J,Ns),t(J,In),u(e,Uo,l),g(ht,e,l),u(e,Wo,l),g(_e,e,l),u(e,Fo,l),u(e,E,l),g(ft,E,null),t(E,Vs),t(E,Dn),t(E,Us),t(E,Sn),t(E,Ws),g($e,E,null),t(E,Fs),t(E,be),g(_t,be,null),t(be,js),t(be,Nn),t(E,Rs),t(E,Z),g($t,Z,null),t(Z,zs),t(Z,Vn),t(Z,Hs),t(Z,Un),u(e,jo,l),g(bt,e,l),u(e,Ro,l),u(e,Q,l),g(xt,Q,null),t(Q,qs),t(Q,Wn),u(e,zo,l),u(e,O,l),g(vt,O,null),t(O,Gs),t(O,Fn),u(e,Ho,l),u(e,Y,l),g(yt,Y,null),t(Y,Bs),t(Y,jn),u(e,qo,l),u(e,X,l),g(wt,X,null),t(X,Zs),t(X,Rn),u(e,Go,l),g(Ct,e,l),u(e,Bo,l),u(e,Mt,l),u(e,Zo,l),u(e,M,l),g(Pt,M,null),t(M,Js),t(M,zn),t(M,Qs),t(M,Hn),t(M,Os),t(M,qn),t(M,Ys),t(M,Gn),t(M,Xs),t(M,xe),g(At,xe,null),t(xe,Ks),t(xe,Bn),t(M,er),t(M,ve),g(kt,ve,null),t(ve,tr),t(ve,Zn),t(M,nr),t(M,ye),g(Tt,ye,null),t(ye,or),t(ye,Jn),t(M,ar),t(M,we),g(Et,we,null),t(we,sr),t(we,Qn),t(M,rr),t(M,Ce),g(Lt,Ce,null),t(Ce,lr),t(Ce,On),u(e,Jo,l),g(It,e,l),u(e,Qo,l),u(e,Dt,l),g(St,Dt,null),u(e,Oo,l),g(Nt,e,l),u(e,Yo,l),u(e,F,l),g(Vt,F,null),t(F,ir),t(F,Yn),t(F,mr),t(F,Xn),u(e,Xo,l),g(Ut,e,l),u(e,Ko,l),u(e,j,l),g(Wt,j,null),t(j,gr),t(j,Me),g(Ft,Me,null),t(Me,dr),t(Me,Kn),t(j,cr),t(j,Pe),g(jt,Pe,null),t(Pe,pr),t(Pe,eo),u(e,ea,l),g(Rt,e,l),u(e,ta,l),u(e,R,l),g(zt,R,null),t(R,ur),t(R,to),t(R,hr),t(R,Ae),g(Ht,Ae,null),t(Ae,fr),t(Ae,no),u(e,na,l),g(qt,e,l),u(e,oa,l),u(e,z,l),g(Gt,z,null),t(z,_r),t(z,oo),t(z,$r),t(z,ke),g(Bt,ke,null),t(ke,br),t(ke,ao),u(e,aa,l),g(Zt,e,l),u(e,sa,l),u(e,V,l),g(Jt,V,null),t(V,xr),t(V,so),t(V,vr),t(V,Te),g(Qt,Te,null),t(Te,yr),t(Te,ro),t(V,wr),t(V,Ee),g(Ot,Ee,null),t(Ee,Cr),t(Ee,lo),u(e,ra,l),g(Yt,e,l),u(e,la,l),u(e,k,l),g(Xt,k,null),t(k,Mr),t(k,io),t(k,Pr),t(k,mo),t(k,Ar),t(k,Le),g(Kt,Le,null),t(Le,kr),t(Le,go),t(k,Tr),t(k,Ie),g(en,Ie,null),t(Ie,Er),t(Ie,co),t(k,Lr),t(k,De),g(tn,De,null),t(De,Ir),t(De,po),t(k,Dr),t(k,Se),g(nn,Se,null),t(Se,Sr),t(Se,uo),u(e,ia,l),g(on,e,l),u(e,ma,l),u(e,wo,l),ga=!0},p(e,[l]){const v={};l&2&&(v.$$scope={dirty:l,ctx:e}),L.$set(v);const an={};l&2&&(an.$$scope={dirty:l,ctx:e}),oe.$set(an);const sn={};l&2&&(sn.$$scope={dirty:l,ctx:e}),me.$set(sn);const rn={};l&2&&(rn.$$scope={dirty:l,ctx:e}),_e.$set(rn);const K={};l&2&&(K.$$scope={dirty:l,ctx:e}),$e.$set(K)},i(e){ga||(d(T.$$.fragment,e),d(L.$$.fragment,e),d(Fe.$$.fragment,e),d(qe.$$.fragment,e),d(Ge.$$.fragment,e),d(Be.$$.fragment,e),d(Ze.$$.fragment,e),d(Je.$$.fragment,e),d(Qe.$$.fragment,e),d(oe.$$.fragment,e),d(Oe.$$.fragment,e),d(Ye.$$.fragment,e),d(Xe.$$.fragment,e),d(Ke.$$.fragment,e),d(et.$$.fragment,e),d(tt.$$.fragment,e),d(me.$$.fragment,e),d(nt.$$.fragment,e),d(ot.$$.fragment,e),d(at.$$.fragment,e),d(st.$$.fragment,e),d(rt.$$.fragment,e),d(lt.$$.fragment,e),d(it.$$.fragment,e),d(mt.$$.fragment,e),d(gt.$$.fragment,e),d(dt.$$.fragment,e),d(ct.$$.fragment,e),d(pt.$$.fragment,e),d(ut.$$.fragment,e),d(ht.$$.fragment,e),d(_e.$$.fragment,e),d(ft.$$.fragment,e),d($e.$$.fragment,e),d(_t.$$.fragment,e),d($t.$$.fragment,e),d(bt.$$.fragment,e),d(xt.$$.fragment,e),d(vt.$$.fragment,e),d(yt.$$.fragment,e),d(wt.$$.fragment,e),d(Ct.$$.fragment,e),d(Pt.$$.fragment,e),d(At.$$.fragment,e),d(kt.$$.fragment,e),d(Tt.$$.fragment,e),d(Et.$$.fragment,e),d(Lt.$$.fragment,e),d(It.$$.fragment,e),d(St.$$.fragment,e),d(Nt.$$.fragment,e),d(Vt.$$.fragment,e),d(Ut.$$.fragment,e),d(Wt.$$.fragment,e),d(Ft.$$.fragment,e),d(jt.$$.fragment,e),d(Rt.$$.fragment,e),d(zt.$$.fragment,e),d(Ht.$$.fragment,e),d(qt.$$.fragment,e),d(Gt.$$.fragment,e),d(Bt.$$.fragment,e),d(Zt.$$.fragment,e),d(Jt.$$.fragment,e),d(Qt.$$.fragment,e),d(Ot.$$.fragment,e),d(Yt.$$.fragment,e),d(Xt.$$.fragment,e),d(Kt.$$.fragment,e),d(en.$$.fragment,e),d(tn.$$.fragment,e),d(nn.$$.fragment,e),d(on.$$.fragment,e),ga=!0)},o(e){c(T.$$.fragment,e),c(L.$$.fragment,e),c(Fe.$$.fragment,e),c(qe.$$.fragment,e),c(Ge.$$.fragment,e),c(Be.$$.fragment,e),c(Ze.$$.fragment,e),c(Je.$$.fragment,e),c(Qe.$$.fragment,e),c(oe.$$.fragment,e),c(Oe.$$.fragment,e),c(Ye.$$.fragment,e),c(Xe.$$.fragment,e),c(Ke.$$.fragment,e),c(et.$$.fragment,e),c(tt.$$.fragment,e),c(me.$$.fragment,e),c(nt.$$.fragment,e),c(ot.$$.fragment,e),c(at.$$.fragment,e),c(st.$$.fragment,e),c(rt.$$.fragment,e),c(lt.$$.fragment,e),c(it.$$.fragment,e),c(mt.$$.fragment,e),c(gt.$$.fragment,e),c(dt.$$.fragment,e),c(ct.$$.fragment,e),c(pt.$$.fragment,e),c(ut.$$.fragment,e),c(ht.$$.fragment,e),c(_e.$$.fragment,e),c(ft.$$.fragment,e),c($e.$$.fragment,e),c(_t.$$.fragment,e),c($t.$$.fragment,e),c(bt.$$.fragment,e),c(xt.$$.fragment,e),c(vt.$$.fragment,e),c(yt.$$.fragment,e),c(wt.$$.fragment,e),c(Ct.$$.fragment,e),c(Pt.$$.fragment,e),c(At.$$.fragment,e),c(kt.$$.fragment,e),c(Tt.$$.fragment,e),c(Et.$$.fragment,e),c(Lt.$$.fragment,e),c(It.$$.fragment,e),c(St.$$.fragment,e),c(Nt.$$.fragment,e),c(Vt.$$.fragment,e),c(Ut.$$.fragment,e),c(Wt.$$.fragment,e),c(Ft.$$.fragment,e),c(jt.$$.fragment,e),c(Rt.$$.fragment,e),c(zt.$$.fragment,e),c(Ht.$$.fragment,e),c(qt.$$.fragment,e),c(Gt.$$.fragment,e),c(Bt.$$.fragment,e),c(Zt.$$.fragment,e),c(Jt.$$.fragment,e),c(Qt.$$.fragment,e),c(Ot.$$.fragment,e),c(Yt.$$.fragment,e),c(Xt.$$.fragment,e),c(Kt.$$.fragment,e),c(en.$$.fragment,e),c(tn.$$.fragment,e),c(nn.$$.fragment,e),c(on.$$.fragment,e),ga=!1},d(e){e&&(a(A),a(w),a(C),a(y),a(Mo),a(We),a(Po),a(Ao),a(je),a(ko),a(Re),a(To),a(ze),a(Eo),a(He),a(Lo),a(Io),a(x),a(Do),a(S),a(So),a(N),a(No),a(Vo),a(J),a(Uo),a(Wo),a(Fo),a(E),a(jo),a(Ro),a(Q),a(zo),a(O),a(Ho),a(Y),a(qo),a(X),a(Go),a(Bo),a(Mt),a(Zo),a(M),a(Jo),a(Qo),a(Dt),a(Oo),a(Yo),a(F),a(Xo),a(Ko),a(j),a(ea),a(ta),a(R),a(na),a(oa),a(z),a(aa),a(sa),a(V),a(ra),a(la),a(k),a(ia),a(ma),a(wo)),a(b),p(T,e),p(L,e),p(Fe,e),p(qe,e),p(Ge),p(Be),p(Ze),p(Je),p(Qe),p(oe),p(Oe),p(Ye),p(Xe),p(Ke),p(et),p(tt),p(me),p(nt),p(ot),p(at),p(st),p(rt),p(lt),p(it),p(mt),p(gt),p(dt),p(ct),p(pt,e),p(ut),p(ht,e),p(_e,e),p(ft),p($e),p(_t),p($t),p(bt,e),p(xt),p(vt),p(yt),p(wt),p(Ct,e),p(Pt),p(At),p(kt),p(Tt),p(Et),p(Lt),p(It,e),p(St),p(Nt,e),p(Vt),p(Ut,e),p(Wt),p(Ft),p(jt),p(Rt,e),p(zt),p(Ht),p(qt,e),p(Gt),p(Bt),p(Zt,e),p(Jt),p(Qt),p(Ot),p(Yt,e),p(Xt),p(Kt),p(en),p(tn),p(nn),p(on,e)}}}const mi='{"title":"Agents","local":"agents","sections":[{"title":"Agents","local":"agents","sections":[{"title":"Classes of agents","local":"smolagents.MultiStepAgent","sections":[],"depth":3},{"title":"stream_to_gradio","local":"smolagents.stream_to_gradio","sections":[],"depth":3},{"title":"GradioUI","local":"smolagents.GradioUI","sections":[],"depth":3}],"depth":2},{"title":"Prompts","local":"smolagents.PromptTemplates","sections":[],"depth":2},{"title":"Memory","local":"smolagents.AgentMemory","sections":[],"depth":2},{"title":"Python code executors","local":"smolagents.PythonExecutor","sections":[{"title":"Local Python executor","local":"smolagents.LocalPythonExecutor","sections":[],"depth":3},{"title":"Remote Python executors","local":"smolagents.remote_executors.RemotePythonExecutor","sections":[{"title":"E2BExecutor","local":"smolagents.E2BExecutor","sections":[],"depth":4},{"title":"ModalExecutor","local":"smolagents.ModalExecutor","sections":[],"depth":4},{"title":"DockerExecutor","local":"smolagents.DockerExecutor","sections":[],"depth":4},{"title":"WasmExecutor","local":"smolagents.WasmExecutor","sections":[],"depth":4}],"depth":3}],"depth":2}],"depth":1}';function gi(U){return Xl(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class _i extends Kl{constructor(b){super(),ei(this,b,gi,ii,Yl,{})}}export{_i as component};
