fix: skip API key validation for free opencode models

free models (big-pickle, gpt-5-nano, etc.) define envVars: [] and
isFree: true but validateAgentApiKey always required at least one
provider key. now the validation is model-aware: free models bypass
the check, keyed models validate their specific vars, and auto-select
still requires at least one known key.

closes #483

Made-with: Cursor
This commit is contained in:
Colin McDonnell
2026-03-16 20:48:59 +00:00
committed by pullfrog[bot]
parent 8a734c32f4
commit 30d68e53a7
6 changed files with 128 additions and 10 deletions
+1 -1
View File
@@ -41284,7 +41284,7 @@ var core3 = __toESM(require_core(), 1);
// package.json
var package_default = {
name: "@pullfrog/pullfrog",
version: "0.0.180",
version: "0.0.181",
type: "module",
files: [
"index.js",