import OpenAI from "./OpenAI.js";
class Groq extends OpenAI {
    static providerName = "groq";
    static defaultOptions = {
        apiBase: "https://api.groq.com/openai/v1/",
    };
    maxStopWords = 4;
    static modelConversion = {
        "llama2-70b": "llama2-70b-4096",
        "mistral-8x7b": "mixtral-8x7b-32768",
        gemma: "gemma-7b-it",
        "llama3-8b": "llama3-8b-8192",
        "llama3-70b": "llama3-70b-8192",
    };
    _convertModelName(model) {
        return Groq.modelConversion[model] ?? model;
    }
}
export default Groq;
