mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-07 01:08:58 +00:00
fix(docs): locale markdown issues
This commit is contained in:
@@ -50,11 +50,10 @@ OPENCODE_SERVER_PASSWORD=your-password opencode serve
|
||||
サーバーと通信するクライアント。サーバーは OpenAPI 3.1 仕様を公開します
|
||||
終点。このエンドポイントは、[SDK](/docs/sdk).
|
||||
|
||||
:::ヒント
|
||||
:::tip
|
||||
opencode サーバーを使用して、プログラムで opencode と対話します。
|
||||
:::
|
||||
|
||||
このアーキテクチャにより、オープンコードで複数のクライアントをサポートできるようになり、プログラムでオープンコードと対話できるようになります。
|
||||
This
|
||||
|
||||
`opencode serve` を実行してスタンドアロン サーバーを起動できます。持っている場合は、
|
||||
opencode TUI を実行すると、`opencode serve` が新しいサーバーを起動します。
|
||||
@@ -274,9 +273,9 @@ opencode サーバーは次の API を公開します。
|
||||
|
||||
### イベント
|
||||
|
||||
| 方法 | パス | 説明 | 応答 |
|
||||
| ----- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ---- |
|
||||
| `GET` | `/event` | サーバーから送信されたイベント ストリーム。最初のイベントは `server.connected` で、次にバス イベントです。サーバー送信イベント ストリーム |
|
||||
| Method | Path | Description | Response |
|
||||
| ------ | -------- | ----------------------------------------------------------------------------- | ------------------------- |
|
||||
| `GET` | `/event` | Server-sent events stream. First event is `server.connected`, then bus events | Server-sent events stream |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user