opencode-aicodewith-auth 0.1.32 → 0.1.33
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.js +10 -0
- package/dist/provider.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1676,6 +1676,16 @@ var provider_config_default = {
|
|
|
1676
1676
|
limit: { context: 200000, output: 64000 },
|
|
1677
1677
|
modalities: { input: ["text", "image"], output: ["text"] }
|
|
1678
1678
|
},
|
|
1679
|
+
"claude-haiku-4-5-20251001": {
|
|
1680
|
+
name: "Claude Haiku 4.5",
|
|
1681
|
+
limit: { context: 200000, output: 8192 },
|
|
1682
|
+
modalities: { input: ["text", "image"], output: ["text"] }
|
|
1683
|
+
},
|
|
1684
|
+
"claude-haiku-4-5-20251001-third-party": {
|
|
1685
|
+
name: "Claude Haiku 4.5 (third party)",
|
|
1686
|
+
limit: { context: 200000, output: 8192 },
|
|
1687
|
+
modalities: { input: ["text", "image"], output: ["text"] }
|
|
1688
|
+
},
|
|
1679
1689
|
"gemini-3-pro": {
|
|
1680
1690
|
name: "Gemini 3 Pro",
|
|
1681
1691
|
limit: { context: 1048576, output: 65536 },
|
package/dist/provider.js
CHANGED
|
@@ -23,7 +23,7 @@ function createAicodewith(options = {}) {
|
|
|
23
23
|
fetch: options.fetch
|
|
24
24
|
});
|
|
25
25
|
const google = createGoogleGenerativeAI({
|
|
26
|
-
apiKey: options.google?.apiKey ?? options.apiKey,
|
|
26
|
+
apiKey: options.google?.apiKey ?? options.apiKey ?? "placeholder-key-replaced-by-fetch-hook",
|
|
27
27
|
baseURL: options.google?.baseURL,
|
|
28
28
|
headers: options.google?.headers ?? options.headers,
|
|
29
29
|
fetch: options.fetch
|
package/package.json
CHANGED