objectiveai 1.1.4 → 1.1.6

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/dist/index.d.ts +3 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -170,6 +170,7 @@ export declare namespace Chat {
170
170
  }
171
171
  interface InputVideo {
172
172
  video_url: InputVideo.Definition;
173
+ type: "video_url";
173
174
  }
174
175
  namespace InputVideo {
175
176
  interface Definition {
@@ -228,7 +229,7 @@ export declare namespace Chat {
228
229
  }
229
230
  interface Tool {
230
231
  role: "tool";
231
- content?: RichContent | null;
232
+ content: RichContent;
232
233
  tool_call_id: string;
233
234
  }
234
235
  interface ChatCompletion {
@@ -575,7 +576,7 @@ export declare namespace Score {
575
576
  model: string;
576
577
  object: "chat.completion";
577
578
  usage?: Chat.Completions.Response.Usage;
578
- weight_data?: WeightData | null;
579
+ weight_data: WeightData | null;
579
580
  }
580
581
  interface Choice {
581
582
  message: Message;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "objectiveai",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "SDK for the ObjectiveAI API.",
5
5
  "main": "dist/index.js",
6
6
  "repository": {