Update code
This commit is contained in:
17
dev-assistant-mcp/node_modules/openai/_shims/index.js
generated
vendored
Normal file
17
dev-assistant-mcp/node_modules/openai/_shims/index.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Disclaimer: modules in _shims aren't intended to be imported by SDK users.
|
||||
*/
|
||||
const shims = require('./registry');
|
||||
const auto = require('openai/_shims/auto/runtime');
|
||||
exports.init = () => {
|
||||
if (!shims.kind) shims.setShims(auto.getRuntime(), { auto: true });
|
||||
};
|
||||
for (const property of Object.keys(shims)) {
|
||||
Object.defineProperty(exports, property, {
|
||||
get() {
|
||||
return shims[property];
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
exports.init();
|
||||
Reference in New Issue
Block a user