Skip to content

Commit

Permalink
Merge pull request #86 from tryAGI/bot/update-openapi_202410111825
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 11, 2024
2 parents 3d70fdc + 02262b0 commit 5973b19
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ public partial interface IRunClient
/// <param name="extra"></param>
/// <param name="inputAttachments"></param>
/// <param name="outputAttachments"></param>
/// <param name="sessionId"></param>
/// <param name="sessionName"></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.UpdateRunApiV1RunsRunIdPatchResponse> UpdateRunAsync(
Expand All @@ -50,6 +52,8 @@ public partial interface IRunClient
global::LangSmith.OneOf<global::LangSmith.UpdateRunRequestExtra, object>? extra = default,
global::LangSmith.OneOf<global::LangSmith.UpdateRunRequestInputAttachments, object>? inputAttachments = default,
global::LangSmith.OneOf<global::LangSmith.UpdateRunRequestOutputAttachments, object>? outputAttachments = default,
global::LangSmith.OneOf<global::System.Guid?, object>? sessionId = default,
global::LangSmith.OneOf<string, object>? sessionName = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,20 @@ public sealed partial class UpdateRunRequest
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::LangSmith.JsonConverters.OneOfJsonConverterFactory2))]
public global::LangSmith.OneOf<global::LangSmith.UpdateRunRequestOutputAttachments, object>? OutputAttachments { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("session_id")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::LangSmith.JsonConverters.OneOfJsonConverterFactory2))]
public global::LangSmith.OneOf<global::System.Guid?, object>? SessionId { get; set; }

/// <summary>
///
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("session_name")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::LangSmith.JsonConverters.OneOfJsonConverterFactory2))]
public global::LangSmith.OneOf<string, object>? SessionName { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ partial void ProcessUpdateRunResponseContent(
/// <param name="extra"></param>
/// <param name="inputAttachments"></param>
/// <param name="outputAttachments"></param>
/// <param name="sessionId"></param>
/// <param name="sessionName"></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.UpdateRunApiV1RunsRunIdPatchResponse> UpdateRunAsync(
Expand All @@ -154,6 +156,8 @@ partial void ProcessUpdateRunResponseContent(
global::LangSmith.OneOf<global::LangSmith.UpdateRunRequestExtra, object>? extra = default,
global::LangSmith.OneOf<global::LangSmith.UpdateRunRequestInputAttachments, object>? inputAttachments = default,
global::LangSmith.OneOf<global::LangSmith.UpdateRunRequestOutputAttachments, object>? outputAttachments = default,
global::LangSmith.OneOf<global::System.Guid?, object>? sessionId = default,
global::LangSmith.OneOf<string, object>? sessionName = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var request = new global::LangSmith.UpdateRunRequest
Expand All @@ -170,6 +174,8 @@ partial void ProcessUpdateRunResponseContent(
Extra = extra,
InputAttachments = inputAttachments,
OutputAttachments = outputAttachments,
SessionId = sessionId,
SessionName = sessionName,
};

return await UpdateRunAsync(
Expand Down
9 changes: 9 additions & 0 deletions src/libs/LangSmith/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20178,6 +20178,15 @@ components:
oneOf:
- type: object
- type: 'null'
session_id:
oneOf:
- type: string
format: uuid
- type: 'null'
session_name:
oneOf:
- type: string
- type: 'null'
securitySchemes:
ApiKey:
type: apiKey
Expand Down

0 comments on commit 5973b19

Please sign in to comment.