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