mirror of
https://github.com/anomalyco/opencode-sdk-python.git
synced 2026-05-18 06:22:29 +00:00
feat(api): update via SDK Studio
This commit is contained in:
parent
4169cc336f
commit
06a27a0271
2 changed files with 5 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
configured_endpoints: 16
|
||||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-3c79948402e96d2aae6e46095db2cf80759750d1b042d6f91281a72c415b14de.yml
|
||||
openapi_spec_hash: f9c2fc5988f0a30397929995c2be2c85
|
||||
config_hash: c32ba723bbae0ee253dac6d60357cc05
|
||||
config_hash: a588d4012d27a0d7894c151f8a032e15
|
||||
|
|
|
|||
11
README.md
11
README.md
|
|
@ -15,13 +15,10 @@ The REST API documentation can be found on [opencode.ai](https://opencode.ai/doc
|
|||
## Installation
|
||||
|
||||
```sh
|
||||
# install from the production repo
|
||||
pip install git+ssh://git@github.com/sst/opencode-sdk-python.git
|
||||
# install from PyPI
|
||||
pip install --pre opencode
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> Once this package is [published to PyPI](https://www.stainless.com/docs/guides/publish), this will become: `pip install --pre opencode`
|
||||
|
||||
## Usage
|
||||
|
||||
The full API of this library can be found in [api.md](api.md).
|
||||
|
|
@ -61,8 +58,8 @@ By default, the async client uses `httpx` for HTTP requests. However, for improv
|
|||
You can enable this by installing `aiohttp`:
|
||||
|
||||
```sh
|
||||
# install from the production repo
|
||||
pip install 'opencode[aiohttp] @ git+ssh://git@github.com/sst/opencode-sdk-python.git'
|
||||
# install from PyPI
|
||||
pip install --pre opencode[aiohttp]
|
||||
```
|
||||
|
||||
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue