Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/libs/Dust/Generated/Dust.Models.Context.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ public sealed partial class Context
[global::System.Text.Json.Serialization.JsonPropertyName("excludedRetrievalTags")]
public global::System.Collections.Generic.IList<string>? ExcludedRetrievalTags { get; set; }

/// <summary>
/// What the user had selected in the app hosting Dust when sending the message, e.g. `Sheet1!C5:D6` in Excel. Stored with the message and shown to the agent in that message's metadata.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("hostSelection")]
public string? HostSelection { get; set; }

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -101,6 +107,9 @@ public sealed partial class Context
/// <param name="excludedRetrievalTags">
/// Data source tags to exclude from retrieval for this run, as opaque `key:value` strings.
/// </param>
/// <param name="hostSelection">
/// What the user had selected in the app hosting Dust when sending the message, e.g. `Sheet1!C5:D6` in Excel. Stored with the message and shown to the agent in that message's metadata.
/// </param>
/// <param name="agenticMessageData"></param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
Expand All @@ -113,6 +122,7 @@ public Context(
string? profilePictureUrl,
global::System.Collections.Generic.IList<string>? selectedSpaceIds,
global::System.Collections.Generic.IList<string>? excludedRetrievalTags,
string? hostSelection,
global::Dust.ContextAgenticMessageData? agenticMessageData)
{
this.Username = username ?? throw new global::System.ArgumentNullException(nameof(username));
Expand All @@ -122,6 +132,7 @@ public Context(
this.ProfilePictureUrl = profilePictureUrl;
this.SelectedSpaceIds = selectedSpaceIds;
this.ExcludedRetrievalTags = excludedRetrievalTags;
this.HostSelection = hostSelection;
this.AgenticMessageData = agenticMessageData;
}

Expand Down
5 changes: 5 additions & 0 deletions src/libs/Dust/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6850,6 +6850,11 @@
"type": "string"
}
},
"hostSelection": {
"type": "string",
"nullable": true,
"description": "What the user had selected in the app hosting Dust when sending the message, e.g. `Sheet1!C5:D6` in Excel. Stored with the message and shown to the agent in that message's metadata."
},
"agenticMessageData": {
"type": "object",
"properties": {
Expand Down
Loading