@opencode-ai/ai 0.0.0-dev-17669 → 0.0.0-dev-17675

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.
@@ -13,6 +13,7 @@ export interface Settings extends ProviderPackage.Settings {
13
13
  readonly apiKey?: string;
14
14
  readonly baseURL: string;
15
15
  readonly provider?: string;
16
+ readonly providerOptions?: OpenAIProviderOptionsInput;
16
17
  }
17
18
  export type FamilyModelOptions = Omit<RouteDefaultsInput, "providerOptions"> & ProviderAuthOption<"optional"> & {
18
19
  readonly baseURL?: string;
@@ -45,6 +45,7 @@ export const model = (modelID, settings) => configure({
45
45
  http: settings.body === undefined ? undefined : { body: { ...settings.body } },
46
46
  limits: settings.limits,
47
47
  provider: settings.provider,
48
+ providerOptions: settings.providerOptions,
48
49
  }).model(modelID);
49
50
  export const baseten = define(profiles.baseten);
50
51
  export const cerebras = define(profiles.cerebras);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "0.0.0-dev-17669",
3
+ "version": "0.0.0-dev-17675",
4
4
  "name": "@opencode-ai/ai",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -30,7 +30,7 @@
30
30
  "devDependencies": {
31
31
  "@clack/prompts": "1.0.0-alpha.1",
32
32
  "@effect/platform-node": "4.0.0-beta.107",
33
- "@opencode-ai/http-recorder": "0.0.0-dev-17669",
33
+ "@opencode-ai/http-recorder": "0.0.0-dev-17675",
34
34
  "@tsconfig/bun": "1.0.9",
35
35
  "@types/bun": "1.3.13",
36
36
  "@typescript/native-preview": "7.0.0-dev.20251207.1",
@@ -39,7 +39,7 @@
39
39
  "dependencies": {
40
40
  "@smithy/eventstream-codec": "4.2.14",
41
41
  "@smithy/util-utf8": "4.2.2",
42
- "@opencode-ai/schema": "0.0.0-dev-17669",
42
+ "@opencode-ai/schema": "0.0.0-dev-17675",
43
43
  "aws4fetch": "1.0.20",
44
44
  "effect": "4.0.0-beta.107",
45
45
  "google-auth-library": "10.5.0"