@mastra/claude 1.0.0 → 1.0.2

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.
@@ -0,0 +1,228 @@
1
+ export type TComponents = {
2
+ schemas: {
3
+ Error: {
4
+ type: 'object';
5
+ properties: {
6
+ type: {
7
+ type: 'string';
8
+ nullable: false;
9
+ };
10
+ message: {
11
+ type: 'string';
12
+ nullable: false;
13
+ };
14
+ };
15
+ required: ['type', 'message'];
16
+ };
17
+ ErrorResponse: {
18
+ type: 'object';
19
+ properties: {
20
+ error: {
21
+ $ref: '#/components/schemas/Error';
22
+ };
23
+ };
24
+ required: ['error'];
25
+ };
26
+ CreateCompletionRequest: {
27
+ type: 'object';
28
+ properties: {
29
+ model: {
30
+ description: 'The model that will complete your prompt.\nAs we improve Claude, we develop new versions of it that you can query.\nThis parameter controls which version of Claude answers your request.\nRight now we are offering two model families: Claude, and Claude Instant.\nYou can use them by setting model to "claude-2" or "claude-instant-1", respectively.\nSee models for additional details.\n';
31
+ oneOf: [
32
+ {
33
+ type: 'string';
34
+ },
35
+ {
36
+ type: 'string';
37
+ enum: ['claude-2', 'claude-2.0', 'claude-instant-1', 'claude-instant-1.1'];
38
+ }
39
+ ];
40
+ 'x-oaiTypeLabel': 'string';
41
+ };
42
+ prompt: {
43
+ description: 'The prompt that you want Claude to complete.\n\nFor proper response generation you will need to format your prompt as follows:\n\\n\\nHuman: ${userQuestion}\\n\\nAssistant:\nSee our comments on prompts for more context.\n';
44
+ default: '<|endoftext|>';
45
+ nullable: true;
46
+ oneOf: [
47
+ {
48
+ type: 'string';
49
+ default: '';
50
+ example: 'This is a test.';
51
+ },
52
+ {
53
+ type: 'array';
54
+ items: {
55
+ type: 'string';
56
+ default: '';
57
+ example: 'This is a test.';
58
+ };
59
+ },
60
+ {
61
+ type: 'array';
62
+ minItems: 1;
63
+ items: {
64
+ type: 'integer';
65
+ };
66
+ example: '[1212, 318, 257, 1332, 13]';
67
+ },
68
+ {
69
+ type: 'array';
70
+ minItems: 1;
71
+ items: {
72
+ type: 'array';
73
+ minItems: 1;
74
+ items: {
75
+ type: 'integer';
76
+ };
77
+ };
78
+ example: '[[1212, 318, 257, 1332, 13]]';
79
+ }
80
+ ];
81
+ };
82
+ max_tokens_to_sample: {
83
+ type: 'integer';
84
+ minimum: 1;
85
+ default: 256;
86
+ example: 256;
87
+ nullable: true;
88
+ description: 'The maximum number of tokens to generate before stopping.\n\nNote that our models may stop before reaching this maximum. This parameter only specifies the absolute maximum number of tokens to generate.\n';
89
+ };
90
+ temperature: {
91
+ type: 'number';
92
+ minimum: 0;
93
+ maximum: 1;
94
+ default: 1;
95
+ example: 1;
96
+ nullable: true;
97
+ description: 'Amount of randomness injected into the response.\n\nDefaults to 1. Ranges from 0 to 1. Use temp closer to 0 for analytical / multiple choice, and closer to 1 for creative and generative tasks.\n';
98
+ };
99
+ top_p: {
100
+ type: 'number';
101
+ minimum: 0;
102
+ maximum: 1;
103
+ default: 1;
104
+ example: 1;
105
+ nullable: true;
106
+ description: 'Use nucleus sampling.\n\nIn nucleus sampling, we compute the cumulative distribution over all the options \nfor each subsequent token in decreasing probability order and cut it off once \nit reaches a particular probability specified by top_p. You should either alter temperature or top_p, but not both.\n';
107
+ };
108
+ top_k: {
109
+ type: 'number';
110
+ minimum: 0;
111
+ default: 5;
112
+ example: 5;
113
+ nullable: true;
114
+ description: 'Only sample from the top K options for each subsequent token.\n\nUsed to remove "long tail" low probability responses. Learn more technical details here.\n';
115
+ };
116
+ stream: {
117
+ description: 'Whether to incrementally stream the response using server-sent events.\nSee this guide to SSE events for details.type: boolean\n';
118
+ nullable: true;
119
+ default: false;
120
+ };
121
+ stop_sequences: {
122
+ description: 'Sequences that will cause the model to stop generating completion text.\nOur models stop on "\\n\\nHuman:", and may include additional built-in stop sequences in the future. By providing the stop_sequences parameter, you may include additional strings that will cause the model to stop generating.\n';
123
+ default: null;
124
+ nullable: true;
125
+ oneOf: [
126
+ {
127
+ type: 'string';
128
+ default: '<|endoftext|>';
129
+ example: '\n';
130
+ nullable: true;
131
+ },
132
+ {
133
+ type: 'array';
134
+ minItems: 1;
135
+ maxItems: 4;
136
+ items: {
137
+ type: 'string';
138
+ example: '["\\n"]';
139
+ };
140
+ }
141
+ ];
142
+ };
143
+ metadata: {
144
+ type: 'object';
145
+ properties: {
146
+ user_id: {
147
+ type: 'string';
148
+ example: '13803d75-b4b5-4c3e-b2a2-6f21399b021b';
149
+ description: 'An external identifier for the user who is associated with the request.\n\nThis should be a uuid, hash value, or other opaque identifier. Anthropic may use this id to help detect abuse. \nDo not include any identifying information such as name, email address, or phone number.\n';
150
+ };
151
+ };
152
+ description: 'An object describing metadata about the request.\n';
153
+ };
154
+ };
155
+ required: ['model', 'prompt', 'max_tokens_to_sample'];
156
+ };
157
+ CreateCompletionResponse: {
158
+ type: 'object';
159
+ properties: {
160
+ stop_reason: {
161
+ type: 'string';
162
+ enum: ['stop_sequence', 'max_tokens'];
163
+ description: 'The reason that we stopped sampling.\n\nThis may be one the following values:\n\n"stop_sequence": we reached a stop sequence — either provided by you via the stop_sequences parameter, or a stop sequence built into the model\n"max_tokens": we exceeded max_tokens_to_sample or the model\'s maximum\n';
164
+ };
165
+ model: {
166
+ type: 'string';
167
+ description: 'The model that performed the completion.\n';
168
+ };
169
+ completion: {
170
+ type: 'string';
171
+ description: 'The resulting completion up to and excluding the stop sequences.\n';
172
+ };
173
+ };
174
+ required: ['completion', 'stop_reason', 'model'];
175
+ };
176
+ CreateCompletionStreamResponse: {
177
+ type: 'object';
178
+ properties: {
179
+ stop_reason: {
180
+ type: 'string';
181
+ enum: ['stop_sequence', 'max_tokens'];
182
+ description: 'The reason that we stopped sampling.\n\nThis may be one the following values:\n\n"stop_sequence": we reached a stop sequence — either provided by you via the stop_sequences parameter, or a stop sequence built into the model\n"max_tokens": we exceeded max_tokens_to_sample or the model\'s maximum\n';
183
+ };
184
+ model: {
185
+ type: 'string';
186
+ description: 'The model that performed the completion.\n';
187
+ };
188
+ completion: {
189
+ type: 'string';
190
+ description: 'The resulting completion up to and excluding the stop sequences.\n';
191
+ };
192
+ choices: {
193
+ type: 'array';
194
+ items: {
195
+ type: 'object';
196
+ properties: {
197
+ delta: {
198
+ $ref: '#/components/schemas/CompletionStreamResponseDelta';
199
+ };
200
+ };
201
+ };
202
+ };
203
+ };
204
+ required: ['completion', 'stop_reason', 'model'];
205
+ };
206
+ CompletionStreamResponseDelta: {
207
+ type: 'object';
208
+ properties: {
209
+ completion: {
210
+ type: 'string';
211
+ description: 'The contents of the chunk message.';
212
+ nullable: true;
213
+ };
214
+ stop_reason: {
215
+ type: 'string';
216
+ enum: ['stop_sequence', 'max_tokens'];
217
+ description: 'The reason that we stopped sampling.\n\nThis may be one the following values:\n\n"stop_sequence": we reached a stop sequence — either provided by you via the stop_sequences parameter, or a stop sequence built into the model\n"max_tokens": we exceeded max_tokens_to_sample or the model\'s maximum\n';
218
+ nullable: true;
219
+ };
220
+ model: {
221
+ type: 'string';
222
+ description: 'The model that performed the completion.\n';
223
+ };
224
+ };
225
+ };
226
+ };
227
+ };
228
+ export declare const components: TComponents;
@@ -0,0 +1,42 @@
1
+ export type TPaths = {
2
+ '/complete': {
3
+ post: {
4
+ operationId: 'complete';
5
+ tags: ['Anthropic'];
6
+ summary: 'Creates a completion for the provided prompt and parameters.';
7
+ requestBody: {
8
+ required: true;
9
+ content: {
10
+ 'application/json': {
11
+ schema: {
12
+ $ref: '#/components/schemas/CreateCompletionRequest';
13
+ };
14
+ };
15
+ };
16
+ };
17
+ responses: {
18
+ '200': {
19
+ description: 'OK';
20
+ content: {
21
+ 'application/json': {
22
+ schema: {
23
+ $ref: '#/components/schemas/CreateCompletionResponse';
24
+ };
25
+ };
26
+ };
27
+ };
28
+ };
29
+ 'x-oaiMeta': {
30
+ name: 'Create completion';
31
+ group: 'completions';
32
+ path: 'create';
33
+ examples: {
34
+ curl: 'curl https://api.anthropic.com/v1/complete \\\n --header \'accept: application/json\' \\\n --header \'anthropic-version: 2023-06-01\' \\\n --header \'content-type: application/json\' \\\n --header \'x-api-key: $ANTHROPIC_API_KEY\' \\\n --data \'\n {\n "model": "claude-2",\n "prompt": "\\n\\nHuman: Hello, world!\\n\\nAssistant:",\n "max_tokens_to_sample": 256\n }\'\n';
35
+ };
36
+ parameters: '{\n "model": "claude-2",\n "prompt": "\\n\\nHuman: Hello, world!\\n\\nAssistant:",\n "max_tokens_to_sample": 256\n}\n';
37
+ response: '{\n "completion": " Hello! My name is Claude.",\n "stop_reason": "stop_sequence",\n "model": "claude-2"\n}\n';
38
+ };
39
+ };
40
+ };
41
+ };
42
+ export declare const paths: TPaths;
@@ -0,0 +1,285 @@
1
+ export type openapi = {
2
+ openapi: '3.0.0';
3
+ servers: [
4
+ {
5
+ url: 'https://api.anthropic.com/v1';
6
+ }
7
+ ];
8
+ paths: {
9
+ '/complete': {
10
+ post: {
11
+ operationId: 'complete';
12
+ tags: ['Anthropic'];
13
+ summary: 'Creates a completion for the provided prompt and parameters.';
14
+ requestBody: {
15
+ required: true;
16
+ content: {
17
+ 'application/json': {
18
+ schema: {
19
+ $ref: '#/components/schemas/CreateCompletionRequest';
20
+ };
21
+ };
22
+ };
23
+ };
24
+ responses: {
25
+ '200': {
26
+ description: 'OK';
27
+ content: {
28
+ 'application/json': {
29
+ schema: {
30
+ $ref: '#/components/schemas/CreateCompletionResponse';
31
+ };
32
+ };
33
+ };
34
+ };
35
+ };
36
+ 'x-oaiMeta': {
37
+ name: 'Create completion';
38
+ group: 'completions';
39
+ path: 'create';
40
+ examples: {
41
+ curl: 'curl https://api.anthropic.com/v1/complete \\\n --header \'accept: application/json\' \\\n --header \'anthropic-version: 2023-06-01\' \\\n --header \'content-type: application/json\' \\\n --header \'x-api-key: $ANTHROPIC_API_KEY\' \\\n --data \'\n {\n "model": "claude-2",\n "prompt": "\\n\\nHuman: Hello, world!\\n\\nAssistant:",\n "max_tokens_to_sample": 256\n }\'\n';
42
+ };
43
+ parameters: '{\n "model": "claude-2",\n "prompt": "\\n\\nHuman: Hello, world!\\n\\nAssistant:",\n "max_tokens_to_sample": 256\n}\n';
44
+ response: '{\n "completion": " Hello! My name is Claude.",\n "stop_reason": "stop_sequence",\n "model": "claude-2"\n}\n';
45
+ };
46
+ };
47
+ };
48
+ };
49
+ components: {
50
+ schemas: {
51
+ Error: {
52
+ type: 'object';
53
+ properties: {
54
+ type: {
55
+ type: 'string';
56
+ nullable: false;
57
+ };
58
+ message: {
59
+ type: 'string';
60
+ nullable: false;
61
+ };
62
+ };
63
+ required: ['type', 'message'];
64
+ };
65
+ ErrorResponse: {
66
+ type: 'object';
67
+ properties: {
68
+ error: {
69
+ $ref: '#/components/schemas/Error';
70
+ };
71
+ };
72
+ required: ['error'];
73
+ };
74
+ CreateCompletionRequest: {
75
+ type: 'object';
76
+ properties: {
77
+ model: {
78
+ description: 'The model that will complete your prompt.\nAs we improve Claude, we develop new versions of it that you can query.\nThis parameter controls which version of Claude answers your request.\nRight now we are offering two model families: Claude, and Claude Instant.\nYou can use them by setting model to "claude-2" or "claude-instant-1", respectively.\nSee models for additional details.\n';
79
+ oneOf: [
80
+ {
81
+ type: 'string';
82
+ },
83
+ {
84
+ type: 'string';
85
+ enum: ['claude-2', 'claude-2.0', 'claude-instant-1', 'claude-instant-1.1'];
86
+ }
87
+ ];
88
+ 'x-oaiTypeLabel': 'string';
89
+ };
90
+ prompt: {
91
+ description: 'The prompt that you want Claude to complete.\n\nFor proper response generation you will need to format your prompt as follows:\n\\n\\nHuman: ${userQuestion}\\n\\nAssistant:\nSee our comments on prompts for more context.\n';
92
+ default: '<|endoftext|>';
93
+ nullable: true;
94
+ oneOf: [
95
+ {
96
+ type: 'string';
97
+ default: '';
98
+ example: 'This is a test.';
99
+ },
100
+ {
101
+ type: 'array';
102
+ items: {
103
+ type: 'string';
104
+ default: '';
105
+ example: 'This is a test.';
106
+ };
107
+ },
108
+ {
109
+ type: 'array';
110
+ minItems: 1;
111
+ items: {
112
+ type: 'integer';
113
+ };
114
+ example: '[1212, 318, 257, 1332, 13]';
115
+ },
116
+ {
117
+ type: 'array';
118
+ minItems: 1;
119
+ items: {
120
+ type: 'array';
121
+ minItems: 1;
122
+ items: {
123
+ type: 'integer';
124
+ };
125
+ };
126
+ example: '[[1212, 318, 257, 1332, 13]]';
127
+ }
128
+ ];
129
+ };
130
+ max_tokens_to_sample: {
131
+ type: 'integer';
132
+ minimum: 1;
133
+ default: 256;
134
+ example: 256;
135
+ nullable: true;
136
+ description: 'The maximum number of tokens to generate before stopping.\n\nNote that our models may stop before reaching this maximum. This parameter only specifies the absolute maximum number of tokens to generate.\n';
137
+ };
138
+ temperature: {
139
+ type: 'number';
140
+ minimum: 0;
141
+ maximum: 1;
142
+ default: 1;
143
+ example: 1;
144
+ nullable: true;
145
+ description: 'Amount of randomness injected into the response.\n\nDefaults to 1. Ranges from 0 to 1. Use temp closer to 0 for analytical / multiple choice, and closer to 1 for creative and generative tasks.\n';
146
+ };
147
+ top_p: {
148
+ type: 'number';
149
+ minimum: 0;
150
+ maximum: 1;
151
+ default: 1;
152
+ example: 1;
153
+ nullable: true;
154
+ description: 'Use nucleus sampling.\n\nIn nucleus sampling, we compute the cumulative distribution over all the options \nfor each subsequent token in decreasing probability order and cut it off once \nit reaches a particular probability specified by top_p. You should either alter temperature or top_p, but not both.\n';
155
+ };
156
+ top_k: {
157
+ type: 'number';
158
+ minimum: 0;
159
+ default: 5;
160
+ example: 5;
161
+ nullable: true;
162
+ description: 'Only sample from the top K options for each subsequent token.\n\nUsed to remove "long tail" low probability responses. Learn more technical details here.\n';
163
+ };
164
+ stream: {
165
+ description: 'Whether to incrementally stream the response using server-sent events.\nSee this guide to SSE events for details.type: boolean\n';
166
+ nullable: true;
167
+ default: false;
168
+ };
169
+ stop_sequences: {
170
+ description: 'Sequences that will cause the model to stop generating completion text.\nOur models stop on "\\n\\nHuman:", and may include additional built-in stop sequences in the future. By providing the stop_sequences parameter, you may include additional strings that will cause the model to stop generating.\n';
171
+ default: null;
172
+ nullable: true;
173
+ oneOf: [
174
+ {
175
+ type: 'string';
176
+ default: '<|endoftext|>';
177
+ example: '\n';
178
+ nullable: true;
179
+ },
180
+ {
181
+ type: 'array';
182
+ minItems: 1;
183
+ maxItems: 4;
184
+ items: {
185
+ type: 'string';
186
+ example: '["\\n"]';
187
+ };
188
+ }
189
+ ];
190
+ };
191
+ metadata: {
192
+ type: 'object';
193
+ properties: {
194
+ user_id: {
195
+ type: 'string';
196
+ example: '13803d75-b4b5-4c3e-b2a2-6f21399b021b';
197
+ description: 'An external identifier for the user who is associated with the request.\n\nThis should be a uuid, hash value, or other opaque identifier. Anthropic may use this id to help detect abuse. \nDo not include any identifying information such as name, email address, or phone number.\n';
198
+ };
199
+ };
200
+ description: 'An object describing metadata about the request.\n';
201
+ };
202
+ };
203
+ required: ['model', 'prompt', 'max_tokens_to_sample'];
204
+ };
205
+ CreateCompletionResponse: {
206
+ type: 'object';
207
+ properties: {
208
+ stop_reason: {
209
+ type: 'string';
210
+ enum: ['stop_sequence', 'max_tokens'];
211
+ description: 'The reason that we stopped sampling.\n\nThis may be one the following values:\n\n"stop_sequence": we reached a stop sequence — either provided by you via the stop_sequences parameter, or a stop sequence built into the model\n"max_tokens": we exceeded max_tokens_to_sample or the model\'s maximum\n';
212
+ };
213
+ model: {
214
+ type: 'string';
215
+ description: 'The model that performed the completion.\n';
216
+ };
217
+ completion: {
218
+ type: 'string';
219
+ description: 'The resulting completion up to and excluding the stop sequences.\n';
220
+ };
221
+ };
222
+ required: ['completion', 'stop_reason', 'model'];
223
+ };
224
+ CreateCompletionStreamResponse: {
225
+ type: 'object';
226
+ properties: {
227
+ stop_reason: {
228
+ type: 'string';
229
+ enum: ['stop_sequence', 'max_tokens'];
230
+ description: 'The reason that we stopped sampling.\n\nThis may be one the following values:\n\n"stop_sequence": we reached a stop sequence — either provided by you via the stop_sequences parameter, or a stop sequence built into the model\n"max_tokens": we exceeded max_tokens_to_sample or the model\'s maximum\n';
231
+ };
232
+ model: {
233
+ type: 'string';
234
+ description: 'The model that performed the completion.\n';
235
+ };
236
+ completion: {
237
+ type: 'string';
238
+ description: 'The resulting completion up to and excluding the stop sequences.\n';
239
+ };
240
+ choices: {
241
+ type: 'array';
242
+ items: {
243
+ type: 'object';
244
+ properties: {
245
+ delta: {
246
+ $ref: '#/components/schemas/CompletionStreamResponseDelta';
247
+ };
248
+ };
249
+ };
250
+ };
251
+ };
252
+ required: ['completion', 'stop_reason', 'model'];
253
+ };
254
+ CompletionStreamResponseDelta: {
255
+ type: 'object';
256
+ properties: {
257
+ completion: {
258
+ type: 'string';
259
+ description: 'The contents of the chunk message.';
260
+ nullable: true;
261
+ };
262
+ stop_reason: {
263
+ type: 'string';
264
+ enum: ['stop_sequence', 'max_tokens'];
265
+ description: 'The reason that we stopped sampling.\n\nThis may be one the following values:\n\n"stop_sequence": we reached a stop sequence — either provided by you via the stop_sequences parameter, or a stop sequence built into the model\n"max_tokens": we exceeded max_tokens_to_sample or the model\'s maximum\n';
266
+ nullable: true;
267
+ };
268
+ model: {
269
+ type: 'string';
270
+ description: 'The model that performed the completion.\n';
271
+ };
272
+ };
273
+ };
274
+ };
275
+ };
276
+ 'x-oaiMeta': {
277
+ groups: [
278
+ {
279
+ id: 'completions';
280
+ title: 'Completions';
281
+ description: 'Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position. Note: We recommend most users use our Chat Completions API. [Learn more](/docs/deprecations/2023-07-06-gpt-and-embeddings)\n';
282
+ }
283
+ ];
284
+ };
285
+ };
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@mastra/claude",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/mylib.esm.js",
7
- "typings": "dist/index.d.ts",
7
+ "typings": "dist/claude/src/index.d.ts",
8
8
  "files": [
9
9
  "dist",
10
10
  "src"
@@ -47,9 +47,10 @@
47
47
  "author": "",
48
48
  "license": "ISC",
49
49
  "dependencies": {
50
- "fets": "*",
51
- "zod": "^3.23.8",
52
- "@mastra/core": "0.1.0"
50
+ "@hey-api/client-fetch": "^0.3.3",
51
+ "@mastra/core": "^0.1.20",
52
+ "ts-to-zod": "^3.13.0",
53
+ "zod": "^3.23.8"
53
54
  },
54
55
  "scripts": {
55
56
  "analyze": "size-limit --why",
@@ -59,6 +60,7 @@
59
60
  "size": "size-limit",
60
61
  "start": "dts watch",
61
62
  "test": "jest",
62
- "typecheck": "tsc --noEmit --incremental"
63
+ "clean": "rm -rf dist && rm -rf node_modules",
64
+ "gen:zod:schema": "pnpx ts-to-zod src/client/types.gen.ts src/client/zodSchema.ts"
63
65
  }
64
66
  }
