@inference-gateway/sdk 0.5.0 → 0.5.1-rc.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.5.1-rc.1](https://github.com/inference-gateway/typescript-sdk/compare/v0.5.0...v0.5.1-rc.1) (2025-04-27)
6
+
7
+ ### 🐛 Bug Fixes
8
+
9
+ * Update FunctionParameters schema to enforce required properties and adjust ListModelsResponse structure ([465c762](https://github.com/inference-gateway/typescript-sdk/commit/465c762f7494435183a2f88cb262d423bb21a1e3))
10
+
11
+ ### 📚 Documentation
12
+
13
+ * Add required fields to Model schema and clean up application settings ([7338c28](https://github.com/inference-gateway/typescript-sdk/commit/7338c28c0b8dd67f2c0faefc758cc3344de5c9d6))
14
+
15
+ ### 🔧 Miscellaneous
16
+
17
+ * **tests:** Format test ([9f121a7](https://github.com/inference-gateway/typescript-sdk/commit/9f121a742d33cd9fa2776dc5fdc5f229f898ccd0))
18
+
5
19
  ## [0.5.0](https://github.com/inference-gateway/typescript-sdk/compare/v0.4.1...v0.5.0) (2025-04-26)
6
20
 
7
21
  ### ✨ Features
@@ -212,7 +212,7 @@ export interface components {
212
212
  /** @description Response structure for listing models */
213
213
  ListModelsResponse: {
214
214
  provider?: components['schemas']['Provider'];
215
- object?: string;
215
+ object: string;
216
216
  /** @default [] */
217
217
  data: components['schemas']['Model'][];
218
218
  };
@@ -235,12 +235,7 @@ export interface components {
235
235
  /** @description The parameters the functions accepts, described as a JSON Schema object. See the [guide](/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
236
236
  * Omitting `parameters` defines a function with an empty parameter list. */
237
237
  FunctionParameters: {
238
- /** @description The type of the parameters. Currently, only `object` is supported. */
239
- type?: string;
240
- /** @description The properties of the parameters. */
241
- properties?: Record<string, never>;
242
- /** @description The required properties of the parameters. */
243
- required?: string[];
238
+ [key: string]: unknown;
244
239
  };
245
240
  /**
246
241
  * @description The type of the tool. Currently, only `function` is supported.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inference-gateway/sdk",
3
- "version": "0.5.0",
3
+ "version": "0.5.1-rc.1",
4
4
  "description": "An SDK written in Typescript for the [Inference Gateway](https://github.com/inference-gateway/inference-gateway).",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",