@oh-my-pi/pi-ai 5.6.77 → 5.7.67

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/package.json +1 -1
  2. package/src/cli.ts +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-ai",
3
- "version": "5.6.77",
3
+ "version": "5.7.67",
4
4
  "description": "Unified LLM API with automatic model discovery and provider configuration",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
package/src/cli.ts CHANGED
@@ -98,6 +98,9 @@ async function login(provider: OAuthProvider): Promise<void> {
98
98
  onProgress: (msg) => console.log(msg),
99
99
  });
100
100
  break;
101
+
102
+ default:
103
+ throw new Error(`Unknown provider: ${provider}`);
101
104
  }
102
105
 
103
106
  const auth = loadAuth();