export LLMConfig type

This commit is contained in:
Nate 2024-12-31 19:05:48 -05:00
parent 00f1218efb
commit 87f94b3233
3 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@continuedev/openai-adapters",
"version": "1.0.10",
"version": "1.0.12",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View file

@ -101,3 +101,4 @@ export {
// export
export type { BaseLlmApi } from "./apis/base.js";
export type { LLMConfig } from "./types.js";

View file

@ -53,6 +53,7 @@ export const OpenAIConfigSchema = BasePlusConfig.extend({
z.literal("text-gen-webui"),
z.literal("vllm"),
z.literal("x-ai"),
z.literal("scaleway"),
]),
});
export type OpenAIConfig = z.infer<typeof OpenAIConfigSchema>;