@@ -4,7 +4,7 @@ import {
4
4
  beforeAll,
5
5
  afterAll, //expect
6
6
  } from '@jest/globals';
7
- import { Framework } from '@mastra/core';
7
+ import { Mastra } from '@mastra/core';
8
8
 
9
9
  import { ClaudeIntegration } from '.';
10
10
 
@@ -14,13 +14,13 @@ const connectionId = process.env.CONNECTION_ID!;
14
14
 
15
15
  const integrationName = 'CLAUDE';
16
16
 
17
- const integrationFramework = Framework.init({
17
+ const integrationFramework = Mastra.init({
18
18
  name: 'TestFramework',
19
19
  integrations: [new ClaudeIntegration()],
20
20
  workflows: {
21
21
  systemApis: [],
22
- systemEvents: {},
23
22
  blueprintDirPath: '',
23
+ systemEvents: {},
24
24
  },
25
25
  db: {
26
26
  provider: 'postgres',
@@ -30,7 +30,7 @@ const integrationFramework = Framework.init({
30
30
  routeRegistrationPath: '/api/mastra',
31
31
  });
32
32
 
33
- const integration = integrationFramework.getIntegration(integrationName) as ClaudeIntegration;
33
+ //const integration = integrationFramework.getIntegration(integrationName) as ClaudeIntegration
34
34
 
35
35
  describe('claude', () => {
36
36
  beforeAll(async () => {
@@ -47,20 +47,9 @@ describe('claude', () => {
47
47
  });
48
48
 
49
49
  it('should 200 on some apis', async () => {
50
- const client = await integration.getApiClient({ connectionId });
51
- const response = await client['/complete'].post({
52
- json: {
53
- prompt: 'test',
54
- model: 'gpt-3.5-turbo',
55
- temperature: null,
56
- top_k: null,
57
- top_p: null,
58
- max_tokens_to_sample: null,
59
- stream: {},
60
- stop_sequences: null,
61
- },
62
- });
63
- expect(response.status).toBe(200);
50
+ //const client = await integration.getApiClient({ connectionId });
51
+ //const response = await client['/2010-04-01/Accounts.json'].get();
52
+ //expect(response.status).toBe(200);
64
53
  });
65
54
 
66
55
  afterAll(async () => {
Binary file
@@ -0,0 +1,4 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ export * from './schemas.gen';
3
+ export * from './services.gen';
4
+ export * from './types.gen';