feat(api): api update

This commit is contained in:
stainless-app[bot] 2025-07-16 15:07:40 +00:00
parent 36382a289b
commit d899ee8369
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
configured_endpoints: 22 configured_endpoints: 22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-d7030c3ddac483f2b8f15e10f2539f77fc440226bbf061526956288c0e0f19fb.yml openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-8792f91dd070f7b4ee671fc86e8a03976dc7fb6ee49f8c99ad989e1597003774.yml
openapi_spec_hash: d10e62f301799142aeeb9378611f7424 openapi_spec_hash: fe9dc3a074be560de0b97df9b5af2c1b
config_hash: 2a888f284ea87b2dfdb7e548938a55ea config_hash: 2a888f284ea87b2dfdb7e548938a55ea

View file

@ -153,6 +153,7 @@ class Config(BaseModel):
"""MCP (Model Context Protocol) server configurations""" """MCP (Model Context Protocol) server configurations"""
mode: Optional[Mode] = None mode: Optional[Mode] = None
"""Modes configuration, see https://opencode.ai/docs/modes"""
model: Optional[str] = None model: Optional[str] = None
"""Model to use in the format of provider/model, eg anthropic/claude-2""" """Model to use in the format of provider/model, eg anthropic/claude-2"""