public class AgentServiceImpl extends Object implements AgentService
| Constructor and Description |
|---|
AgentServiceImpl(AbstractAiClient zAiClient) |
| Modifier and Type | Method and Description |
|---|---|
ChatCompletionResponse |
createAgentCompletion(AgentsCompletionRequest request)
Creates an agent completion, either streaming or non-streaming based on the request
configuration.
|
io.reactivex.rxjava3.core.Single<ModelData> |
retrieveAgentAsyncResult(AgentAsyncResultRetrieveParams request)
Retrieves the result of an asynchronous agent operation.
|
public AgentServiceImpl(AbstractAiClient zAiClient)
public ChatCompletionResponse createAgentCompletion(AgentsCompletionRequest request)
AgentServicecreateAgentCompletion in interface AgentServicerequest - the agents completion requestpublic io.reactivex.rxjava3.core.Single<ModelData> retrieveAgentAsyncResult(AgentAsyncResultRetrieveParams request)
AgentServiceretrieveAgentAsyncResult in interface AgentServicerequest - the query request for the async agent resultCopyright © 2025. All rights reserved.