diff --git a/package.json b/package.json index 5d64143..4d14886 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "routstrd", - "version": "0.4.2", + "version": "0.4.3", "module": "src/index.ts", "type": "module", "private": false, diff --git a/src/integrations/pi.ts b/src/integrations/pi.ts index 314b524..2eaf36c 100644 --- a/src/integrations/pi.ts +++ b/src/integrations/pi.ts @@ -10,7 +10,6 @@ type PiModelEntry = { contextWindow?: number; name?: string; input?: string[]; - maxTokens?: number; // Preserve arbitrary manual fields (reasoning, thinkingLevelMap, compat, cost, etc.) [key: string]: unknown; }; @@ -98,13 +97,6 @@ export async function installPiIntegration( if (mods.includes("image")) input.push("image"); entry.input = input; - const maxTokens = model.top_provider?.max_completion_tokens; - if (maxTokens !== undefined && maxTokens !== null && maxTokens > 0) { - entry.maxTokens = maxTokens; - } else { - delete entry.maxTokens; - } - return entry; });