We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfe885b commit f505bd0Copy full SHA for f505bd0
openai-client/src/commonMain/kotlin/com.aallam.openai.client/internal/api/AssistantsApi.kt
@@ -133,7 +133,7 @@ internal class AssistantsApi(val requester: HttpRequester) : Assistants {
133
val request = buildJsonObject { put("file", fileId.id) }
134
return requester.perform {
135
it.post {
136
- url(path = "${ApiPath.Assistants}/${assistantId.id}")
+ url(path = "${ApiPath.Assistants}/${assistantId.id}/files")
137
setBody(request)
138
contentType(ContentType.Application.Json)
139
beta("assistants", 1)
0 commit comments