ProjectsAgentsModelFactory.CodeConfiguration 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.
Code-based deployment configuration for a hosted agent.
public static Azure.AI.Projects.Agents.CodeConfiguration CodeConfiguration(string runtime = default, System.Collections.Generic.IEnumerable<string> entryPoint = default);
static member CodeConfiguration : string * seq<string> -> Azure.AI.Projects.Agents.CodeConfiguration
Public Shared Function CodeConfiguration (Optional runtime As String = Nothing, Optional entryPoint As IEnumerable(Of String) = Nothing) As CodeConfiguration
Parameters
- runtime
- String
The runtime identifier for code execution (e.g., 'python_3_11', 'python_3_12', 'python_3_13').
- entryPoint
- IEnumerable<String>
The entry point command and arguments for the code execution.
Returns
A new CodeConfiguration instance for mocking.