@autobe/agent
Version:
AI backend server code generator
15 lines • 744 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.assertSchemaModel = assertSchemaModel;
function assertSchemaModel(model) {
if (model === "gemini")
throw new Error([
"Error on AutoBeAgent.constructor(): gemini is not supported",
"because it does not follow standard JSON schema specification.",
"@autobe requires union type (`oneOf` or `anyOf`) for backend code generation,",
"but gemini has banned them. Please wait until when `@agentica`",
"supports prompt based function calling which can detour gemini's",
"restriction of JSON schema specification.",
].join(" "));
}
//# sourceMappingURL=assertSchemaModel.js.map