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 p,r as b,A as z,h,f as s,c as u,j as A,u as x,k as j,y as G,a as l,v as P,d as C,t as E,w as T,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,c=`The Agents framework has significantly changed in version v4.41.0.
This document has been removed as it was referencing an older API.`,i,o,m="We eagerly welcome new contributions for the updated API.";return{c(){e=d("p"),e.textContent=c,i=p(),o=d("p"),o.textContent=m},l(a){e=h(a,"P",{"data-svelte-h":!0}),S(e)!=="svelte-1b7j94t"&&(e.textContent=c),i=u(a),o=h(a,"P",{"data-svelte-h":!0}),S(o)!=="svelte-12npdc1"&&(o.textContent=m)},m(a,r){l(a,e,r),l(a,i,r),l(a,o,r)},p:I,d(a){a&&(s(e),s(i),s(o))}}}function W(_){let e,c,i,o,m,a,r,g,f,w,$,v;return m=new O({props:{title:"エージェントとツール",local:"エージェントとツール",headingTag:"h1"}}),r=new L({props:{warning:!0,$$slots:{default:[U]},$$scope:{ctx:_}}}),f=new R({props:{source:"https://github.com/huggingface/transformers/blob/main/docs/source/ja/main_classes/agent.md"}}),{c(){e=d("meta"),c=p(),i=d("p"),o=p(),b(m.$$.fragment),a=p(),b(r.$$.fragment),g=p(),b(f.$$.fragment),w=p(),$=d("p"),this.h()},l(t){const n=z("svelte-u9bgzb",document.head);e=h(n,"META",{name:!0,content:!0}),n.forEach(s),c=u(t),i=h(t,"P",{}),A(i).forEach(s),o=u(t),x(m.$$.fragment,t),a=u(t),x(r.$$.fragment,t),g=u(t),x(f.$$.fragment,t),w=u(t),$=h(t,"P",{}),A($).forEach(s),this.h()},h(){j(e,"name","hf:doc:metadata"),j(e,"content",B)},m(t,n){G(document.head,e),l(t,c,n),l(t,i,n),l(t,o,n),P(m,t,n),l(t,a,n),P(r,t,n),l(t,g,n),P(f,t,n),l(t,w,n),l(t,$,n),v=!0},p(t,[n]){const y={};n&2&&(y.$$scope={dirty:n,ctx:t}),r.$set(y)},i(t){v||(C(m.$$.fragment,t),C(r.$$.fragment,t),C(f.$$.fragment,t),v=!0)},o(t){E(m.$$.fragment,t),E(r.$$.fragment,t),E(f.$$.fragment,t),v=!1},d(t){t&&(s(c),s(i),s(o),s(a),s(g),s(w),s($)),s(e),T(m,t),T(r,t),T(f,t)}}}const B='{"title":"エージェントとツール","local":"エージェントとツール","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};
