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
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,11 @@ partial void ProcessCreateResponseContent(
/// <param name="amd">
/// AMD routing config. Optional on create; omitted means AMD off. See AMDConfig schema.
/// </param>
/// <param name="maxFilesPerConversation">
/// How many files a person may hand one conversation on this agent.<br/>
/// Omit or null for the platform default of 10; 0 accepts no files.<br/>
/// See the field on Agent.
/// </param>
/// <param name="maxCallDurationSeconds">
/// Hard cap on the wall-clock length of a single call on this<br/>
/// agent, in seconds. When a call reaches it the agent ends the<br/>
Expand Down Expand Up @@ -707,6 +712,7 @@ partial void ProcessCreateResponseContent(
string? webhookUrl = default,
string? webhookSecret = default,
global::Speechify.AMDConfig? amd = default,
int? maxFilesPerConversation = default,
int? maxCallDurationSeconds = default,
bool? saveAudioRecording = default,
global::Speechify.AIDisclosure? aiDisclosure = default,
Expand Down Expand Up @@ -738,6 +744,7 @@ partial void ProcessCreateResponseContent(
WebhookUrl = webhookUrl,
WebhookSecret = webhookSecret,
Amd = amd,
MaxFilesPerConversation = maxFilesPerConversation,
MaxCallDurationSeconds = maxCallDurationSeconds,
SaveAudioRecording = saveAudioRecording,
AiDisclosure = aiDisclosure,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,12 @@ partial void ProcessUpdateResponseContent(
/// <param name="amd">
/// AMD routing config (PATCH-replace, wholesale). Omit to leave the stored config unchanged.
/// </param>
/// <param name="maxFilesPerConversation">
/// How many files a person may hand one conversation on this agent.<br/>
/// An explicit null resets it to the platform default of 10 - unlike<br/>
/// the caps above, 0 is a real setting here (accept no files), so it<br/>
/// cannot double as the clear. Omit to leave it unchanged.
/// </param>
/// <param name="maxCallDurationSeconds">
/// Hard cap on the wall-clock length of a single call on this<br/>
/// agent, in seconds. When a call reaches it the agent ends the<br/>
Expand Down Expand Up @@ -727,6 +733,7 @@ partial void ProcessUpdateResponseContent(
string? webhookUrl = default,
string? webhookSecret = default,
global::Speechify.AMDConfig? amd = default,
int? maxFilesPerConversation = default,
int? maxCallDurationSeconds = default,
bool? saveAudioRecording = default,
global::Speechify.AIDisclosure? aiDisclosure = default,
Expand Down Expand Up @@ -757,6 +764,7 @@ partial void ProcessUpdateResponseContent(
WebhookUrl = webhookUrl,
WebhookSecret = webhookSecret,
Amd = amd,
MaxFilesPerConversation = maxFilesPerConversation,
MaxCallDurationSeconds = maxCallDurationSeconds,
SaveAudioRecording = saveAudioRecording,
AiDisclosure = aiDisclosure,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ public partial interface IAgentClient
/// <param name="amd">
/// AMD routing config. Optional on create; omitted means AMD off. See AMDConfig schema.
/// </param>
/// <param name="maxFilesPerConversation">
/// How many files a person may hand one conversation on this agent.<br/>
/// Omit or null for the platform default of 10; 0 accepts no files.<br/>
/// See the field on Agent.
/// </param>
/// <param name="maxCallDurationSeconds">
/// Hard cap on the wall-clock length of a single call on this<br/>
/// agent, in seconds. When a call reaches it the agent ends the<br/>
Expand Down Expand Up @@ -182,6 +187,7 @@ public partial interface IAgentClient
string? webhookUrl = default,
string? webhookSecret = default,
global::Speechify.AMDConfig? amd = default,
int? maxFilesPerConversation = default,
int? maxCallDurationSeconds = default,
bool? saveAudioRecording = default,
global::Speechify.AIDisclosure? aiDisclosure = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ public partial interface IAgentClient
/// <param name="amd">
/// AMD routing config (PATCH-replace, wholesale). Omit to leave the stored config unchanged.
/// </param>
/// <param name="maxFilesPerConversation">
/// How many files a person may hand one conversation on this agent.<br/>
/// An explicit null resets it to the platform default of 10 - unlike<br/>
/// the caps above, 0 is a real setting here (accept no files), so it<br/>
/// cannot double as the clear. Omit to leave it unchanged.
/// </param>
/// <param name="maxCallDurationSeconds">
/// Hard cap on the wall-clock length of a single call on this<br/>
/// agent, in seconds. When a call reaches it the agent ends the<br/>
Expand Down Expand Up @@ -160,6 +166,7 @@ public partial interface IAgentClient
string? webhookUrl = default,
string? webhookSecret = default,
global::Speechify.AMDConfig? amd = default,
int? maxFilesPerConversation = default,
int? maxCallDurationSeconds = default,
bool? saveAudioRecording = default,
global::Speechify.AIDisclosure? aiDisclosure = default,
Expand Down
27 changes: 27 additions & 0 deletions src/libs/Speechify/Generated/Speechify.Models.Agent.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,20 @@ public sealed partial class Agent
[global::System.Text.Json.Serialization.JsonRequired]
public required global::Speechify.AMDConfig Amd { get; set; }

/// <summary>
/// How many files a person may hand ONE conversation on this agent -<br/>
/// a picture pasted into a Slack thread, a document dropped in a<br/>
/// direct message. It bounds the THREAD rather than any single<br/>
/// message: files live in your workspace file drop for a fortnight,<br/>
/// and a long-running conversation is where they accumulate.<br/>
/// Null means the platform default of 10. 0 means this agent accepts<br/>
/// no files at all. When a conversation is full the file is not<br/>
/// stored and the agent is told so, naming the cap, so it can say<br/>
/// what would work.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("max_files_per_conversation")]
public int? MaxFilesPerConversation { get; set; }

/// <summary>
/// Hard cap on the wall-clock length of a single call on this<br/>
/// agent, in seconds. When a call reaches it the agent ends the<br/>
Expand Down Expand Up @@ -403,6 +417,17 @@ public sealed partial class Agent
/// secret itself is write-only — supplied on PATCH and never<br/>
/// echoed back on reads.
/// </param>
/// <param name="maxFilesPerConversation">
/// How many files a person may hand ONE conversation on this agent -<br/>
/// a picture pasted into a Slack thread, a document dropped in a<br/>
/// direct message. It bounds the THREAD rather than any single<br/>
/// message: files live in your workspace file drop for a fortnight,<br/>
/// and a long-running conversation is where they accumulate.<br/>
/// Null means the platform default of 10. 0 means this agent accepts<br/>
/// no files at all. When a conversation is full the file is not<br/>
/// stored and the agent is told so, naming the cap, so it can say<br/>
/// what would work.
/// </param>
/// <param name="maxCallDurationSeconds">
/// Hard cap on the wall-clock length of a single call on this<br/>
/// agent, in seconds. When a call reaches it the agent ends the<br/>
Expand Down Expand Up @@ -446,6 +471,7 @@ public Agent(
global::System.Collections.Generic.IList<string>? hostnameAllowlist,
string? webhookUrl,
bool? webhookSecretSet,
int? maxFilesPerConversation,
int? maxCallDurationSeconds,
string? projectId)
{
Expand All @@ -472,6 +498,7 @@ public Agent(
this.WebhookUrl = webhookUrl;
this.WebhookSecretSet = webhookSecretSet;
this.Amd = amd ?? throw new global::System.ArgumentNullException(nameof(amd));
this.MaxFilesPerConversation = maxFilesPerConversation;
this.MaxCallDurationSeconds = maxCallDurationSeconds;
this.SaveAudioRecording = saveAudioRecording;
this.ProjectId = projectId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,29 @@ public sealed partial class BuiltinToolConfig
/// quietly shortened.<br/>
/// Transferring into a queue usually needs longer than 30 seconds,<br/>
/// because the queue's own rollover never gets the chance to fire.<br/>
/// `play_audio` takes `audio_asset_id`.
/// `play_audio` takes `audio_asset_id`.<br/>
/// `run_code` describes the machine the run's sandbox boots. All five<br/>
/// keys are optional, and with none of them set the run gets the<br/>
/// platform default: a scratch filesystem on the vendor's base image<br/>
/// that reaches nothing. `image` is the base image reference<br/>
/// (`registry/name[:tag][@sha256:...]`); a tag is not re-resolved, so<br/>
/// moving to a different tag rebuilds the workspace while repushing<br/>
/// the same tag does not, and a digest pin is what makes that<br/>
/// distinction go away. `setup_command` runs once on a cold boot and<br/>
/// must be idempotent, because a rebuild can happen at any phase<br/>
/// boundary. `work_dir` is the working directory for that command and<br/>
/// for any call that names none, and must be absolute. `env` is<br/>
/// non-secret configuration; a key whose name looks like a credential<br/>
/// (`token`, `secret`, `api_key`, ...) is refused, because no<br/>
/// credential may enter a sandbox. `allowed_domains` is the exact set<br/>
/// of hostnames the sandbox may reach, and everything else is blocked;<br/>
/// wildcards are refused, since `*.example.com` admits every subdomain<br/>
/// anyone can register and does not even cover the apex. Use it to let<br/>
/// a program reach hosts you operate or depend on - a package<br/>
/// registry, your device farm, your own API. A private image is not<br/>
/// supported: pulling one needs a registry credential, so install<br/>
/// private dependencies in `setup_command` from a host on your own<br/>
/// allowlist instead.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("builtin_config")]
public object? BuiltinConfig { get; set; }
Expand Down Expand Up @@ -121,7 +143,29 @@ public sealed partial class BuiltinToolConfig
/// quietly shortened.<br/>
/// Transferring into a queue usually needs longer than 30 seconds,<br/>
/// because the queue's own rollover never gets the chance to fire.<br/>
/// `play_audio` takes `audio_asset_id`.
/// `play_audio` takes `audio_asset_id`.<br/>
/// `run_code` describes the machine the run's sandbox boots. All five<br/>
/// keys are optional, and with none of them set the run gets the<br/>
/// platform default: a scratch filesystem on the vendor's base image<br/>
/// that reaches nothing. `image` is the base image reference<br/>
/// (`registry/name[:tag][@sha256:...]`); a tag is not re-resolved, so<br/>
/// moving to a different tag rebuilds the workspace while repushing<br/>
/// the same tag does not, and a digest pin is what makes that<br/>
/// distinction go away. `setup_command` runs once on a cold boot and<br/>
/// must be idempotent, because a rebuild can happen at any phase<br/>
/// boundary. `work_dir` is the working directory for that command and<br/>
/// for any call that names none, and must be absolute. `env` is<br/>
/// non-secret configuration; a key whose name looks like a credential<br/>
/// (`token`, `secret`, `api_key`, ...) is refused, because no<br/>
/// credential may enter a sandbox. `allowed_domains` is the exact set<br/>
/// of hostnames the sandbox may reach, and everything else is blocked;<br/>
/// wildcards are refused, since `*.example.com` admits every subdomain<br/>
/// anyone can register and does not even cover the apex. Use it to let<br/>
/// a program reach hosts you operate or depend on - a package<br/>
/// registry, your device farm, your own API. A private image is not<br/>
/// supported: pulling one needs a registry credential, so install<br/>
/// private dependencies in `setup_command` from a host on your own<br/>
/// allowlist instead.
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,29 @@ namespace Speechify
/// quietly shortened.<br/>
/// Transferring into a queue usually needs longer than 30 seconds,<br/>
/// because the queue's own rollover never gets the chance to fire.<br/>
/// `play_audio` takes `audio_asset_id`.
/// `play_audio` takes `audio_asset_id`.<br/>
/// `run_code` describes the machine the run's sandbox boots. All five<br/>
/// keys are optional, and with none of them set the run gets the<br/>
/// platform default: a scratch filesystem on the vendor's base image<br/>
/// that reaches nothing. `image` is the base image reference<br/>
/// (`registry/name[:tag][@sha256:...]`); a tag is not re-resolved, so<br/>
/// moving to a different tag rebuilds the workspace while repushing<br/>
/// the same tag does not, and a digest pin is what makes that<br/>
/// distinction go away. `setup_command` runs once on a cold boot and<br/>
/// must be idempotent, because a rebuild can happen at any phase<br/>
/// boundary. `work_dir` is the working directory for that command and<br/>
/// for any call that names none, and must be absolute. `env` is<br/>
/// non-secret configuration; a key whose name looks like a credential<br/>
/// (`token`, `secret`, `api_key`, ...) is refused, because no<br/>
/// credential may enter a sandbox. `allowed_domains` is the exact set<br/>
/// of hostnames the sandbox may reach, and everything else is blocked;<br/>
/// wildcards are refused, since `*.example.com` admits every subdomain<br/>
/// anyone can register and does not even cover the apex. Use it to let<br/>
/// a program reach hosts you operate or depend on - a package<br/>
/// registry, your device farm, your own API. A private image is not<br/>
/// supported: pulling one needs a registry credential, so install<br/>
/// private dependencies in `setup_command` from a host on your own<br/>
/// allowlist instead.
/// </summary>
public sealed partial class BuiltinToolConfigBuiltinConfig
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,14 @@ public sealed partial class CreateAgentRequest
[global::System.Text.Json.Serialization.JsonPropertyName("amd")]
public global::Speechify.AMDConfig? Amd { get; set; }

/// <summary>
/// How many files a person may hand one conversation on this agent.<br/>
/// Omit or null for the platform default of 10; 0 accepts no files.<br/>
/// See the field on Agent.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("max_files_per_conversation")]
public int? MaxFilesPerConversation { get; set; }

/// <summary>
/// Hard cap on the wall-clock length of a single call on this<br/>
/// agent, in seconds. When a call reaches it the agent ends the<br/>
Expand Down Expand Up @@ -289,6 +297,11 @@ public sealed partial class CreateAgentRequest
/// <param name="amd">
/// AMD routing config. Optional on create; omitted means AMD off. See AMDConfig schema.
/// </param>
/// <param name="maxFilesPerConversation">
/// How many files a person may hand one conversation on this agent.<br/>
/// Omit or null for the platform default of 10; 0 accepts no files.<br/>
/// See the field on Agent.
/// </param>
/// <param name="maxCallDurationSeconds">
/// Hard cap on the wall-clock length of a single call on this<br/>
/// agent, in seconds. When a call reaches it the agent ends the<br/>
Expand Down Expand Up @@ -330,6 +343,7 @@ public CreateAgentRequest(
string? webhookUrl,
string? webhookSecret,
global::Speechify.AMDConfig? amd,
int? maxFilesPerConversation,
int? maxCallDurationSeconds,
bool? saveAudioRecording,
global::Speechify.AIDisclosure? aiDisclosure)
Expand Down Expand Up @@ -357,6 +371,7 @@ public CreateAgentRequest(
this.WebhookUrl = webhookUrl;
this.WebhookSecret = webhookSecret;
this.Amd = amd;
this.MaxFilesPerConversation = maxFilesPerConversation;
this.MaxCallDurationSeconds = maxCallDurationSeconds;
this.SaveAudioRecording = saveAudioRecording;
this.AiDisclosure = aiDisclosure;
Expand Down
Loading