donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
16 lines • 664 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GptModelNotFoundException = void 0;
const DonobuException_1 = require("./DonobuException");
/**
* Thrown when attempting to use a GPT model that doesn't exist for a given platform.
*/
class GptModelNotFoundException extends DonobuException_1.DonobuException {
constructor(platform, gptModel) {
super(`The model '${gptModel}' was not found for the platform '${platform}'`);
this.platform = platform;
this.gptModel = gptModel;
}
}
exports.GptModelNotFoundException = GptModelNotFoundException;
//# sourceMappingURL=GptModelNotFoundException.js.map