node-ejs-renderer/node_modules/openai/_shims/index.js

14 lines
390 B
JavaScript
Raw Normal View History

2024-06-09 13:55:01 -04:00
/**
* Disclaimer: modules in _shims aren't intended to be imported by SDK users.
*/
const shims = require('./registry');
const auto = require('openai/_shims/auto/runtime');
if (!shims.kind) shims.setShims(auto.getRuntime(), { auto: true });
for (const property of Object.keys(shims)) {
Object.defineProperty(exports, property, {
get() {
return shims[property];
},
});
}