| Package | Description |
|---|---|
| io.github.easy4j.opencode | |
| io.github.easy4j.opencode.api |
| Modifier and Type | Method and Description |
|---|---|
OpenCodeSseClient |
OpenCodeClient.sse()
获取统一的 OpenCode SSE 场景客户端。
|
| Constructor and Description |
|---|
OpenCodeClient(OpenCodeClientConfig config,
OpenCodeHttpClient httpClient,
OpenCodeSseClient sseClient,
OpenCodeCli cli)
全量依赖注入(用于测试或自定义组件)。
|
| Constructor and Description |
|---|
OpenCodeChatClient(OpenCodeHttpClientConfig config,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
okhttp3.OkHttpClient httpClient,
OpenCodeSseClient sseClient)
创建 open code chat client 实例,并按传入依赖确定资源所有权。
|
Copyright © 2026. All rights reserved.