@billjr99/pi-openai-compat 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.ts +0 -44
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -80,86 +80,42 @@ const TEMPLATES: Record<string, {
80
80
  displayName: "Google Gemini",
81
81
  baseUrl: "https://generativelanguage.googleapis.com/v1beta/openai",
82
82
  keyless: false,
83
- modelFilter: [
84
- "gemini-2.5-flash",
85
- "gemini-2.5-flash-lite",
86
- "gemini-3-flash-preview",
87
- "gemini-3.1-flash-lite-preview",
88
- "gemini-3.1-pro-preview",
89
- ],
90
83
  },
91
84
  cerebras: {
92
85
  displayName: "Cerebras",
93
86
  baseUrl: "https://api.cerebras.ai/v1",
94
87
  keyless: false,
95
- modelFilter: ["qwen3-235b"],
96
88
  },
97
89
  github_models: {
98
90
  displayName: "GitHub Models",
99
91
  baseUrl: "https://models.inference.ai.azure.com",
100
92
  keyless: false,
101
- modelFilter: ["gpt-4o", "openai/gpt-4.1"],
102
93
  },
103
94
  sambanova: {
104
95
  displayName: "SambaNova",
105
96
  baseUrl: "https://api.sambanova.ai/v1",
106
97
  keyless: false,
107
- modelFilter: [
108
- "Meta-Llama-3.3-70B-Instruct",
109
- "DeepSeek-V3.1",
110
- "DeepSeek-V3.2",
111
- "gpt-oss-120b",
112
- "Llama-4-Maverick-17B-128E-Instruct",
113
- "gemma-3-12b-it",
114
- ],
115
98
  },
116
99
  mistral: {
117
100
  displayName: "Mistral",
118
101
  baseUrl: "https://api.mistral.ai/v1",
119
102
  keyless: false,
120
- modelFilter: [
121
- "mistral-large-latest",
122
- "mistral-medium-latest",
123
- "magistral-medium-latest",
124
- "codestral-latest",
125
- "devstral-latest",
126
- ],
127
103
  },
128
104
  groq: {
129
105
  displayName: "Groq",
130
106
  baseUrl: "https://api.groq.com/openai/v1",
131
107
  keyless: false,
132
- modelFilter: [
133
- "llama-3.3-70b-versatile",
134
- "meta-llama/llama-4-scout-17b-16e-instruct",
135
- "openai/gpt-oss-120b",
136
- "openai/gpt-oss-20b",
137
- "qwen/qwen3-32b",
138
- "llama-3.1-8b-instant",
139
- ],
140
108
  },
141
109
  cloudflare: {
142
110
  displayName: "Cloudflare Workers AI",
143
111
  baseUrl: "https://api.cloudflare.com/client/v4/accounts/YOUR_ACCOUNT_ID/ai/v1",
144
112
  keyless: false,
145
113
  promptUrl: true,
146
- modelFilter: [
147
- "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
148
- "@cf/meta/llama-4-scout-17b-16e-instruct",
149
- "@cf/openai/gpt-oss-120b",
150
- "@cf/zai-org/glm-4.7-flash",
151
- "@cf/moonshotai/kimi-k2.5",
152
- "@cf/moonshotai/kimi-k2.6",
153
- "@cf/qwen/qwen3-30b-a3b-fp8",
154
- "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b",
155
- "@cf/ibm-granite/granite-4.0-h-micro",
156
- ],
157
114
  },
158
115
  zhipu: {
159
116
  displayName: "Zhipu (Z.ai / BigModel)",
160
117
  baseUrl: "https://open.bigmodel.cn/api/paas/v4",
161
118
  keyless: false,
162
- modelFilter: ["glm-4.5-flash", "glm-4.7-flash"],
163
119
  },
164
120
  cohere: {
165
121
  displayName: "Cohere",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@billjr99/pi-openai-compat",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "pi-coding-agent extension: OpenAI-compatible endpoint support (OpenRouter, NVIDIA NIM, Nous Portal, Ollama, custom)",
5
5
  "author": "Bill Mongan <https://github.com/BillJr99>",
6
6
  "license": "MIT",