UNPKG

@burncloud/inference

Version:

Typescript client for the Hugging Face Inference Providers and Inference Endpoints

19 lines (18 loc) 711 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BurncloudConversationalTask = void 0; /** * Special case: provider configuration for a private models provider (Burncloud in this case). */ const providerHelper_js_1 = require("./providerHelper.js"); const BURNCLOUD_API_BASE_URL = "https://ai.burncloud.com/v1"; class BurncloudConversationalTask extends providerHelper_js_1.BaseConversationalTask { constructor() { // Pass clientSideRoutingOnly: true to the constructor super("burncloud", BURNCLOUD_API_BASE_URL, true); } makeRoute() { return "chat/completions"; } } exports.BurncloudConversationalTask = BurncloudConversationalTask;