AgentBuilder.WithHttpClient(HttpClient) 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.
Provide an httpclient (optional).
public Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder WithHttpClient (System.Net.Http.HttpClient httpClient);
member this.WithHttpClient : System.Net.Http.HttpClient -> Microsoft.SemanticKernel.Experimental.Agents.AgentBuilder
Public Function WithHttpClient (httpClient As HttpClient) As AgentBuilder
Parameters
- httpClient
- HttpClient
Returns
AgentBuilder instance for fluid expression.