"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConfigAgent = void 0;
const base_1 = require("../base/base");
class ConfigAgent extends base_1.BaseAgent {
    config;
    name;
    description;
    constructor(config, context) {
        super(context);
        this.config = config;
        this.name = config.name;
        this.setModelPreferences([
            { model: config.model, provider: config.provider },
        ]);
    }
    async getInitialMessages(userInput) {
        return [
            { role: "system", content: this.config.instructions },
            { role: "user", content: userInput },
        ];
    }
}
exports.ConfigAgent = ConfigAgent;
//# sourceMappingURL=ConfigAgent.js.map