Skip to content

Commit 5496e7f

Browse files
committed
chore(cassettes): record cassettes for review-fix tests
1 parent 63c480c commit 5496e7f

1 file changed

Lines changed: 136 additions & 0 deletions

File tree

‎packages/gooddata-sdk/tests/catalog/fixtures/organization/test_create_llm_provider_anthropic.yaml‎

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,140 @@ interactions:
134134
status:
135135
code: 204
136136
message: No Content
137+
- request:
138+
body:
139+
data:
140+
attributes:
141+
defaultModelId: claude-3-5-sonnet-20241022
142+
models:
143+
- family: ANTHROPIC
144+
id: claude-3-5-sonnet-20241022
145+
name: Test Anthropic Provider
146+
providerConfig:
147+
auth:
148+
apiKey: test-api-key
149+
type: API_KEY
150+
type: ANTHROPIC
151+
id: test-anthropic-provider
152+
type: llmProvider
153+
headers:
154+
Accept:
155+
- application/json
156+
Accept-Encoding:
157+
- br, gzip, deflate
158+
Content-Type:
159+
- application/json
160+
X-GDC-VALIDATE-RELATIONS:
161+
- 'true'
162+
X-Requested-With:
163+
- XMLHttpRequest
164+
method: POST
165+
uri: http://localhost:3000/api/v1/entities/llmProviders
166+
response:
167+
body:
168+
string:
169+
data:
170+
attributes:
171+
defaultModelId: claude-3-5-sonnet-20241022
172+
models:
173+
- family: ANTHROPIC
174+
id: claude-3-5-sonnet-20241022
175+
name: Test Anthropic Provider
176+
providerConfig:
177+
auth:
178+
type: API_KEY
179+
baseUrl: https://api.anthropic.com
180+
type: ANTHROPIC
181+
id: test-anthropic-provider
182+
type: llmProvider
183+
links:
184+
self: http://localhost:3000/api/v1/entities/llmProviders/test-anthropic-provider
185+
headers:
186+
Content-Type:
187+
- application/json
188+
DATE: *id001
189+
Expires:
190+
- '0'
191+
Pragma:
192+
- no-cache
193+
X-Content-Type-Options:
194+
- nosniff
195+
X-GDC-TRACE-ID: *id001
196+
status:
197+
code: 201
198+
message: Created
199+
- request:
200+
body: null
201+
headers:
202+
Accept:
203+
- application/json
204+
Accept-Encoding:
205+
- br, gzip, deflate
206+
X-GDC-VALIDATE-RELATIONS:
207+
- 'true'
208+
X-Requested-With:
209+
- XMLHttpRequest
210+
method: GET
211+
uri: http://localhost:3000/api/v1/entities/llmProviders/test-anthropic-provider
212+
response:
213+
body:
214+
string:
215+
data:
216+
attributes:
217+
defaultModelId: claude-3-5-sonnet-20241022
218+
models:
219+
- family: ANTHROPIC
220+
id: claude-3-5-sonnet-20241022
221+
name: Test Anthropic Provider
222+
providerConfig:
223+
auth:
224+
type: API_KEY
225+
baseUrl: https://api.anthropic.com
226+
type: ANTHROPIC
227+
id: test-anthropic-provider
228+
type: llmProvider
229+
links:
230+
self: http://localhost:3000/api/v1/entities/llmProviders/test-anthropic-provider
231+
headers:
232+
Content-Type:
233+
- application/json
234+
DATE: *id001
235+
Expires:
236+
- '0'
237+
Pragma:
238+
- no-cache
239+
X-Content-Type-Options:
240+
- nosniff
241+
X-GDC-TRACE-ID: *id001
242+
status:
243+
code: 200
244+
message: OK
245+
- request:
246+
body: null
247+
headers:
248+
Accept-Encoding:
249+
- br, gzip, deflate
250+
X-GDC-VALIDATE-RELATIONS:
251+
- 'true'
252+
X-Requested-With:
253+
- XMLHttpRequest
254+
method: DELETE
255+
uri: http://localhost:3000/api/v1/entities/llmProviders/test-anthropic-provider
256+
response:
257+
body:
258+
string: ''
259+
headers:
260+
Content-Type:
261+
- application/vnd.gooddata.api+json
262+
DATE: *id001
263+
Expires:
264+
- '0'
265+
Pragma:
266+
- no-cache
267+
X-Content-Type-Options:
268+
- nosniff
269+
X-GDC-TRACE-ID: *id001
270+
status:
271+
code: 204
272+
message: No Content
137273
version: 1

0 commit comments

Comments
 (0)