@victor-software-house/pi-openai-proxy 4.0.0 → 4.0.2

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.
@@ -89,14 +89,6 @@ export default function proxyExtension(pi: ExtensionAPI): void {
89
89
  return registry.getAll();
90
90
  }
91
91
 
92
- function getUniqueProviders(models: readonly Model<Api>[]): string[] {
93
- const seen = new Set<string>();
94
- for (const m of models) {
95
- seen.add(m.provider);
96
- }
97
- return [...seen].sort();
98
- }
99
-
100
92
  function buildExposureConfig(): ModelExposureConfig {
101
93
  return {
102
94
  publicModelIdMode: config.publicModelIdMode,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@victor-software-house/pi-openai-proxy",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "description": "OpenAI-compatible HTTP proxy for pi's multi-provider model registry",
5
5
  "license": "MIT",
6
6
  "author": "Victor Software House",
@@ -78,17 +78,18 @@
78
78
  "@commitlint/cli": "^20.5.0",
79
79
  "@commitlint/config-conventional": "^20.5.0",
80
80
  "@limegrass/eslint-plugin-import-alias": "^1.6.1",
81
+ "@semantic-release/changelog": "^6.0.3",
82
+ "@semantic-release/git": "^10.0.1",
83
+ "@semantic-release/github": "^12.0.6",
84
+ "@semantic-release/npm": "^13.1.5",
81
85
  "@types/bun": "^1.3.11",
82
86
  "@types/node": "^25.5.0",
83
87
  "eslint-plugin-zod": "^3.5.0",
84
88
  "lefthook": "^2.1.4",
89
+ "openai": "^6.26.0",
85
90
  "oxlint": "^1.56.0",
86
91
  "oxlint-tsgolint": "^0.17.1",
87
92
  "semantic-release": "^25.0.3",
88
- "@semantic-release/changelog": "^6.0.3",
89
- "@semantic-release/git": "^10.0.1",
90
- "@semantic-release/github": "^12.0.6",
91
- "@semantic-release/npm": "^13.1.5",
92
93
  "tsdown": "^0.21.4",
93
94
  "typescript": "^5.9.3"
94
95
  }