Plugins: fix pnpm check regressions

This commit is contained in:
Gustavo Madeira Santana
2026-03-17 23:25:40 +00:00
parent f118191182
commit ffe24955c8
17 changed files with 13 additions and 77 deletions

View File

@@ -43,6 +43,7 @@ function buildForwardCompatTemplate(params: {
provider: string;
api: "anthropic-messages" | "google-gemini-cli" | "openai-completions" | "openai-responses";
baseUrl: string;
reasoning?: boolean;
input?: readonly ["text"] | readonly ["text", "image"];
cost?: { input: number; output: number; cacheRead: number; cacheWrite: number };
contextWindow?: number;
@@ -54,7 +55,7 @@ function buildForwardCompatTemplate(params: {
provider: params.provider,
api: params.api,
baseUrl: params.baseUrl,
reasoning: true,
reasoning: params.reasoning ?? true,
input: params.input ?? (["text", "image"] as const),
cost: params.cost ?? { input: 5, output: 25, cacheRead: 0.5, cacheWrite: 6.25 },
contextWindow: params.contextWindow ?? 200000,