import { ChatGoogleBase, } from "@langchain/google-common";
import { GAuthClient } from "./auth.js";
/**
 * Integration with a Google chat model.
 */
export class ChatGoogle extends ChatGoogleBase {
    // Used for tracing, replace with the same name as your class
    static lc_name() {
        return "ChatGoogle";
    }
    constructor(fields) {
        super(fields);
    }
    buildAbstractedClient(fields) {
        return new GAuthClient(fields);
    }
}
