From d899ee83698acf96170f39d4181b90ad648e8a0e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 16 Jul 2025 15:07:40 +0000 Subject: [PATCH] feat(api): api update --- .stats.yml | 4 ++-- src/opencode_ai/types/config.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8795faa..011dd2c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 22 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-d7030c3ddac483f2b8f15e10f2539f77fc440226bbf061526956288c0e0f19fb.yml -openapi_spec_hash: d10e62f301799142aeeb9378611f7424 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-8792f91dd070f7b4ee671fc86e8a03976dc7fb6ee49f8c99ad989e1597003774.yml +openapi_spec_hash: fe9dc3a074be560de0b97df9b5af2c1b config_hash: 2a888f284ea87b2dfdb7e548938a55ea diff --git a/src/opencode_ai/types/config.py b/src/opencode_ai/types/config.py index 5a8f95f..bb33dfb 100644 --- a/src/opencode_ai/types/config.py +++ b/src/opencode_ai/types/config.py @@ -153,6 +153,7 @@ class Config(BaseModel): """MCP (Model Context Protocol) server configurations""" mode: Optional[Mode] = None + """Modes configuration, see https://opencode.ai/docs/modes""" model: Optional[str] = None """Model to use in the format of provider/model, eg anthropic/claude-2"""