ProjectsAgentsModelFactory.SessionConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Session defaults applied to sessions created for a hosted agent version.
public static Azure.AI.Projects.Agents.SessionConfiguration SessionConfiguration(TimeSpan? idleTimeoutSeconds = default);
static member SessionConfiguration : Nullable<TimeSpan> -> Azure.AI.Projects.Agents.SessionConfiguration
Public Shared Function SessionConfiguration (Optional idleTimeoutSeconds As Nullable(Of TimeSpan) = Nothing) As SessionConfiguration
Parameters
The idle duration, in seconds, before a session's sandbox is suspended. When omitted, the server defaults to 900 seconds. Must be between 120 and 14400 seconds (4 hours).
Returns
A new SessionConfiguration instance for mocking.