export LLMConfig type
This commit is contained in:
parent
00f1218efb
commit
87f94b3233
3 changed files with 3 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -101,3 +101,4 @@ export {
|
|||
|
||||
// export
|
||||
export type { BaseLlmApi } from "./apis/base.js";
|
||||
export type { LLMConfig } from "./types.js";
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue