@memori.ai/memori-api-client 6.9.2 → 6.10.0

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
@@ -1,5 +1,12 @@
1
1
 
2
2
 
3
+ ## [6.10.0](https://github.com/memori-ai/memori-api-client/compare/v6.9.2...v6.10.0) (2025-07-31)
4
+
5
+
6
+ ### Features
7
+
8
+ * extend CompletionConfig with new model options and additional properties ([5531209](https://github.com/memori-ai/memori-api-client/commit/55312091cbbec9fb0dd36e5e67dda1a651a71ab4))
9
+
3
10
  ## [6.9.2](https://github.com/memori-ai/memori-api-client/compare/v6.9.1...v6.9.2) (2025-07-30)
4
11
 
5
12
 
package/dist/types.d.ts CHANGED
@@ -103,7 +103,10 @@ export declare type CompletionConfig = {
103
103
  completionConfigID: string;
104
104
  configName: string;
105
105
  description?: string;
106
- provider: 'OpenAI' | 'Anthropic' | 'Mistral' | 'Azure_OpenAI' | 'AWS_Anthropic' | 'Vertex_Anthropic';
106
+ provider: 'OpenAI' | 'Anthropic' | 'Mistral' | 'Azure_OpenAI' | 'AWS_Anthropic' | 'Vertex_Anthropic' | 'Custom_OpenAI';
107
+ modelName?: string;
108
+ contextSize?: number;
109
+ timeout?: number;
107
110
  endPoint?: string;
108
111
  apiKey?: string;
109
112
  model: string;
package/esm/types.d.ts CHANGED
@@ -103,7 +103,10 @@ export declare type CompletionConfig = {
103
103
  completionConfigID: string;
104
104
  configName: string;
105
105
  description?: string;
106
- provider: 'OpenAI' | 'Anthropic' | 'Mistral' | 'Azure_OpenAI' | 'AWS_Anthropic' | 'Vertex_Anthropic';
106
+ provider: 'OpenAI' | 'Anthropic' | 'Mistral' | 'Azure_OpenAI' | 'AWS_Anthropic' | 'Vertex_Anthropic' | 'Custom_OpenAI';
107
+ modelName?: string;
108
+ contextSize?: number;
109
+ timeout?: number;
107
110
  endPoint?: string;
108
111
  apiKey?: string;
109
112
  model: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.9.2",
2
+ "version": "6.10.0",
3
3
  "name": "@memori.ai/memori-api-client",
4
4
  "description": "React library to integrate a Memori in your app or website",
5
5
  "license": "Apache-2.0",
package/src/types.ts CHANGED
@@ -155,7 +155,24 @@ export declare type CompletionConfig = {
155
155
  | 'Mistral'
156
156
  | 'Azure_OpenAI'
157
157
  | 'AWS_Anthropic'
158
- | 'Vertex_Anthropic';
158
+ | 'Vertex_Anthropic'
159
+ | 'Custom_OpenAI';
160
+
161
+ /**
162
+ * @type {string=}
163
+ * Name of the Completion Model. This is provider-specific, and for some providers (e.g. Azure) it is also part of the end-point URL.
164
+ */
165
+ modelName?: string;
166
+ /**
167
+ * @type {number=}
168
+ * Context Size of the Completion Model.
169
+ */
170
+ contextSize?: number;
171
+ /**
172
+ * @type {number=}
173
+ * Timeout of the Completion Model.
174
+ */
175
+ timeout?: number;
159
176
  /**
160
177
  * @type {string=}
161
178
  * URL of the Completion Provider API end-point. If not specified, the default end-point for the provider is used.