| Package | Description |
|---|---|
| ai.z.openapi | |
| ai.z.openapi.core.token | |
| ai.z.openapi.utils |
| Modifier and Type | Field and Description |
|---|---|
protected ZaiConfig |
AbstractAiClient.AbstractBuilder.config
Configuration object that accumulates all builder settings
|
| Constructor and Description |
|---|
AbstractAiClient(ZaiConfig config,
String baseUrl)
Constructs a new AbstractAiClient with the specified configuration.
|
ZaiClient(ZaiConfig config)
Constructs a new ZaiClient with the specified configuration.
|
ZhipuAiClient(ZaiConfig config)
Constructs a new ZhipuAiClient with the specified configuration.
|
| Modifier and Type | Method and Description |
|---|---|
String |
TokenManager.getToken(ZaiConfig config)
Gets valid JWT token, either from cache or generates new one.
|
| Constructor and Description |
|---|
HttpRequestInterceptor(ZaiConfig config) |
| Modifier and Type | Method and Description |
|---|---|
static okhttp3.OkHttpClient |
OkHttps.create(ZaiConfig config)
Creates a configured OkHttpClient instance based on the provided configuration.
|
Copyright © 2025. All rights reserved.