Skip to content

Commit f86c803

Browse files
committed
fix(sdk)!: add _response to response models to finally fix duplicated names
1 parent af4950d commit f86c803

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config/stainless.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,26 +44,26 @@ client_settings:
4444
resources:
4545
embeddings:
4646
models:
47-
embedding: "#/components/schemas/EmbeddingResponse"
47+
embedding_response: "#/components/schemas/EmbeddingResponse"
4848
methods:
4949
create: post /embeddings
5050
classifications:
5151
subresources:
5252
universal:
5353
models:
54-
universal_classification: "#/components/schemas/UniversalClassificationResponse"
54+
universal_classification_response: "#/components/schemas/UniversalClassificationResponse"
5555
methods:
5656
create: post /classifications/universal
5757
rerankings:
5858
models:
59-
reranking: "#/components/schemas/RerankingResponse"
59+
reranking_response: "#/components/schemas/RerankingResponse"
6060
methods:
6161
create: post /rerankings
6262
extractions:
6363
subresources:
6464
qa:
6565
models:
66-
answer_extraction: "#/components/schemas/AnswerExtractionResponse"
66+
answer_extraction_response: "#/components/schemas/AnswerExtractionResponse"
6767
methods:
6868
create: post /extractions/qa
6969

0 commit comments

Comments
 (0)