mirror of
https://github.com/anomalyco/opencode-sdk-go.git
synced 2026-04-28 04:29:49 +00:00
feat(api): update via SDK Studio
This commit is contained in:
parent
9c14898343
commit
9609d1b1db
3 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue