import{c,u as m}from"./index-oE_2MbI2.js";import{e as u}from"./use-collections-BV71cmYk.js";import{b as a}from"./use-connection-7qXdMybp.js";import{h as p}from"./constants-uA8MqaDa.js";import{a as C}from"./use-binding-CD2rnHew.js";function b(n,s){const o=c.c(5);let e;o[0]!==s?(e=s===void 0?{}:s,o[0]=s,o[1]=e):e=o[1];const r=e,{org:i}=m();let t;o[2]!==n||o[3]!==i.id?(t={connectionId:n,orgId:i.id},o[2]=n,o[3]=i.id,o[4]=t):t=o[4];const l=p(t);return u(n??"no-connection","LLM",l,r)}function y(){const n=c.c(2),s=a();let o;return n[0]!==s?(o={connections:s,binding:"LLMS"},n[0]=s,n[1]=o):o=n[1],C(o)}export{b as a,y as u};
