Skip to content

Commit f35b312

Browse files
feat(api): manual updates
1 parent cc88cdf commit f35b312

42 files changed

Lines changed: 163 additions & 159 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 122
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith/langsmith-api-0ecfca65a65d468ba3c837bb31d9f41a6ba04f2b1b4b05834b92640ad70be014.yml
33
openapi_spec_hash: f79ca4a0772789d1b13922cf1271530e
4-
config_hash: d977f39638966d9558d83ac45bf0771e
4+
config_hash: 710f81ad1c90555e99c612170ad2c312

langsmith-java-core/src/main/kotlin/com/langchain/smith/client/LangsmithClient.kt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ import com.langchain.smith.services.blocking.DatasetService
99
import com.langchain.smith.services.blocking.EvaluatorService
1010
import com.langchain.smith.services.blocking.ExampleService
1111
import com.langchain.smith.services.blocking.FeedbackService
12+
import com.langchain.smith.services.blocking.InfoService
1213
import com.langchain.smith.services.blocking.PublicService
1314
import com.langchain.smith.services.blocking.RepoService
1415
import com.langchain.smith.services.blocking.RunService
1516
import com.langchain.smith.services.blocking.SandboxService
1617
import com.langchain.smith.services.blocking.SessionService
1718
import com.langchain.smith.services.blocking.SettingService
19+
import com.langchain.smith.services.blocking.WorkspaceService
1820
import java.util.function.Consumer
1921

