类的使用
io.agentscope.core.model.DashScopeHttpClient.Builder
-
io.agentscope.core.model中DashScopeHttpClient.Builder的使用
修饰符和类型方法说明Set the API key.Set the base URL.static DashScopeHttpClient.BuilderDashScopeHttpClient.builder()Create a new builder for DashScopeHttpClient.Set the RSA public key for encryption (Base64-encoded).DashScopeHttpClient.Builder.publicKeyId(String publicKeyId) Set the RSA public key ID for encryption.DashScopeHttpClient.Builder.transport(HttpTransport transport) Set the HTTP transport.