| Package | Description |
|---|---|
| ai.z.openapi.api.agents | |
| ai.z.openapi.service.agents |
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<okhttp3.ResponseBody> |
AgentsApi.agentsCompletionStream(AgentsCompletionRequest request)
Create a streaming agent completion with GLM-4 All Tools Returns agent responses in
real-time through Server-Sent Events (SSE) Automatically selects and calls
appropriate tools (web search, code execution, image generation)
|
io.reactivex.rxjava3.core.Single<ModelData> |
AgentsApi.agentsCompletionSync(AgentsCompletionRequest request)
Create a synchronous agent completion with GLM-4 All Tools Waits for the agent to
complete complex task execution and returns the final result Supports automatic
tool selection including CogView3 image generation, Python code interpreter, and
web browsing
|
| Modifier and Type | Method and Description |
|---|---|
ChatCompletionResponse |
AgentService.createAgentCompletion(AgentsCompletionRequest request)
Creates an agent completion, either streaming or non-streaming based on the request
configuration.
|
ChatCompletionResponse |
AgentServiceImpl.createAgentCompletion(AgentsCompletionRequest request) |
Copyright © 2025. All rights reserved.