@autobe/agent
Version:
AI backend server code generator
12 lines • 543 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.assertSchemaModel = assertSchemaModel;
function assertSchemaModel(model) {
if (model === "3.0")
throw new Error([
"Error on AutoBeAgent.constructor(): schema version 3.0 is not supported",
"due to limitations in the JSON schema specification for function calling.",
"Please use a different model that supports modern JSON schema features.",
].join(" "));
}
//# sourceMappingURL=assertSchemaModel.js.map