-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1219 from solliancenet/jdh-long-running-ux
Long-running agent requests from the User Portal & Core API updates
- Loading branch information
Showing
19 changed files
with
319 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
src/dotnet/Common/Models/Orchestration/LongRunningOperation.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using System.Text.Json.Serialization; | ||
|
||
namespace FoundationaLLM.Common.Models.Orchestration | ||
{ | ||
/// <summary> | ||
/// Represents the current state of a long-running operation. | ||
/// </summary> | ||
public class LongRunningOperation | ||
{ | ||
/// <summary> | ||
/// The identifier of the long-running operation. | ||
/// </summary> | ||
[JsonPropertyName("operation_id")] | ||
public required string OperationId { get; set; } | ||
|
||
/// <summary> | ||
/// The status of the long-running operation. | ||
/// </summary> | ||
[JsonPropertyName("status")] | ||
public required OperationStatus Status { get; set; } | ||
|
||
/// <summary> | ||
/// The message describing the current state of the operation. | ||
/// </summary> | ||
[JsonPropertyName("status_message")] | ||
public string? StatusMessage { get; set; } | ||
|
||
/// <summary> | ||
/// The time stamp of the last update to the operation. | ||
/// </summary> | ||
[JsonPropertyName("last_updated")] | ||
public DateTime? LastUpdated { get; set; } | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.