index.mjs 321 B

1234567891011
  1. /**
  2. * Disclaimer: modules in _shims aren't intended to be imported by SDK users.
  3. */
  4. import * as shims from './registry.mjs';
  5. import * as auto from 'openai/_shims/auto/runtime';
  6. export const init = () => {
  7. if (!shims.kind) shims.setShims(auto.getRuntime(), { auto: true });
  8. };
  9. export * from './registry.mjs';
  10. init();