promptimizer 0.1.45 → 0.1.47

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.
package/dist/index.cjs CHANGED
@@ -323,8 +323,7 @@ var PROVIDERS = [
323
323
  { id: "nvidia", label: "NVIDIA NIM", baseURL: "https://integrate.api.nvidia.com/v1", env: "NVIDIA_API_KEY", hint: "nvapi-..." },
324
324
  { id: "sambanova", label: "SambaNova", baseURL: "https://api.sambanova.ai/v1", env: "SAMBANOVA_API_KEY", hint: "samba key" },
325
325
  { id: "hyperbolic", label: "Hyperbolic", baseURL: "https://api.hyperbolic.xyz/v1", env: "HYPERBOLIC_API_KEY", hint: "hyperbolic key" },
326
- { id: "moonshot", label: "Moonshot", baseURL: "https://api.moonshot.ai/v1", env: "MOONSHOT_API_KEY", hint: "sk-..." },
327
- { id: "ollama", label: "Ollama", baseURL: "http://localhost:11434/v1", env: "OLLAMA_API_KEY", hint: "optional" }
326
+ { id: "moonshot", label: "Moonshot", baseURL: "https://api.moonshot.ai/v1", env: "MOONSHOT_API_KEY", hint: "sk-..." }
328
327
  ];
329
328
  function findProvider(input) {
330
329
  const needle = input.trim().toLowerCase();
package/dist/index.js CHANGED
@@ -288,8 +288,7 @@ var PROVIDERS = [
288
288
  { id: "nvidia", label: "NVIDIA NIM", baseURL: "https://integrate.api.nvidia.com/v1", env: "NVIDIA_API_KEY", hint: "nvapi-..." },
289
289
  { id: "sambanova", label: "SambaNova", baseURL: "https://api.sambanova.ai/v1", env: "SAMBANOVA_API_KEY", hint: "samba key" },
290
290
  { id: "hyperbolic", label: "Hyperbolic", baseURL: "https://api.hyperbolic.xyz/v1", env: "HYPERBOLIC_API_KEY", hint: "hyperbolic key" },
291
- { id: "moonshot", label: "Moonshot", baseURL: "https://api.moonshot.ai/v1", env: "MOONSHOT_API_KEY", hint: "sk-..." },
292
- { id: "ollama", label: "Ollama", baseURL: "http://localhost:11434/v1", env: "OLLAMA_API_KEY", hint: "optional" }
291
+ { id: "moonshot", label: "Moonshot", baseURL: "https://api.moonshot.ai/v1", env: "MOONSHOT_API_KEY", hint: "sk-..." }
293
292
  ];
294
293
  function findProvider(input) {
295
294
  const needle = input.trim().toLowerCase();
@@ -42,8 +42,7 @@ var PROVIDERS = [
42
42
  { id: "nvidia", label: "NVIDIA NIM", baseURL: "https://integrate.api.nvidia.com/v1", env: "NVIDIA_API_KEY", hint: "nvapi-..." },
43
43
  { id: "sambanova", label: "SambaNova", baseURL: "https://api.sambanova.ai/v1", env: "SAMBANOVA_API_KEY", hint: "samba key" },
44
44
  { id: "hyperbolic", label: "Hyperbolic", baseURL: "https://api.hyperbolic.xyz/v1", env: "HYPERBOLIC_API_KEY", hint: "hyperbolic key" },
45
- { id: "moonshot", label: "Moonshot", baseURL: "https://api.moonshot.ai/v1", env: "MOONSHOT_API_KEY", hint: "sk-..." },
46
- { id: "ollama", label: "Ollama", baseURL: "http://localhost:11434/v1", env: "OLLAMA_API_KEY", hint: "optional" }
45
+ { id: "moonshot", label: "Moonshot", baseURL: "https://api.moonshot.ai/v1", env: "MOONSHOT_API_KEY", hint: "sk-..." }
47
46
  ];
48
47
  function findProvider(input) {
49
48
  const needle = input.trim().toLowerCase();
package/dist/providers.js CHANGED
@@ -15,8 +15,7 @@ var PROVIDERS = [
15
15
  { id: "nvidia", label: "NVIDIA NIM", baseURL: "https://integrate.api.nvidia.com/v1", env: "NVIDIA_API_KEY", hint: "nvapi-..." },
16
16
  { id: "sambanova", label: "SambaNova", baseURL: "https://api.sambanova.ai/v1", env: "SAMBANOVA_API_KEY", hint: "samba key" },
17
17
  { id: "hyperbolic", label: "Hyperbolic", baseURL: "https://api.hyperbolic.xyz/v1", env: "HYPERBOLIC_API_KEY", hint: "hyperbolic key" },
18
- { id: "moonshot", label: "Moonshot", baseURL: "https://api.moonshot.ai/v1", env: "MOONSHOT_API_KEY", hint: "sk-..." },
19
- { id: "ollama", label: "Ollama", baseURL: "http://localhost:11434/v1", env: "OLLAMA_API_KEY", hint: "optional" }
18
+ { id: "moonshot", label: "Moonshot", baseURL: "https://api.moonshot.ai/v1", env: "MOONSHOT_API_KEY", hint: "sk-..." }
20
19
  ];
21
20
  function findProvider(input) {
22
21
  const needle = input.trim().toLowerCase();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptimizer",
3
- "version": "0.1.45",
3
+ "version": "0.1.47",
4
4
  "description": "OpenAI-compatible SDK for Promptimizer — BYOK model routing, classification, and prompt caching.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",