Skip to content

Commit

Permalink
Merge pull request #164 from tryAGI/bot/update-openapi_202501030126
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jan 3, 2025
2 parents 5b94a4c + c8cd873 commit 7a25045
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public partial interface IPublicClient
/// <param name="dataSourceType">
/// Enum for run data source types.
/// </param>
/// <param name="skipPagination"></param>
/// <param name="cursor"></param>
/// <param name="limit">
/// Default Value: 100
Expand Down Expand Up @@ -72,6 +73,7 @@ public partial interface IPublicClient
string? treeFilter = default,
bool? isRoot = default,
global::LangSmith.RunsFilterDataSourceTypeEnum? dataSourceType = default,
bool? skipPagination = default,
string? cursor = default,
int? limit = default,
global::System.Collections.Generic.IList<global::LangSmith.RunSelect>? select = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public partial interface IPublicClient
/// <param name="dataSourceType">
/// Enum for run data source types.
/// </param>
/// <param name="skipPagination"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::LangSmith.RunStats> StatsSharedDatasetRunsAsync(
Expand All @@ -62,6 +63,7 @@ public partial interface IPublicClient
string? treeFilter = default,
bool? isRoot = default,
global::LangSmith.RunsFilterDataSourceTypeEnum? dataSourceType = default,
bool? skipPagination = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public partial interface IRunClient
/// <param name="dataSourceType">
/// Enum for run data source types.
/// </param>
/// <param name="skipPagination"></param>
/// <param name="cursor"></param>
/// <param name="limit">
/// Default Value: 100
Expand Down Expand Up @@ -66,6 +67,7 @@ public partial interface IRunClient
string? treeFilter = default,
bool? isRoot = default,
global::LangSmith.RunsFilterDataSourceTypeEnum? dataSourceType = default,
bool? skipPagination = default,
string? cursor = default,
int? limit = default,
global::System.Collections.Generic.IList<global::LangSmith.RunSelect>? select = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public partial interface IRunClient
/// <param name="dataSourceType">
/// Enum for run data source types.
/// </param>
/// <param name="skipPagination"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
global::System.Threading.Tasks.Task<global::LangSmith.RunStats> StatsRunsAsync(
Expand All @@ -58,6 +59,7 @@ public partial interface IRunClient
string? treeFilter = default,
bool? isRoot = default,
global::LangSmith.RunsFilterDataSourceTypeEnum? dataSourceType = default,
bool? skipPagination = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ public sealed partial class BodyParamsForRunSchema
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::LangSmith.JsonConverters.RunsFilterDataSourceTypeEnumJsonConverter))]
public global::LangSmith.RunsFilterDataSourceTypeEnum? DataSourceType { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("skip_pagination")]
public bool? SkipPagination { get; set; }

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -160,6 +166,7 @@ public sealed partial class BodyParamsForRunSchema
/// <param name="dataSourceType">
/// Enum for run data source types.
/// </param>
/// <param name="skipPagination"></param>
/// <param name="cursor"></param>
/// <param name="limit">
/// Default Value: 100
Expand Down Expand Up @@ -188,6 +195,7 @@ public BodyParamsForRunSchema(
string? treeFilter,
bool? isRoot,
global::LangSmith.RunsFilterDataSourceTypeEnum? dataSourceType,
bool? skipPagination,
string? cursor,
int? limit,
global::System.Collections.Generic.IList<global::LangSmith.RunSelect>? select,
Expand All @@ -209,6 +217,7 @@ public BodyParamsForRunSchema(
this.TreeFilter = treeFilter;
this.IsRoot = isRoot;
this.DataSourceType = dataSourceType;
this.SkipPagination = skipPagination;
this.Cursor = cursor;
this.Limit = limit;
this.Select = select;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ public sealed partial class FilterQueryParamsForRunSchema
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::LangSmith.JsonConverters.RunsFilterDataSourceTypeEnumJsonConverter))]
public global::LangSmith.RunsFilterDataSourceTypeEnum? DataSourceType { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("skip_pagination")]
public bool? SkipPagination { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand Down Expand Up @@ -135,6 +141,7 @@ public sealed partial class FilterQueryParamsForRunSchema
/// <param name="dataSourceType">
/// Enum for run data source types.
/// </param>
/// <param name="skipPagination"></param>
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
public FilterQueryParamsForRunSchema(
global::System.Collections.Generic.IList<global::System.Guid>? id,
Expand All @@ -152,7 +159,8 @@ public FilterQueryParamsForRunSchema(
string? traceFilter,
string? treeFilter,
bool? isRoot,
global::LangSmith.RunsFilterDataSourceTypeEnum? dataSourceType)
global::LangSmith.RunsFilterDataSourceTypeEnum? dataSourceType,
bool? skipPagination)
{
this.Id = id;
this.Trace = trace;
Expand All @@ -170,6 +178,7 @@ public FilterQueryParamsForRunSchema(
this.TreeFilter = treeFilter;
this.IsRoot = isRoot;
this.DataSourceType = dataSourceType;
this.SkipPagination = skipPagination;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ partial void ProcessQuerySharedDatasetRunsResponseContent(
/// <param name="dataSourceType">
/// Enum for run data source types.
/// </param>
/// <param name="skipPagination"></param>
/// <param name="cursor"></param>
/// <param name="limit">
/// Default Value: 100
Expand Down Expand Up @@ -247,6 +248,7 @@ partial void ProcessQuerySharedDatasetRunsResponseContent(
string? treeFilter = default,
bool? isRoot = default,
global::LangSmith.RunsFilterDataSourceTypeEnum? dataSourceType = default,
bool? skipPagination = default,
string? cursor = default,
int? limit = default,
global::System.Collections.Generic.IList<global::LangSmith.RunSelect>? select = default,
Expand All @@ -271,6 +273,7 @@ partial void ProcessQuerySharedDatasetRunsResponseContent(
TreeFilter = treeFilter,
IsRoot = isRoot,
DataSourceType = dataSourceType,
SkipPagination = skipPagination,
Cursor = cursor,
Limit = limit,
Select = select,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ partial void ProcessStatsSharedDatasetRunsResponseContent(
/// <param name="dataSourceType">
/// Enum for run data source types.
/// </param>
/// <param name="skipPagination"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.RunStats> StatsSharedDatasetRunsAsync(
Expand All @@ -237,6 +238,7 @@ partial void ProcessStatsSharedDatasetRunsResponseContent(
string? treeFilter = default,
bool? isRoot = default,
global::LangSmith.RunsFilterDataSourceTypeEnum? dataSourceType = default,
bool? skipPagination = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::LangSmith.FilterQueryParamsForRunSchema
Expand All @@ -257,6 +259,7 @@ partial void ProcessStatsSharedDatasetRunsResponseContent(
TreeFilter = treeFilter,
IsRoot = isRoot,
DataSourceType = dataSourceType,
SkipPagination = skipPagination,
};

return await StatsSharedDatasetRunsAsync(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ partial void ProcessQueryRunsResponseContent(
/// <param name="dataSourceType">
/// Enum for run data source types.
/// </param>
/// <param name="skipPagination"></param>
/// <param name="cursor"></param>
/// <param name="limit">
/// Default Value: 100
Expand Down Expand Up @@ -237,6 +238,7 @@ partial void ProcessQueryRunsResponseContent(
string? treeFilter = default,
bool? isRoot = default,
global::LangSmith.RunsFilterDataSourceTypeEnum? dataSourceType = default,
bool? skipPagination = default,
string? cursor = default,
int? limit = default,
global::System.Collections.Generic.IList<global::LangSmith.RunSelect>? select = default,
Expand All @@ -261,6 +263,7 @@ partial void ProcessQueryRunsResponseContent(
TreeFilter = treeFilter,
IsRoot = isRoot,
DataSourceType = dataSourceType,
SkipPagination = skipPagination,
Cursor = cursor,
Limit = limit,
Select = select,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ partial void ProcessStatsRunsResponseContent(
/// <param name="dataSourceType">
/// Enum for run data source types.
/// </param>
/// <param name="skipPagination"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
public async global::System.Threading.Tasks.Task<global::LangSmith.RunStats> StatsRunsAsync(
Expand All @@ -229,6 +230,7 @@ partial void ProcessStatsRunsResponseContent(
string? treeFilter = default,
bool? isRoot = default,
global::LangSmith.RunsFilterDataSourceTypeEnum? dataSourceType = default,
bool? skipPagination = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::LangSmith.FilterQueryParamsForRunSchema
Expand All @@ -249,6 +251,7 @@ partial void ProcessStatsRunsResponseContent(
TreeFilter = treeFilter,
IsRoot = isRoot,
DataSourceType = dataSourceType,
SkipPagination = skipPagination,
};

return await StatsRunsAsync(
Expand Down
8 changes: 8 additions & 0 deletions src/libs/LangSmith/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12399,6 +12399,10 @@ components:
nullable: true
data_source_type:
$ref: '#/components/schemas/RunsFilterDataSourceTypeEnum'
skip_pagination:
title: Skip Pagination
type: boolean
nullable: true
cursor:
title: Cursor
type: string
Expand Down Expand Up @@ -15422,6 +15426,10 @@ components:
nullable: true
data_source_type:
$ref: '#/components/schemas/RunsFilterDataSourceTypeEnum'
skip_pagination:
title: Skip Pagination
type: boolean
nullable: true
description: Query params for run endpoints.
FilterView:
title: FilterView
Expand Down

0 comments on commit 7a25045

Please sign in to comment.