import{s as k,o as H,n as I}from"../chunks/scheduler.9bc65507.js";import{S as M,i as q,g as d,s as f,r as v,A as z,h,f as a,c as u,j as A,u as b,k as j,y as G,a as l,v as x,d as C,t as T,w as E,x as S}from"../chunks/index.707bf1b6.js";import{T as L}from"../chunks/Tip.c2ecdbf4.js";import{H as O,E as R}from"../chunks/EditOnGithub.922df6ba.js";function U(_){let e,p=`The Agents framework has significantly changed in version v4.41.0.
This document has been removed as it was referencing an older API.`,m,o,i="We eagerly welcome new contributions for the updated API.";return{c(){e=d("p"),e.textContent=p,m=f(),o=d("p"),o.textContent=i},l(s){e=h(s,"P",{"data-svelte-h":!0}),S(e)!=="svelte-1b7j94t"&&(e.textContent=p),m=u(s),o=h(s,"P",{"data-svelte-h":!0}),S(o)!=="svelte-12npdc1"&&(o.textContent=i)},m(s,r){l(s,e,r),l(s,m,r),l(s,o,r)},p:I,d(s){s&&(a(e),a(m),a(o))}}}function W(_){let e,p,m,o,i,s,r,g,c,w,$,P;return i=new O({props:{title:"Custom Tools and Prompts",local:"custom-tools-and-prompts",headingTag:"h1"}}),r=new L({props:{warning:!0,$$slots:{default:[U]},$$scope:{ctx:_}}}),c=new R({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/ja/custom_tools.md"}}),{c(){e=d("meta"),p=f(),m=d("p"),o=f(),v(i.$$.fragment),s=f(),v(r.$$.fragment),g=f(),v(c.$$.fragment),w=f(),$=d("p"),this.h()},l(t){const n=z("svelte-u9bgzb",document.head);e=h(n,"META",{name:!0,content:!0}),n.forEach(a),p=u(t),m=h(t,"P",{}),A(m).forEach(a),o=u(t),b(i.$$.fragment,t),s=u(t),b(r.$$.fragment,t),g=u(t),b(c.$$.fragment,t),w=u(t),$=h(t,"P",{}),A($).forEach(a),this.h()},h(){j(e,"name","hf:doc:metadata"),j(e,"content",B)},m(t,n){G(document.head,e),l(t,p,n),l(t,m,n),l(t,o,n),x(i,t,n),l(t,s,n),x(r,t,n),l(t,g,n),x(c,t,n),l(t,w,n),l(t,$,n),P=!0},p(t,[n]){const y={};n&2&&(y.$$scope={dirty:n,ctx:t}),r.$set(y)},i(t){P||(C(i.$$.fragment,t),C(r.$$.fragment,t),C(c.$$.fragment,t),P=!0)},o(t){T(i.$$.fragment,t),T(r.$$.fragment,t),T(c.$$.fragment,t),P=!1},d(t){t&&(a(p),a(m),a(o),a(s),a(g),a(w),a($)),a(e),E(i,t),E(r,t),E(c,t)}}}const B='{"title":"Custom Tools and Prompts","local":"custom-tools-and-prompts","sections":[],"depth":1}';function D(_){return H(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Q extends M{constructor(e){super(),q(this,e,D,W,k,{})}}export{Q as component};
