feat(api): update via SDK Studio

This commit is contained in:
stainless-app[bot] 2025-06-27 17:32:40 +00:00
parent 9c14898343
commit 9609d1b1db
3 changed files with 2 additions and 5 deletions

View file

@ -1,4 +1,4 @@
configured_endpoints: 16
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-129afed79c2ff0ae5f660a17af692c0f716b0d61ce62700f107c1d905346793e.yml
openapi_spec_hash: 4bc73b4bfb67367575ac7b582b77d912
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/opencode%2Fopencode-42c787cc277f295f28cd81a67f7b746cb4d47c3cd4c8a3fb521b03407649ebdd.yml
openapi_spec_hash: 8f514f7881cf54e0aa65a23366df1af0
config_hash: 61e8ad6b1bd35aec38a7b20a2570b967

View file

@ -1330,8 +1330,6 @@ type SessionChatParams struct {
ModelID param.Field[string] `json:"modelID,required"`
Parts param.Field[[]MessagePartUnionParam] `json:"parts,required"`
ProviderID param.Field[string] `json:"providerID,required"`
// Session ID
SessionID param.Field[string] `json:"sessionID,required"`
}
func (r SessionChatParams) MarshalJSON() (data []byte, err error) {

View file

@ -123,7 +123,6 @@ func TestSessionChat(t *testing.T) {
Type: opencode.F(opencode.TextPartTypeText),
}}),
ProviderID: opencode.F("providerID"),
SessionID: opencode.F("sessionID"),
},
)
if err != nil {