Skip to content

Commit 939f408

Browse files
committed
chore: new shape
1 parent 8fed2b9 commit 939f408

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

specs/ingestion/paths/transformations/transformationsModels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ post:
4646
type: object
4747
additionalProperties: false
4848
properties:
49-
selectedLLMID:
49+
id:
5050
type: string
5151
systemPrompt:
5252
type: string
5353
userPrompt:
5454
type: string
5555
required:
56-
- selectedLLMID
56+
- id
5757
- userPrompt
5858
required: true
5959
responses:

specs/ingestion/spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ paths:
175175
$ref: 'paths/transformations/transformationsTry.yml'
176176
/1/transformations/search:
177177
$ref: 'paths/transformations/transformationsSearch.yml'
178-
/1/transformations/copilot:
178+
/1/transformations/models:
179179
$ref: 'paths/transformations/transformationsModels.yml'
180180
/1/transformations/{transformationID}:
181181
$ref: 'paths/transformations/transformationID.yml'

tests/CTS/requests/ingestion/generateTransformationCode.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[
22
{
33
"parameters": {
4-
"selectedLLMID": "foo",
4+
"id": "foo",
55
"userPrompt": "fizzbuzz algorithm in fortran with a lot of comments that describe what EACH LINE of code is doing"
66
},
77
"request": {
8-
"path": "/1/transformations/copilot",
8+
"path": "/1/transformations/models",
99
"method": "POST",
1010
"body": {
1111
"selectedLLMID": "foo",

tests/CTS/requests/ingestion/listTransformationModels.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"parameters": {},
44
"request": {
5-
"path": "/1/transformations/copilot",
5+
"path": "/1/transformations/models",
66
"method": "GET"
77
}
88
}

0 commit comments

Comments
 (0)