UNPKG

@restnfeel/agentc-starter-kit

Version:

한국어 기업용 CMS 모듈 - Task Master AI와 함께 빠르게 웹사이트를 구현할 수 있는 재사용 가능한 컴포넌트 시스템

37 lines (34 loc) 1.14 kB
import { APIResource } from '../resource.js'; import { Page } from '../pagination.js'; // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. class Models extends APIResource { /** * Retrieves a model instance, providing basic information about the model such as * the owner and permissioning. */ retrieve(model, options) { return this._client.get(`/models/${model}`, options); } /** * Lists the currently available models, and provides basic information about each * one such as the owner and availability. */ list(options) { return this._client.getAPIList('/models', ModelsPage, options); } /** * Delete a fine-tuned model. You must have the Owner role in your organization to * delete a model. */ del(model, options) { return this._client.delete(`/models/${model}`, options); } } /** * Note: no pagination actually occurs yet, this is for forwards-compatibility. */ class ModelsPage extends Page { } Models.ModelsPage = ModelsPage; export { Models, ModelsPage }; //# sourceMappingURL=models.js.map