2022
/**
@@ -69,6 +71,10 @@ interface LangsmithClient {
6971

7072
fun annotationQueues(): AnnotationQueueService
7173

74+
fun info(): InfoService
75+
76+
fun workspaces(): WorkspaceService
77+
7278
fun repos(): RepoService
7379

7480
fun commits(): CommitService
@@ -116,6 +122,10 @@ interface LangsmithClient {
116122

117123
fun annotationQueues(): AnnotationQueueService.WithRawResponse
118124

125+
fun info(): InfoService.WithRawResponse
126+
127+
fun workspaces(): WorkspaceService.WithRawResponse
128+
119129
fun repos(): RepoService.WithRawResponse
120130

121131
fun commits(): CommitService.WithRawResponse

langsmith-java-core/src/main/kotlin/com/langchain/smith/client/LangsmithClientAsync.kt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ import com.langchain.smith.services.async.DatasetServiceAsync
99
import com.langchain.smith.services.async.EvaluatorServiceAsync
1010
import com.langchain.smith.services.async.ExampleServiceAsync
1111
import com.langchain.smith.services.async.FeedbackServiceAsync
12+
import com.langchain.smith.services.async.InfoServiceAsync
1213
import com.langchain.smith.services.async.PublicServiceAsync
1314
import com.langchain.smith.services.async.RepoServiceAsync
1415
import com.langchain.smith.services.async.RunServiceAsync
1516
import com.langchain.smith.services.async.SandboxServiceAsync
1617
import com.langchain.smith.services.async.SessionServiceAsync
1718
import com.langchain.smith.services.async.SettingServiceAsync
19+
import com.langchain.smith.services.async.WorkspaceServiceAsync
1820
import java.util.function.Consumer
1921

2022
/**
@@ -69,6 +71,10 @@ interface LangsmithClientAsync {
6971

7072
fun annotationQueues(): AnnotationQueueServiceAsync
7173

74+
fun info(): InfoServiceAsync
75+
76+
fun workspaces(): WorkspaceServiceAsync
77+
7278
fun repos(): RepoServiceAsync
7379

7480
fun commits(): CommitServiceAsync
@@ -120,6 +126,10 @@ interface LangsmithClientAsync {
120126

121127
fun annotationQueues(): AnnotationQueueServiceAsync.WithRawResponse
122128

129+
fun info(): InfoServiceAsync.WithRawResponse
130+
131+
fun workspaces(): WorkspaceServiceAsync.WithRawResponse
132+
123133
fun repos(): RepoServiceAsync.WithRawResponse
124134

125135
fun commits(): CommitServiceAsync.WithRawResponse

langsmith-java-core/src/main/kotlin/com/langchain/smith/client/LangsmithClientAsyncImpl.kt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import com.langchain.smith.services.async.ExampleServiceAsync
1616
import com.langchain.smith.services.async.ExampleServiceAsyncImpl
1717
import com.langchain.smith.services.async.FeedbackServiceAsync
1818
import com.langchain.smith.services.async.FeedbackServiceAsyncImpl
19+
import com.langchain.smith.services.async.InfoServiceAsync
20+
import com.langchain.smith.services.async.InfoServiceAsyncImpl
1921
import com.langchain.smith.services.async.PublicServiceAsync
2022
import com.langchain.smith.services.async.PublicServiceAsyncImpl
2123
import com.langchain.smith.services.async.RepoServiceAsync
@@ -28,6 +30,8 @@ import com.langchain.smith.services.async.SessionServiceAsync
2830
import com.langchain.smith.services.async.SessionServiceAsyncImpl
2931
import com.langchain.smith.services.async.SettingServiceAsync
3032
import com.langchain.smith.services.async.SettingServiceAsyncImpl
33+
import com.langchain.smith.services.async.WorkspaceServiceAsync
34+
import com.langchain.smith.services.async.WorkspaceServiceAsyncImpl
3135
import java.util.function.Consumer
3236

3337
class LangsmithClientAsyncImpl(private val clientOptions: ClientOptions) : LangsmithClientAsync {
@@ -77,6 +81,12 @@ class LangsmithClientAsyncImpl(private val clientOptions: ClientOptions) : Langs
7781
AnnotationQueueServiceAsyncImpl(clientOptionsWithUserAgent)
7882
}
7983

84+
private val info: InfoServiceAsync by lazy { InfoServiceAsyncImpl(clientOptionsWithUserAgent) }
85+
86+
private val workspaces: WorkspaceServiceAsync by lazy {
87+
WorkspaceServiceAsyncImpl(clientOptionsWithUserAgent)
88+
}
89+
8090
private val repos: RepoServiceAsync by lazy { RepoServiceAsyncImpl(clientOptionsWithUserAgent) }
8191

8292
private val commits: CommitServiceAsync by lazy {
@@ -114,6 +124,10 @@ class LangsmithClientAsyncImpl(private val clientOptions: ClientOptions) : Langs
114124

115125
override fun annotationQueues(): AnnotationQueueServiceAsync = annotationQueues
116126

127+
override fun info(): InfoServiceAsync = info
128+
129+
override fun workspaces(): WorkspaceServiceAsync = workspaces
130+
117131
override fun repos(): RepoServiceAsync = repos
118132

119133
override fun commits(): CommitServiceAsync = commits
@@ -168,6 +182,14 @@ class LangsmithClientAsyncImpl(private val clientOptions: ClientOptions) : Langs
168182
AnnotationQueueServiceAsyncImpl.WithRawResponseImpl(clientOptions)
169183
}
170184

185+
private val info: InfoServiceAsync.WithRawResponse by lazy {
186+
InfoServiceAsyncImpl.WithRawResponseImpl(clientOptions)
187+
}
188+
189+
private val workspaces: WorkspaceServiceAsync.WithRawResponse by lazy {
190+
WorkspaceServiceAsyncImpl.WithRawResponseImpl(clientOptions)
191+
}
192+
171193
private val repos: RepoServiceAsync.WithRawResponse by lazy {
172194
RepoServiceAsyncImpl.WithRawResponseImpl(clientOptions)
173195
}
@@ -208,6 +230,10 @@ class LangsmithClientAsyncImpl(private val clientOptions: ClientOptions) : Langs
208230
override fun annotationQueues(): AnnotationQueueServiceAsync.WithRawResponse =
209231
annotationQueues
210232

233+
override fun info(): InfoServiceAsync.WithRawResponse = info
234+
235+
override fun workspaces(): WorkspaceServiceAsync.WithRawResponse = workspaces
236+
211237
override fun repos(): RepoServiceAsync.WithRawResponse = repos
212238

213239
override fun commits(): CommitServiceAsync.WithRawResponse = commits

langsmith-java-core/src/main/kotlin/com/langchain/smith/client/LangsmithClientImpl.kt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import com.langchain.smith.services.blocking.ExampleService
1616
import com.langchain.smith.services.blocking.ExampleServiceImpl
1717
import com.langchain.smith.services.blocking.FeedbackService
1818
import com.langchain.smith.services.blocking.FeedbackServiceImpl
19+
import com.langchain.smith.services.blocking.InfoService
20+
import com.langchain.smith.services.blocking.InfoServiceImpl
1921
import com.langchain.smith.services.blocking.PublicService
2022
import com.langchain.smith.services.blocking.PublicServiceImpl
2123
import com.langchain.smith.services.blocking.RepoService
@@ -28,6 +30,8 @@ import com.langchain.smith.services.blocking.SessionService
2830
import com.langchain.smith.services.blocking.SessionServiceImpl
2931
import com.langchain.smith.services.blocking.SettingService
3032
import com.langchain.smith.services.blocking.SettingServiceImpl
33+
import com.langchain.smith.services.blocking.WorkspaceService
34+
import com.langchain.smith.services.blocking.WorkspaceServiceImpl
3135
import java.util.function.Consumer
3236

3337
class LangsmithClientImpl(private val clientOptions: ClientOptions) : LangsmithClient {
@@ -69,6 +73,12 @@ class LangsmithClientImpl(private val clientOptions: ClientOptions) : LangsmithC
6973
AnnotationQueueServiceImpl(clientOptionsWithUserAgent)
7074
}
7175

76+
private val info: InfoService by lazy { InfoServiceImpl(clientOptionsWithUserAgent) }
77+
78+
private val workspaces: WorkspaceService by lazy {
79+
WorkspaceServiceImpl(clientOptionsWithUserAgent)
80+
}
81+
7282
private val repos: RepoService by lazy { RepoServiceImpl(clientOptionsWithUserAgent) }
7383

7484
private val commits: CommitService by lazy { CommitServiceImpl(clientOptionsWithUserAgent) }
@@ -100,6 +110,10 @@ class LangsmithClientImpl(private val clientOptions: ClientOptions) : LangsmithC
100110

101111
override fun annotationQueues(): AnnotationQueueService = annotationQueues
102112

113+
override fun info(): InfoService = info
114+
115+
override fun workspaces(): WorkspaceService = workspaces
116+
103117
override fun repos(): RepoService = repos
104118

105119
override fun commits(): CommitService = commits
@@ -150,6 +164,14 @@ class LangsmithClientImpl(private val clientOptions: ClientOptions) : LangsmithC
150164
AnnotationQueueServiceImpl.WithRawResponseImpl(clientOptions)
151165
}
152166

167+
private val info: InfoService.WithRawResponse by lazy {
168+
InfoServiceImpl.WithRawResponseImpl(clientOptions)
169+
}
170+
171+
private val workspaces: WorkspaceService.WithRawResponse by lazy {
172+
WorkspaceServiceImpl.WithRawResponseImpl(clientOptions)
173+
}
174+
153175
private val repos: RepoService.WithRawResponse by lazy {
154176
RepoServiceImpl.WithRawResponseImpl(clientOptions)
155177
}
@@ -189,6 +211,10 @@ class LangsmithClientImpl(private val clientOptions: ClientOptions) : LangsmithC
189211

190212
override fun annotationQueues(): AnnotationQueueService.WithRawResponse = annotationQueues
191213

214+
override fun info(): InfoService.WithRawResponse = info
215+
216+
override fun workspaces(): WorkspaceService.WithRawResponse = workspaces
217+
192218
override fun repos(): RepoService.WithRawResponse = repos
193219

194220
override fun commits(): CommitService.WithRawResponse = commits

langsmith-java-core/src/main/kotlin/com/langchain/smith/models/annotationqueues/info/InfoListParams.kt renamed to langsmith-java-core/src/main/kotlin/com/langchain/smith/models/info/InfoListParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// File generated from our OpenAPI spec by Stainless.
22

3-
package com.langchain.smith.models.annotationqueues.info
3+
package com.langchain.smith.models.info
44

55
import com.langchain.smith.core.Params
66
import com.langchain.smith.core.http.Headers

langsmith-java-core/src/main/kotlin/com/langchain/smith/models/annotationqueues/info/InfoListResponse.kt renamed to langsmith-java-core/src/main/kotlin/com/langchain/smith/models/info/InfoListResponse.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// File generated from our OpenAPI spec by Stainless.
22

3-
package com.langchain.smith.models.annotationqueues.info
3+
package com.langchain.smith.models.info
44

55
import com.fasterxml.jackson.annotation.JsonAnyGetter
66
import com.fasterxml.jackson.annotation.JsonAnySetter

langsmith-java-core/src/main/kotlin/com/langchain/smith/models/annotationqueues/workspaces/WorkspaceCreateParams.kt renamed to langsmith-java-core/src/main/kotlin/com/langchain/smith/models/workspaces/WorkspaceCreateParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// File generated from our OpenAPI spec by Stainless.
22

3-
package com.langchain.smith.models.annotationqueues.workspaces
3+
package com.langchain.smith.models.workspaces
44

55
import com.fasterxml.jackson.annotation.JsonAnyGetter
66
import com.fasterxml.jackson.annotation.JsonAnySetter

langsmith-java-core/src/main/kotlin/com/langchain/smith/models/annotationqueues/workspaces/WorkspaceCreateResponse.kt renamed to langsmith-java-core/src/main/kotlin/com/langchain/smith/models/workspaces/WorkspaceCreateResponse.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// File generated from our OpenAPI spec by Stainless.
22

3-
package com.langchain.smith.models.annotationqueues.workspaces
3+
package com.langchain.smith.models.workspaces
44

55
import com.fasterxml.jackson.annotation.JsonAnyGetter
66
import com.fasterxml.jackson.annotation.JsonAnySetter

langsmith-java-core/src/main/kotlin/com/langchain/smith/models/annotationqueues/workspaces/WorkspaceDeleteParams.kt renamed to langsmith-java-core/src/main/kotlin/com/langchain/smith/models/workspaces/WorkspaceDeleteParams.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// File generated from our OpenAPI spec by Stainless.
22

3-
package com.langchain.smith.models.annotationqueues.workspaces
3+
package com.langchain.smith.models.workspaces
44

55
import com.langchain.smith.core.JsonValue
66
import com.langchain.smith.core.Params

0 commit comments

Comments
 (0)